You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/10/07 21:53:22 UTC

[jira] [Commented] (AMBARI-18437) Hive view not working on LLAP enabled cluster

    [ https://issues.apache.org/jira/browse/AMBARI-18437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15556347#comment-15556347 ] 

Hudson commented on AMBARI-18437:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #125 (See [https://builds.apache.org/job/Ambari-branch-2.5/125/])
AMBARI-18437. Hive view not working on LLAP enabled cluster. (dipayanb) (dipayan.bhowmick: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=061693de16c7db6079b75ab2f36f173ccaa8cb59])
* (edit) contrib/views/hive-next/src/main/java/org/apache/ambari/view/hive2/ConnectionFactory.java
* (edit) contrib/views/hive-next/src/main/resources/view.xml
* (edit) contrib/views/hive-next/src/main/java/org/apache/ambari/view/hive2/PropertyValidator.java


> Hive view not working on LLAP enabled cluster
> ---------------------------------------------
>
>                 Key: AMBARI-18437
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18437
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.4.0
>            Reporter: DIPAYAN BHOWMICK
>            Assignee: DIPAYAN BHOWMICK
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18437.1.branch-2.4.patch, AMBARI-18437.branch-2.4.patch
>
>
> Hive view shows "java.lang.Exception: Cannot connect to hive" error
> {code:java}
> 20 Sep 2016 08:44:15,298 ERROR [HiveViewActorSystem-akka.actor.jdbc-connector-dispatcher-5] [HIVE 1.5.0 HiveView123] JdbcConnector:419 - Failed to create a hive connection. {}
> org.apache.ambari.view.hive2.internal.ConnectionException: Cannot open a hive connection with connect string jdbc:hive2://hn0-4117d3.ambhviewl-am25-ssh.h8.internal.cloudapp.net:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2;;hive.server2.proxy.user=admin
>         at org.apache.ambari.view.hive2.internal.HiveConnectionWrapper.connect(HiveConnectionWrapper.java:63)
>         at org.apache.ambari.view.hive2.actor.JdbcConnector.connect(JdbcConnector.java:416)
>         at org.apache.ambari.view.hive2.actor.JdbcConnector.handleNonLifecycleMessage(JdbcConnector.java:179)
>         at org.apache.ambari.view.hive2.actor.JdbcConnector.handleMessage(JdbcConnector.java:171)
>         at org.apache.ambari.view.hive2.actor.HiveActor.onReceive(HiveActor.java:38)
>         at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)
>         at akka.actor.Actor$class.aroundReceive(Actor.scala:467)
>         at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:97)
>         at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
>         at akka.actor.ActorCell.invoke(ActorCell.scala:487)
>         at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
>         at akka.dispatch.Mailbox.run(Mailbox.scala:220)
>         at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)
>         at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
>         at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
>         at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
>         at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
> Caused by: java.sql.SQLException: org.apache.hive.jdbc.ZooKeeperHiveClientException: Unable to read HiveServer2 configs from ZooKeeper
>         at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:134)
>         at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:107)
>         at java.sql.DriverManager.getConnection(DriverManager.java:664)
>         at java.sql.DriverManager.getConnection(DriverManager.java:247)
>         at org.apache.ambari.view.hive2.internal.HiveConnectionWrapper.connect(HiveConnectionWrapper.java:59)
>         ... 16 more
> Caused by: org.apache.hive.jdbc.ZooKeeperHiveClientException: Unable to read HiveServer2 configs from ZooKeeper
>         at org.apache.hive.jdbc.ZooKeeperHiveClientHelper.configureConnParams(ZooKeeperHiveClientHelper.java:96)
>         at org.apache.hive.jdbc.Utils.configureConnParams(Utils.java:514)
>         at org.apache.hive.jdbc.Utils.parseURL(Utils.java:434)
>         at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:132)
>         ... 20 more 
> Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /hiveserver2
>         at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
>         at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>         at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1590)
>         at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:214)
>         at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:203)
>         at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:107)
>         at org.apache.curator.framework.imps.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:199)
>         at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:191)
>         at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:38)
>         at org.apache.hive.jdbc.ZooKeeperHiveClientHelper.configureConnParams(ZooKeeperHiveClientHelper.java:64)
>         ... 23 more
> 20 Sep 2016 08:44:15,314 ERROR [ambari-client-thread-2148] [HIVE 1.5.0 HiveView123] DDLDelegatorImpl:200 - Failed to get the table description
> 20 Sep 2016 08:44:15,319 ERROR [ambari-client-thread-2148] [HIVE 1.5.0 HiveView123] ServiceFormattedException:97 - Cannot connect to hive
> 20 Sep 2016 08:44:15,319 ERROR [ambari-client-thread-2148] [HIVE 1.5.0 HiveView123] ServiceFormattedException:98 - java.lang.Exception: Cannot connect to hive
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)