Unable to run any oozie job

to create new topics or reply. | New User Registration

Tagged: ,

This topic contains 3 replies, has 4 voices, and was last updated by  Ramabadran Sampathkumar 1 month, 1 week ago.

  • Creator
    Topic
  • #53017

    Sandeep KS
    Participant

    My core-site.xml contains following properties
    <property>
    <name>hadoop.proxyuser.oozie.groups</name>
    <value>*</value>
    </property>
    <property>
    <name>hadoop.proxyuser.oozie.hosts</name>
    <value>*</value>
    </property>
    After this addition entire hadoop cluster is re-started
    Also my oozie-site.xml contains
    <property>
    <name>oozie.service.ProxyUserService.proxyuser.oozie.hosts</name>
    <value>*</value>
    </property>

    <property>
    <name>oozie.service.ProxyUserService.proxyuser.oozie.groups</name>
    <value>*</value>
    </property>
    After adding these properties oozie server is re-started.

    When I run the command, oozie job -config test1-WF/job.properties -run -oozie ‘http://namenode1-01:11000/oozie’, I am getting
    Error: E0501 : E0501: Could not perform authorization operation, User: root is not allowed to impersonate root.
    Any Ideas?

    Rgds,
    Sandeep

Viewing 3 replies - 1 through 3 (of 3 total)

You must be to reply to this topic. | Create Account

  • Author
    Replies
  • #73332

    Hi

    I am getting below error. could some help me in fixing this issue even after updating the /etc/hadoop/conf/core-site.xml

    oozie process is owned by oozie.

    Thanks
    Ramabadran

    [root@sandbox ~]# cd /usr/share/doc/oozie-4.0.0.2.1.1.0/examples/apps//pig
    [root@sandbox pig]# oozie job -oozie http://localhost:11000/oozie -config job.properties -run
    Error: E0501 : E0501: Could not

    <property>
    <name>hadoop.proxyuser.oozie.hosts</name>
    <value>sandbox.hortonworks.com</value>
    </property>

    <property>
    <name>hadoop.proxyuser.oozie.groups</name>
    <value>hadoop</value>
    </property>

    Collapse
    #59899

    Ahil Ponarul
    Participant

    Which core-site.xml file is it? I looked at mine in my etc/oozie/conf.dist/hadoop-conf and it looked nothing like this one. Am I completely in the wrong directory?

    Thank you much,

    AJ

    Collapse
    #54249

    Amudhan K
    Participant

    Hello Sandeep KS,
    Your username is root and not oozie. so change your core-site.xml like then and restart your cluster, then it will work.

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

    Collapse
Viewing 3 replies - 1 through 3 (of 3 total)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.