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.

Job in Ambari Hive view fails - looking for log information for the job

Highlighted

Job in Ambari Hive view fails - looking for log information for the job

Contributor

Running this in the ambari hive 2.0 view. Trying to join 2 tables into a new table. Query seems to run then stalls at 100% and returns with an error but no specific error message is provided in the hive view.

Where can I find the error message or at least logs associated with the job ID provided by the hive view?

2 REPLIES 2

Re: Job in Ambari Hive view fails - looking for log information for the job

Guru

Hi @Jon Page

if you have an application ID, you can view the yarn logs both from the YARN Resource Manager UI (Ambari->Yarn->Quick Links) or via CLI: yarn logs -applicationId <app ID>

Re: Job in Ambari Hive view fails - looking for log information for the job

New Contributor

Hive view logs can be found at path : /var/log/ambari-server/hive20-view/hive20-view.log

You can get the job id for the hive view job from the jobs tab on hive view.

Once you get the job id, you can use the below API to get more info about the job:

<AMBARI_IP>/api/v1/views/HIVE/versions/2.0/instances/<view_name>/resources/jobs/<job_id>

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