Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
trunk, 2.2.0
-
None
-
None
Description
Tez service check and hive commands execution fails due to the below error:
2016-02-13 05:52:36,338 [INFO] [main] |service.AbstractService|: Service org.apache.tez.dag.history.HistoryEventHandler failed in state INITED; cause: org.apache.tez.dag.api.TezReflectionException: Unable to load class: org.apache.tez.dag.history.logging.ats.ATSV15HistoryLoggingService org.apache.tez.dag.api.TezReflectionException: Unable to load class: org.apache.tez.dag.history.logging.ats.ATSV15HistoryLoggingService at org.apache.tez.common.ReflectionUtils.getClazz(ReflectionUtils.java:46) at org.apache.tez.common.ReflectionUtils.createClazzInstance(ReflectionUtils.java:78) at org.apache.tez.dag.history.HistoryEventHandler.serviceInit(HistoryEventHandler.java:61) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163) at org.apache.tez.dag.app.DAGAppMaster.initServices(DAGAppMaster.java:1671) at org.apache.tez.dag.app.DAGAppMaster.serviceInit(DAGAppMaster.java:554) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163) at org.apache.tez.dag.app.DAGAppMaster$6.run(DAGAppMaster.java:2265) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657) at org.apache.tez.dag.app.DAGAppMaster.initAndStartAppMaster(DAGAppMaster.java:2262) at org.apache.tez.dag.app.DAGAppMaster.main(DAGAppMaster.java:2080) Caused by: java.lang.ClassNotFoundException: org.apache.tez.dag.history.logging.ats.ATSV15HistoryLoggingService at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.apache.tez.common.ReflectionUtils.getClazz(ReflectionUtils.java:44)
Value of parameter tez.history.logging.service.class in ambari-server/src/main/resources/stacks/HDP/2.3/services/TEZ/configuration/tez-site.xml is set as below, but there is no ATSV15HistoryLoggingService class.
tez.history.logging.service.class=org.apache.tez.dag.history.logging.ats.ATSV15HistoryLoggingService
Class ATSHistoryLoggingService exists and with the below settings tez based applications runs successfully.
tez.history.logging.service.class=org.apache.tez.dag.history.logging.ats.ATSHistoryLoggingService
Attachments
Attachments
Issue Links
- links to