You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ashish Singhi (JIRA)" <ji...@apache.org> on 2015/07/04 20:44:05 UTC

[jira] [Created] (HBASE-14024) ImportTsv is not loading hbase-default.xml

Ashish Singhi created HBASE-14024:
-------------------------------------

             Summary: ImportTsv is not loading hbase-default.xml
                 Key: HBASE-14024
                 URL: https://issues.apache.org/jira/browse/HBASE-14024
             Project: HBase
          Issue Type: Bug
          Components: mapreduce
    Affects Versions: 2.0.0
            Reporter: Ashish Singhi
            Assignee: Ashish Singhi
            Priority: Critical
             Fix For: 2.0.0


ImportTsv job is failing with below exception
{noformat}
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)
{noformat}

{{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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)