[ 
https://issues.apache.org/jira/browse/HIVE-20179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Vary updated HIVE-20179:
------------------------------
       Resolution: Fixed
    Fix Version/s: 4.0.0
           Status: Resolved  (was: Patch Available)

Pushed to master.
Thanks for the review [~kgyrtkirk]!

> Some Tez jar-s are not on classpath so HS2 keeps too long to start
> ------------------------------------------------------------------
>
>                 Key: HIVE-20179
>                 URL: https://issues.apache.org/jira/browse/HIVE-20179
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 4.0.0
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-20179.2.patch, HIVE-20179.patch
>
>
> aideWhen trying to start HS2 in IDEA without any changes in the pom the 
> following exception is thrown:
> {code}
> java.lang.NoClassDefFoundError: org/apache/tez/dag/api/TezConfiguration
> at 
> org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolSession$AbstractTriggerValidator.startTriggerValidator(TezSessionPoolSession.java:74)
> at 
> org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolManager.initTriggers(TezSessionPoolManager.java:207)
> at 
> org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolManager.startPool(TezSessionPoolManager.java:114)
> at 
> org.apache.hive.service.server.HiveServer2.initAndStartTezSessionPoolManager(HiveServer2.java:841)
> at 
> org.apache.hive.service.server.HiveServer2.startOrReconnectTezSessions(HiveServer2.java:824)
> at org.apache.hive.service.server.HiveServer2.start(HiveServer2.java:746)
> at 
> org.apache.hive.service.server.HiveServer2.startHiveServer2(HiveServer2.java:1039)
> at 
> org.apache.hive.service.server.HiveServer2.access$1600(HiveServer2.java:140)
> at 
> org.apache.hive.service.server.HiveServer2$StartOptionExecutor.execute(HiveServer2.java:1307)
> at org.apache.hive.service.server.HiveServer2.main(HiveServer2.java:1151)
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.tez.dag.api.TezConfiguration
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 10 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to