Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11849

JournalNode startup failure exception should be logged in log file

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      JournalNode failed to start because of kerberos login.

      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)
      

      but this exception is not written in log file.

      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
      ************************************************************/
      

      Attachments

        1. HDFS-11849-001.patch
          1.0 kB
          Surendra Singh Lilhore
        2. HDFS-11849-002.patch
          1 kB
          Surendra Singh Lilhore

        Activity

          People

            surendralilhore Surendra Singh Lilhore
            surendralilhore Surendra Singh Lilhore
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: