You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2014/09/04 16:18:52 UTC

[jira] [Updated] (HBASE-11609) LoadIncrementalHFiles fails if the namespace is specified

     [ https://issues.apache.org/jira/browse/HBASE-11609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anoop Sam John updated HBASE-11609:
-----------------------------------
    Fix Version/s:     (was: 1.0.0)
                   0.99.0

> 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: 0.99.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.3.4#6332)