Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2363918200 for ; Tue, 28 Jul 2015 17:07:08 +0000 (UTC) Received: (qmail 25507 invoked by uid 500); 28 Jul 2015 17:07:06 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 25475 invoked by uid 500); 28 Jul 2015 17:07:06 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 25229 invoked by uid 99); 28 Jul 2015 17:07:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2015 17:07:05 +0000 Date: Tue, 28 Jul 2015 17:07:05 +0000 (UTC) From: "Ashish Singhi (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14024) ImportTsv is not loading hbase-default.xml MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-14024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14644658#comment-14644658 ] Ashish Singhi commented on HBASE-14024: --------------------------------------- {quote} -1 core tests. The patch failed these unit tests: org.apache.hadoop.hbase.client.TestReplicasClient -1 core zombie tests. There are 3 zombie test(s): at org.apache.camel.test.spring.CamelSpringTestSupport.doCreateApplicationContext(CamelSpringTestSupport.java:90) at org.apache.camel.test.spring.CamelSpringTestSupport.doPreSetup(CamelSpringTestSupport.java:80) at org.apache.camel.test.junit4.CamelTestSupport.setUp(CamelTestSupport.java:216) at org.apache.camel.component.jetty.jettyproducer.HttpJettyProducerRecipientListCustomThreadPoolTest.testRecipientList(HttpJettyProducerRecipientListCustomThreadPoolTest.java:40) {quote} Not related to the patch. > 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 > > Attachments: HBASE-14024(1).patch, HBASE-14024(2) .patch, HBASE-14024.patch > > > 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.(Path.java:135) > at org.apache.hadoop.fs.Path.(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)