Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Error: Could not find or load main class org.apache.tez.runtime.task.TezChild

avatar

Containers are being killed with error:

Container: container_e81_1447433228005_0589_01_001207 on datanode1.company.com_45454
=======================================================================================
LogType:stderr
Log Upload Time:Fri Nov 13 13:14:59 -0500 2015
LogLength:78
Log Contents:
Error: Could not find or load main class org.apache.tez.runtime.task.TezChild
--
Container: container_e81_1447433228005_0589_01_003434 on datanode2.company.com_45454
=======================================================================================
LogType:stderr
Log Upload Time:Fri Nov 13 13:14:58 -0500 2015
LogLength:78
Log Contents:
Error: Could not find or load main class org.apache.tez.runtime.task.TezChild
--
Container: container_e81_1447433228005_0589_01_003219 on datanode2.company.com_45454
=======================================================================================
LogType:stderr
Log Upload Time:Fri Nov 13 13:14:58 -0500 2015
LogLength:78
Log Contents:
Error: Could not find or load main class org.apache.tez.runtime.task.TezChild

Any ideas?

7 REPLIES 7

avatar
Master Mentor

@William Gonzalez

Please remove customer name from the logs

avatar
Master Mentor

@William Gonzalez

HDP version ?

avatar

Thanks for the reminder

v2.2.4.2

avatar

Can you check the installation of Tez? Detailed manual instructions are available here. Typically you see this when tez.lib.uris is not configured correctly.

avatar

Thanks for the reply, Deepesh.

This cluster was configured by ambari and the Tez settings are correct.

Specifically, the page you cited talks about tez.lib.uris which is configured correctly:

<property> <name>tez.lib.uris</name> <value>/hdp/apps/2.2.4.5-6/tez/tez.tar.gz</value> </property>

All the other properties stated in that page also look correct to me.

Again, this is an intermittent issue. If we are missing properties, is not because of misconfiguration but rather the properties are being lost somehow.

Ideas?

avatar

Suspect that the HDFS has some issues, can you look for exceptions in the DN and NN logs. Also scan for DFSClient exceptions in the the container logs.

avatar

Thank you, Deepesh. I will do that.