Home Forums Oozie Oozie server is not starting

This topic contains 4 replies, has 3 voices, and was last updated by  Anupam Gupta 1 year, 1 month ago.

  • Creator
    Topic
  • #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])

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

You must be logged in to reply to this topic.

  • Author
    Replies
  • #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

    Collapse
    #41159

    Yi Zhang
    Moderator

    Hi Anupam,

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

    Thanks,
    Yi

    Collapse
    #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

    Collapse
    #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

    Collapse
Viewing 4 replies - 1 through 4 (of 4 total)