Hue3.9.0 Error in Pig editor

5 views
Skip to first unread message

nagaraj v

unread,
Nov 27, 2017, 2:28:42 AM11/27/17
to hue-...@cloudera.org
Hi

  If i run the pig script in the cluster it is executing successfully if i execute it using hue (Pig editor). How i install hadoop in root user and installed hue in ubuntu user how i give the access the root files help of ubuntu user.kindly help for this. 

    { "message": "Error submitting workflow pig-app-hue-script - hue", "traceback": [ [ "/home/ubuntu/hue-3.9.0/apps/oozie/src/oozie/views/editor.py", 368, "_submit_workflow", "job_id = submission.run()" ], [ "/usr/local/hue/desktop/libs/liboozie/src/liboozie/submittion.py", 85, "run", "self.oozie_id = self.api.submit_job(self.properties)" ], [ "/usr/local/hue/desktop/libs/liboozie/src/liboozie/oozie_api.py", 250, "submit_job", "resp = self._root.post('jobs', params, data=config_gen(properties), contenttype=_XML_CONTENT_TYPE)" ], [ "/usr/local/hue/desktop/core/src/desktop/lib/rest/resource.py", 122, "post", "return self.invoke(\"POST\", relpath, params, data, self._make_headers(contenttype, headers))" ], [ "/usr/local/hue/desktop/core/src/desktop/lib/rest/resource.py", 78, "invoke", "urlencode=self._urlencode)" ], [ "/usr/local/hue/desktop/core/src/desktop/lib/rest/http_client.py", 161, "execute", "raise self._exc_class(ex)" ] ], "detail": "E0501: Could not perform authorization operation, User: root is not allowed to impersonate hue", "title": "Error" }
--

Nagaraj V

Romain Rigaux

unread,
Nov 27, 2017, 2:25:44 PM11/27/17
to nagaraj v, Hue-Users
If Hue runs as 'root' (which we don't recommend), you should set 'root' as an Hadoop proxy user:

http://gethue.com/how-to-configure-hue-in-your-hadoop-cluster/


<property>
  <name>hadoop.proxyuser.hue.hosts</name>
  <value>*</value>
</property>
<property>
  <name>hadoop.proxyuser.hue.groups</name>
  <value>*</value>
</property>

--
You received this message because you are subscribed to the Google Groups "Hue-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.

nagaraj v

unread,
Nov 28, 2017, 3:58:53 AM11/28/17
to Romain Rigaux, Hue-Users
Thank you Romain.

Already i added this in Ambari Configuration.

Inline image 1
Still am  facing this problem Please Help for this..
Reply all
Reply to author
Forward
0 new messages