Member since
11-02-2016
9
Posts
2
Kudos Received
0
Solutions
09-13-2018
12:42 PM
How would one then go about deploying a multi cluster HDP in docker using local machines? I too belief there is a benefit in using CloudBreak to create containers and deploy them without a cloud.
... View more
03-25-2017
10:29 PM
When working with Hive in HDP 2.5 I noticed that the stored View definition sometimes is incomplete. For example I create the following view: CREATE VIEW news_split AS
SELECT company, nof_lines, title,
author, nof_words, keydate,
publisher, w.word
FROM news
LATERAL VIEW EXPLODE(words) W AS WORD;
If I then query the view ddl using "show create table news_split;" I get: CREATE VIEW `news_split` AS
SELECT `news`.`company`, `news`.`nof_lines`, `news`.`title`,
`news`.`author`, `news`.`nof_words`, `news`.`keydate`,
`news`.`publisher`,
FROM `default`.`news`
LATERAL VIEW EXPLODE (`news`.`words`) `W` AS `word`
Can anyone explain why this is and how I can fix it? Maybe even how I get rid of the `news`. before every field?
... View more
Labels:
- Labels:
-
Apache Hive
11-22-2016
04:28 PM
I did try the following two, both with the same result: jdbc:hive2://zkserver1.company.com:2181,zkserver2.company.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2
jdbc:hive2://hiveserver2.company.com:10000
... View more
11-21-2016
02:28 PM
Hi Michael, I did try %hive and %jdbc(hive) both with the same result.
... View more
11-20-2016
09:32 AM
1 Kudo
I am trying to perform a "show tables;" on Hive using the JDBCInterpreter. I have set up all usernames, passwords and URLs for the interpreter und added hive-jdbc, hadoop-common and hive-shims as dependencies.
In the UI I do not get an explicit error - just no result. In the .out log file I can see following: 23:58:51.342 [pool-3-thread-2] ERROR org.apache.zeppelin.jdbc.JDBCInterpreter - zeppelin will be ignored. driver.zeppelin and zeppelin.url is mandatory.
23:58:51.349 [pool-3-thread-2] ERROR org.apache.zeppelin.scheduler.Job - Job failed
java.lang.NoSuchMethodError: org.apache.commons.lang3.StringUtils.isAnyEmpty([Ljava/lang/CharSequence;)Z
at org.apache.zeppelin.jdbc.JDBCInterpreter.open(JDBCInterpreter.java:170) ~[zeppelin-jdbc-0.6.0.2.5.0.0-1245.jar:0.6.0.2.5.0.0-1245]
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69) ~[zeppelin-interpreter-0.6.0.2.5.0.0-1245.jar:0.6.0.2.5.0.0-1245]
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:93) ~[zeppelin-interpreter-0.6.0.2.5.0.0-1245.jar:0.6.0.2.5.0.0-1245]
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:341) ~[zeppelin-interpreter-0.6.0.2.5.0.0-1245.jar:0.6.0.2.5.0.$
at org.apache.zeppelin.scheduler.Job.run(Job.java:176) [zeppelin-interpreter-0.6.0.2.5.0.0-1245.jar:0.6.0.2.5.0.0-1245]
at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162) [zeppelin-interpreter-0.6.0.2.5.0.0-1245.jar:0.6.0.2.5.0.0-1245]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_60]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_60]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Zeppelin