hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Vary (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-20179) Some Tez jar-s are not on classpath so HS2 keeps too long to start
Date Mon, 16 Jul 2018 12:13:00 GMT

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

Peter Vary updated HIVE-20179:
------------------------------
    Description: 
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}


  was:
When trying to start HS2 without Tez 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}



> 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
>         Attachments: 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)

Mime
View raw message