hbase phoenix异步创建索引报错:ERROR 102 (08001): Malformed connection url

2019-10-13 22:24:52,243 ERROR [main] index.IndexTool: An exception occurred while performing the indexing job: SQLException: ERROR 102 (08001): Malformed connection url. :hbase1:2181,hbase2:2181,hbase3:2181:2181:/hbase; at:
java.sql.SQLException: ERROR 102 (08001): Malformed connection url. :hbase1:2181,hbase2:2181,hbase3:2181:2181:/hbase;
        at org.apache.phoenix.exception.SQLExceptionCode$Factory$1.newException(SQLExceptionCode.java:483)
        at org.apache.phoenix.exception.SQLExceptionInfo.buildException(SQLExceptionInfo.java:150)
        at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver$ConnectionInfo.getMalFormedUrlException(PhoenixEmbeddedDriver.java:208)
        at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver$ConnectionInfo.create(PhoenixEmbeddedDriver.java:267)
        at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:232)
        at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:150)
        at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:221)
        at java.sql.DriverManager.getConnection(DriverManager.java:664)
        at java.sql.DriverManager.getConnection(DriverManager.java:208)
        at org.apache.phoenix.mapreduce.util.ConnectionUtil.getConnection(ConnectionUtil.java:98)
        at org.apache.phoenix.mapreduce.util.ConnectionUtil.getInputConnection(ConnectionUtil.java:57)
        at org.apache.phoenix.mapreduce.util.ConnectionUtil.getInputConnection(ConnectionUtil.java:45)
        at org.apache.phoenix.mapreduce.index.IndexTool.run(IndexTool.java:496)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
        at org.apache.phoenix.mapreduce.index.IndexTool.main(IndexTool.java:618)

修改hbase-site.xml 的这个配置项:hbase.zookeeper.quorum

改为这种格式:hbase1,hbase2,hbase3:2181

发布了6 篇原创文章 · 获赞 3 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/iTommyChi/article/details/102539493
今日推荐