Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Mapreduce jobs failing when doing hive query

Mapreduce jobs failing when doing hive query

Explorer

hi when I do some hive basic query like "select * from table" using  Mapred execution engine, my job is failing with these kind of errors:

 

upon execution:

Screen Shot 2020-06-10 at 12.28.57 PM.png

Yarn Logs: Error: could not find or load main class 800

Screen Shot 2020-06-10 at 12.30.59 PM.png

RM logs: ==

USER=user	OPERATION=Application Finished - Failed	TARGET=RMAppManager	RESULT=FAILURE	DESCRIPTION=App failed with state: FAILED	PERMISSIONS=Application application_1591667296620_0286 failed 2 times due to AM Container for appattempt_1591667296620_0286_000002 exited with  exitCode: 1
Failing this attempt.Diagnostics: [2020-06-10 12:14:43.978]Exception from container-launch.
Container id: container_1591667296620_0286_02_000001
Exit code: 1

[2020-06-10 12:14:43.979]Container exited with a non-zero exit code 1. Error file: prelaunch.err.
Last 4096 bytes of prelaunch.err :
Last 4096 bytes of stderr :
Error: Could not find or load main class 800


[2020-06-10 12:14:43.981]Container exited with a non-zero exit code 1. Error file: prelaunch.err.
Last 4096 bytes of prelaunch.err :
Last 4096 bytes of stderr :
Error: Could not find or load main class 800


For more detailed output, check the application tracking page: https://clouderacluster:8088/cluster/app/application_1591667296620_0286 Then click on links to logs of each attempt.
. Failing the application.	APPID=application_1591667296620_0286

3 REPLIES 3
Highlighted

Re: Mapreduce jobs failing when doing hive query

Explorer

Hi @stevenmatison just want to know if you are familiar on this Use case also? Thank you!

Highlighted

Re: Mapreduce jobs failing when doing hive query

@Mondi I have not seen this specific 800 error.   You should be able to find deeper information in the actual application logs.  They are hard to find, several clicks deep in the Yarn UI.  Depending on your application, there can be many log files, and you will need to inspect each one for deeper details in the failure.

 


 


If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post.  


 


Thanks,



Steven

Highlighted

Re: Mapreduce jobs failing when doing hive query

Explorer

My YARN URL right now @stevenmatison  is not accessible so I can't see it using that, is there any other way to check? thanks!

Don't have an account?
Coming from Hortonworks? Activate your account here