kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lk_hadoop"<lk_had...@163.com>
Subject why kylin job failed when use beeline with zookeeper
Date Thu, 18 Apr 2019 03:04:30 GMT
hi,all:
       I'm using kylin-2.6.1-bin-cdh57 , when I connect to hive with beelin :
 kylin.source.hive.beeline-params=-n hive -p hiveadmin --hiveconf hive.security.authorization.sqlstd.confwhitelist.append='mapreduce.job.*|dfs.*'
-u jdbc:hive2://"bdp-scm-04:2181,bdp-scm-03:2181,bdp-scm-05:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2"
       I got error at step : Redistribute Flat Hive Table 
              java.lang.IllegalArgumentException: Illegal character in path at index 86: hive2://dummyhost:00000/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2"
	at java.net.URI.create(URI.java:852)
	at org.apache.hive.jdbc.Utils.parseURL(Utils.java:302)
	at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:122)
	at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)
	at java.sql.DriverManager.getConnection(DriverManager.java:664)
	at java.sql.DriverManager.getConnection(DriverManager.java:208)
	at org.apache.kylin.source.hive.BeelineHiveClient.init(BeelineHiveClient.java:72)
	at org.apache.kylin.source.hive.BeelineHiveClient.<init>(BeelineHiveClient.java:66)
	at org.apache.kylin.source.hive.HiveClientFactory.getHiveClient(HiveClientFactory.java:29)
	at org.apache.kylin.source.hive.RedistributeFlatHiveTableStep.computeRowCount(RedistributeFlatHiveTableStep.java:40)
	at org.apache.kylin.source.hive.RedistributeFlatHiveTableStep.doWork(RedistributeFlatHiveTableStep.java:91)
	at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:166)
	at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:71)
	at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:166)
	at org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:114)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.URISyntaxException: Illegal character in path at index 86: hive2://dummyhost:00000/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2"
	at java.net.URI$Parser.fail(URI.java:2848)
       I don't know why , because I can pass the first step which also use the same JDBC URL.
     
2019-04-18


lk_hadoop  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message