Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14024

ImportTsv is not loading hbase-default.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • mapreduce
    • None
    • Reviewed

    Description

      ImportTsv job is failing with below exception

      Exception in thread "main" java.lang.IllegalArgumentException: Can not create a Path from a null string
      	at org.apache.hadoop.fs.Path.checkPathArg(Path.java:123)
      	at org.apache.hadoop.fs.Path.<init>(Path.java:135)
      	at org.apache.hadoop.fs.Path.<init>(Path.java:89)
      	at org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.configurePartitioner(HFileOutputFormat2.java:591)
      	at org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.configureIncrementalLoad(HFileOutputFormat2.java:441)
      	at org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.configureIncrementalLoad(HFileOutputFormat2.java:406)
      	at org.apache.hadoop.hbase.mapreduce.ImportTsv.createSubmittableJob(ImportTsv.java:555)
      	at org.apache.hadoop.hbase.mapreduce.ImportTsv.run(ImportTsv.java:763)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      	at org.apache.hadoop.hbase.mapreduce.ImportTsv.main(ImportTsv.java:772)
      

      hbase.fs.tmp.dir is set to a default value in hbase-default.xml.
      I found that hbase configuration resources from its xml are not loaded into conf object.

      Attachments

        1. HBASE-14024.patch
          3 kB
          Ashish Singhi
        2. HBASE-14024(1).patch
          3 kB
          Ashish Singhi
        3. HBASE-14024(2) .patch
          3 kB
          Ashish Singhi

        Issue Links

          Activity

            People

              ashish singhi Ashish Singhi
              ashish singhi Ashish Singhi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: