[ https://issues.apache.org/jira/browse/HDFS-11849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16017305#comment-16017305 ]
Vinayakumar B commented on HDFS-11849: -------------------------------------- +1 > JournalNode startup failure exception should be logged in log file > ------------------------------------------------------------------ > > Key: HDFS-11849 > URL: https://issues.apache.org/jira/browse/HDFS-11849 > Project: Hadoop HDFS > Issue Type: Bug > Components: journal-node > Affects Versions: 2.7.0 > Reporter: Surendra Singh Lilhore > Assignee: Surendra Singh Lilhore > Attachments: HDFS-11849-001.patch > > > JournalNode failed to start because of kerberos login. > {noformat} > Exception in thread "main" java.io.IOException: Login failure for > xxx/y...@zzzz.com from keytab dummy.keytab: > javax.security.auth.login.LoginException: host1 > at > org.apache.hadoop.security.UserGroupInformation.loginUserFromKeytab(UserGroupInformation.java:994) > at > org.apache.hadoop.security.SecurityUtil.login(SecurityUtil.java:281) > at > org.apache.hadoop.hdfs.qjournal.server.JournalNode.start(JournalNode.java:153) > at > org.apache.hadoop.hdfs.qjournal.server.JournalNode.run(JournalNode.java:132) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) > at > org.apache.hadoop.hdfs.qjournal.server.JournalNode.main(JournalNode.java:318) > {noformat} > but this exception is not written in log file. > {noformat} > STARTUP_MSG: java = 1.x.x > ************************************************************/ > 2017-05-18 16:08:14,961 INFO > org.apache.hadoop.hdfs.qjournal.server.JournalNode: registered UNIX signal > handlers for [TERM, HUP, INT] > 2017-05-18 16:08:15,511 INFO org.apache.hadoop.metrics2.impl.MetricsConfig: > loaded properties from hadoop-metrics2.properties > 2017-05-18 16:08:15,660 INFO > org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Scheduled snapshot period > at 10 second(s). > 2017-05-18 16:08:15,660 INFO > org.apache.hadoop.metrics2.impl.MetricsSystemImpl: JournalNode metrics system > started > 2017-05-18 16:08:16,429 INFO > org.apache.hadoop.hdfs.qjournal.server.JournalNode: SHUTDOWN_MSG: > /************************************************************ > SHUTDOWN_MSG: Shutting down JournalNode at w-x-y-z > ************************************************************/ > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org