hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Surendra Singh Lilhore (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11849) JournalNode startup failure exception should be logged in log file
Date Thu, 18 May 2017 11:32:04 GMT
Surendra Singh Lilhore created HDFS-11849:
---------------------------------------------

             Summary: 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


JournalNode failed to start because of kerberos login. 
{noformat}
Exception in thread "main" java.io.IOException: Login failure for xxx/yyyy@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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Mime
View raw message