[ https://issues.apache.org/jira/browse/HIVE-21865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on HIVE-21865 started by Oleksiy Sayankin. ----------------------------------------------- > Add verification for Tez engine before starting Tez sessions > ------------------------------------------------------------ > > Key: HIVE-21865 > URL: https://issues.apache.org/jira/browse/HIVE-21865 > Project: Hive > Issue Type: Bug > Reporter: Oleksiy Sayankin > Assignee: Oleksiy Sayankin > Priority: Major > > Here is the log of starting HS2 when engine is MR: > {code} > 2019-06-12T06:08:05,115 WARN [main] server.HiveServer2: Error starting > HiveServer2 on attempt 1, will retry in 60000ms > 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:860) > > at > org.apache.hive.service.server.HiveServer2.startOrReconnectTezSessions(HiveServer2.java:843) > at > org.apache.hive.service.server.HiveServer2.start(HiveServer2.java:766) > at > org.apache.hive.service.server.HiveServer2.startHiveServer2(HiveServer2.java:1058) > > at > org.apache.hive.service.server.HiveServer2.access$1600(HiveServer2.java:144) > at > org.apache.hive.service.server.HiveServer2$StartOptionExecutor.execute(HiveServer2.java:1326) > > at > org.apache.hive.service.server.HiveServer2.main(HiveServer2.java:1170) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.hadoop.util.RunJar.run(RunJar.java:323) > at org.apache.hadoop.util.RunJar.main(RunJar.java:236) > 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:338) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ... 16 more > {code} > HS2 starts correctly but the exception above annoys customer. -- This message was sent by Atlassian JIRA (v7.6.3#76005)