Support Questions
Find answers, ask questions, and share your expertise

Ambari Pig View - fails on permisisons for 'pig.tar.gz/pig/bin/pig'


Ambari Pig View - fails on permisisons for 'pig.tar.gz/pig/bin/pig'

Installed Ambari Pig View, but am not able to run Jobs via the View.

The Pig view was installed on Azure IaaS, Ambari 2.4.1 and the Pig view is a 'Local Cluster' configuration. It errors out without any stdout or stderr information displaying on the Pig view screen (stdout and stderr are available in the job logs). In the job logs Found the following message:

2016-11-18 14:11:05,464 FATAL [IPC Server handler 2 on 37186]
org.apache.hadoop.mapred.TaskAttemptListenerImpl: Task:
attempt_1479494676475_0003_m_000000_0 - exited : Cannot
run program "pig.tar.gz/pig/bin/pig": error=13, Permission denied  at
java.lang.ProcessBuilder.start(  at  at
org.apache.hive.hcatalog.templeton.tool.LaunchMapper.startJob(  at  at org.apache.hadoop.mapred.MapTask.runNewMapper(  at  at
org.apache.hadoop.mapred.YarnChild$  at Method)  at  at  at
org.apache.hadoop.mapred.YarnChild.main( by: error=13, Permission denied  at
java.lang.UNIXProcess.forkAndExec(Native Method)  at
java.lang.UNIXProcess.<init>(  at
java.lang.ProcessImpl.start(  at
... 10 more

Have not had this error before on previous installs on different clusters.

Background Work Performed for Ambari view setup:

Additional work performed so far (kindly assisted by Ravi Gangappa):

  • Double-checked the proxyusers in Ambari hdfs and hive configs
  • Confirmed that this should not be a port issue (opened up all ports in Azure)
  • Gave wide-open permissions to HDFS /hdp/apps/

Thanks in advance for your assistance.


Re: Ambari Pig View - fails on permisisons for 'pig.tar.gz/pig/bin/pig'


Can you upload the screenshot for the error?

Re: Ambari Pig View - fails on permisisons for 'pig.tar.gz/pig/bin/pig'

Hi @Sagar Shimpi. I am attaching a screenshot, but the error does not appear in the screenshot. It is in the syslog file for the pig script job. Ravi Gangappa was looking into it this afternoon but we were not able to find the problem yet. screen-shot-2016-11-19-at-103336-pm.png

I will send you via email the text of the HipChat we had.

Don't have an account?