hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baiqiang Zhao (Jira)" <j...@apache.org>
Subject [jira] [Created] (HBASE-24778) [hbase-operator-tools] Merging regions failed when the table is not default namespace
Date Mon, 27 Jul 2020 09:31:00 GMT
Baiqiang Zhao created HBASE-24778:
-------------------------------------

             Summary: [hbase-operator-tools] Merging regions failed when the table is not
default namespace
                 Key: HBASE-24778
                 URL: https://issues.apache.org/jira/browse/HBASE-24778
             Project: HBase
          Issue Type: Bug
          Components: hbase-operator-tools
    Affects Versions: hbase-operator-tools-1.1.0
            Reporter: Baiqiang Zhao
            Assignee: Baiqiang Zhao


Suppose there is a table "test:test_table", if you want to merge regions and run the command:
{code:java}
// /opt/hbase/bin/hbase org.apache.hbase.RegionsMerger test:test_table 10
{code}
Then you will get error:
{code:java}
// [main] ERROR org.apache.hbase.RegionsMerger - Merging regions failed:[main] ERROR org.apache.hbase.RegionsMerger
- Merging regions failed:java.lang.IllegalArgumentException: java.net.URISyntaxException:
Relative path in absolute URI: test:test_table at org.apache.hadoop.fs.Path.initialize(Path.java:259)
~[hadoop-common-3.2.0.jar:?] at org.apache.hadoop.fs.Path.<init>(Path.java:217) ~[hadoop-common-3.2.0.jar:?]
at org.apache.hadoop.fs.Path.<init>(Path.java:125) ~[hadoop-common-3.2.0.jar:?] at org.apache.hbase.RegionsMerger.getTablePath(RegionsMerger.java:93)
~[hbase-tools-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT] at org.apache.hbase.RegionsMerger.mergeRegions(RegionsMerger.java:163)
~[hbase-tools-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT] at org.apache.hbase.RegionsMerger.run(RegionsMerger.java:237)
[hbase-tools-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT] at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
[hadoop-common-3.2.0.jar:?] at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90) [hadoop-common-3.2.0.jar:?]
at org.apache.hbase.RegionsMerger.main(RegionsMerger.java:247) [hbase-tools-1.1.0-SNAPSHOT.jar:1.1.0-SNAPSHOT]Caused
by: java.net.URISyntaxException: Relative path in absolute URI: test:test_table at java.net.URI.checkPath(URI.java:1823)
~[?:1.8.0_121] at java.net.URI.<init>(URI.java:745) ~[?:1.8.0_121] at org.apache.hadoop.fs.Path.initialize(Path.java:256)
~[hadoop-common-3.2.0.jar:?] ... 8 more
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message