hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Singhi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-14024) ImportTsv is not loading hbase-default.xml
Date Sat, 04 Jul 2015 18:44:05 GMT
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)

Mime
View raw message