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

Fix null pointer error in Globber when FS was not constructed via FileSystem#createFileSystem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha1
    • tracing
    • None

    Description

      Saw this where an hbase that has not been updated to htrace-4.0.1 was trying to start:

      Oct 1, 5:12:11.861 AM FATAL org.apache.hadoop.hbase.master.HMaster
      Failed to become active master
      java.lang.NullPointerException
      at org.apache.hadoop.fs.Globber.glob(Globber.java:145)
      at org.apache.hadoop.fs.FileSystem.globStatus(FileSystem.java:1634)
      at org.apache.hadoop.hbase.util.FSUtils.getTableDirs(FSUtils.java:1372)
      at org.apache.hadoop.hbase.util.FSTableDescriptors.getAll(FSTableDescriptors.java:206)
      at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:619)
      at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:169)
      at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1481)
      at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        1. HDFS-9187.003.patch
          3 kB
          Colin McCabe
        2. HDFS-9187.002.patch
          4 kB
          Colin McCabe
        3. HDFS-9187.001.patch
          0.6 kB
          Masatake Iwasaki

        Issue Links

          Activity

            People

              cmccabe Colin McCabe
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: