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 BC3731117B for ; Thu, 31 Jul 2014 22:25:41 +0000 (UTC) Received: (qmail 534 invoked by uid 500); 31 Jul 2014 22:25:40 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 444 invoked by uid 500); 31 Jul 2014 22:25:40 -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 372 invoked by uid 99); 31 Jul 2014 22:25:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2014 22:25:39 +0000 Date: Thu, 31 Jul 2014 22:25:39 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-11609) LoadIncrementalHFiles fails if the namespace is specified 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-11609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14081592#comment-14081592 ] Hudson commented on HBASE-11609: -------------------------------- FAILURE: Integrated in HBase-TRUNK #5359 (See [https://builds.apache.org/job/HBase-TRUNK/5359/]) HBASE-11609 LoadIncrementalHFiles fails if the namespace is specified (addendum) (matteo.bertozzi: rev 1441ec9c0c9157bf326b46df8d6ed56ee6cfe8ec) * hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFiles.java * hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestSecureLoadIncrementalHFiles.java > LoadIncrementalHFiles fails if the namespace is specified > --------------------------------------------------------- > > Key: HBASE-11609 > URL: https://issues.apache.org/jira/browse/HBASE-11609 > Project: HBase > Issue Type: Bug > Components: Client > Affects Versions: 1.0.0, 0.98.4, 2.0.0 > Reporter: Matteo Bertozzi > Assignee: Matteo Bertozzi > Fix For: 1.0.0, 0.98.5, 2.0.0 > > Attachments: HBASE-11609-unittest.patch, HBASE-11609-v0.patch, HBASE-11609-v1.patch > > > from Jianshi Huang on the user list > trying to bulk load a table in a namespace, like: > $ hbase org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles test/ foo:testtb > we get an exception > {code} > 2014-07-29 19:59:53,373 ERROR [main] mapreduce.LoadIncrementalHFiles: Unexpected execution exception during splitting > java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: foo:testtb,1.bottom > at java.util.concurrent.FutureTask.report(FutureTask.java:122) > at java.util.concurrent.FutureTask.get(FutureTask.java:188) > at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.groupOrSplitPhase(LoadIncrementalHFiles.java:449) > at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.doBulkLoad(LoadIncrementalHFiles.java:304) > at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.run(LoadIncrementalHFiles.java:899) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) > {code} > The problem is related to the ':' symbol going to the file path. the simple fix is to replace the current LoadIncrementalHFiles.getUniqueName() -- This message was sent by Atlassian JIRA (v6.2#6252)