The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

Oozie Forum

Oozie server is not starting

  • #40768
    Anupam Gupta
    Participant

    Hi,
    I have installed HDP 1.3 on EC2 using automated installation (ambari) all services running except HBase RegionServer (Percent RegionServers down CRIT for about 2 hours CRITICAL: total:, affected:) in one of the host and Oozie Server(Error : CRITICAL: Error accessing oozie server status [Error: IO_ERROR : java.net.ConnectException: Connection refused])

  • Author
    Replies
  • #40774
    Dave
    Moderator

    Hi Anupam,

    Can you run ps -ef | grep oozie
    on the machine which is running oozie?

    Is it running? If not, can you check the oozie logs which are found in /var/log/oozie

    Thanks

    Dave

    #40814
    Anupam Gupta
    Participant

    Hi Dave,
    ps -ef | grep oozie cmd is running…

    [root@ip-10-154-141-278 ~]# ps -ef | grep oozie
    root 1051 944 0 14:39 pts/0 00:00:00 grep oozie

    following is oozie.log file…..

    vi oozie.log
    2013-10-16 16:37:16,243 INFO XLogService:539 –
    *******************************************************************************
    STARTUP MSG: Oozie BUILD_VERSION [3.3.2.1.3.0.0-107] compiled by [jenkins] on [2013.05.20-07:18:02GMT]
    STARTUP MSG: revision [condor-3.3.2@c6ed831]@[git@github.com:hortonworks/oozie.git]
    *******************************************************************************
    2013-10-16 16:37:16,247 INFO XLogService:539 – Log4j configuration file [oozie-log4j.properties]
    2013-10-16 16:37:16,247 INFO XLogService:539 – Log4j configuration file loaded from [/etc/oozie/conf]
    2013-10-16 16:37:16,247 INFO XLogService:539 – Log4j reload interval [10 sec]
    2013-10-16 16:37:16,272 INFO ConfigurationService:539 – USER[-] GROUP[-] Oozie home dir [/usr/lib/oozie]
    2013-10-16 16:37:16,272 INFO ConfigurationService:539 – USER[-] GROUP[-] Oozie conf dir [/etc/oozie/conf]
    2013-10-16 16:37:16,272 INFO ConfigurationService:539 – USER[-] GROUP[-] Oozie conf file [oozie-site.xml]
    2013-10-16 16:37:17,325 WARN Services:542 – USER[-] GROUP[-] System ID [oozie-oozi] exceeds maximum length [10], trimming
    2013-10-16 16:37:17,327 INFO Services:539 – USER[-] GROUP[-] Exiting null Entering NORMAL
    2013-10-16 16:37:17,369 INFO Services:539 – USER[-] GROUP[-] Initialized runtime directory [/tmp/oozie-oozi7537893428568337502.dir]
    2013-10-16 16:37:22,356 INFO XLogService:539 –

    Thanks,
    Anupam

    #41159
    Yi Zhang
    Moderator

    Hi Anupam,

    Can you access the oozie web console? http://oozie-server-host:11000/oozie?

    Thanks,
    Yi

    #43361
    Anupam Gupta
    Participant

    Hi,
    Now I installed HDP 2.0 (automated Ambari installation) and and by making sevral attempt to start all services , able to start services except Oozie server.

    following is the error while starting oozie server…

    stderr:
    None
    stdout:
    err: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su – oozie -c ‘echo 0; hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share’]/Exec[exec su – oozie -c ‘echo 0; hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share’]/returns: change from notrun to 0 failed: su – oozie -c ‘echo 0; hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share’ returned 1 instead of one of [0] at /var/lib/ambari-agent/puppet/modules/hdp/manifests/init.pp:480
    notice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su – oozie -c ‘echo 0; hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share’]/Anchor[hdp::exec::exec su – oozie -c ‘echo 0; hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share’::end]: Dependency Exec[exec su – oozie -c ‘echo 0; hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share’] has failures: true
    notice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su – oozie -c ‘cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh’]/Anchor[hdp::exec::exec su – oozie -c ‘cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh’::begin]: Dependency Exec[exec su – oozie -c ‘echo 0; hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share’] has failures: true
    notice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su – oozie -c ‘cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh’]/Exec[exec su – oozie -c ‘cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh’]: Dependency Exec[exec su – oozie -c ‘echo 0; hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share’] has failures: true
    notice: /Stage[2]/Hdp-oozie::Service/Hdp::Exec[exec su – oozie -c ‘cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh’]/Anchor[hdp::exec::exec su – oozie -c ‘cd /var/tmp/oozie && /usr/lib/oozie/bin/oozie-start.sh’::end]: Dependency Exec[exec su – oozie -c ‘echo 0; hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share’] has failures: true
    notice: /Stage[2]/Hdp-oozie::Service/Anchor[hdp-oozie::service::end]: Dependency Exec[exec su – oozie -c ‘echo 0; hadoop dfs -put /usr/lib/oozie/share /user/oozie ; hadoop dfs -chmod -R 755 /user/oozie/share’] has failures: true
    notice: Finished catalog run in 70.01 seconds

The forum ‘Oozie’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

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.