Home Forums Oozie Error: AUTHENTICATION : Could not authenticate – Getting 404 error

This topic contains 3 replies, has 3 voices, and was last updated by  Sasha J 1 year, 9 months ago.

  • Creator
    Topic
  • #11382

    sahabdeen k
    Member

    Dear Team,

    Ooozie service starting fine but getting 404 error in browser as well as terminal. Pls help me to resolve this.

    bash-4.1$ oozie admin –oozie http://myhostname.com:11000/oozie -status
    Error: AUTHENTICATION : Could not authenticate, Authentication failed, status: 404, message: Not Found

    Error log information
    ——————-
    Caused by: org.apache.oozie.service.ServiceException: E0001: Could not create runtime directory, java.io.IOException: No such file or directory
    at org.apache.oozie.service.Services.createRuntimeDir(Services.java:133)
    at org.apache.oozie.service.Services.(Services.java:117)
    at org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServicesLoader.java:39)
    … 24 more
    Caused by: java.io.IOException: No such file or directory
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.checkAndCreate(File.java:1704)
    at java.io.File.createTempFile(File.java:1792)
    at java.io.File.createTempFile(File.java:1828)
    at org.apache.oozie.service.Services.createRuntimeDir(Services.java:122)
    … 26 more
    Oct 22, 2012 3:09:05 AM org.apache.catalina.core.StandardContext listenerStop
    SEVERE: Exception sending context destroyed event to listener instance of class org.apache.oozie.servlet.ServicesLoader
    java.lang.NullPointerException

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

You must be logged in to reply to this topic.

  • Author
    Replies
  • #12094

    Sasha J
    Moderator

    Sahabdeen,
    most likel;y you did start Oozie incorrectly…

    I tried to use oozie-start.sh script in /usr/lib/oozie/bin, which obviously doesn’t setup the right permissions and the oozie webapp can’t create files on the local filesystem.

    Anyway, if you start oozie using /etc/init.d/oozie start, then everything works great.

    Thank you!
    Sasha

    Collapse
    #12080

    Sasha J
    Moderator

    Sahabdeen,
    this seems like incorrect setup on your cluster…
    I have 5 nodes cluster set up by HMC and I can communicate to Oozie with no problem, from any nodes on the cluster:

    [root@rhel63-3 ~]# oozie admin -oozie http://rhel63-3:11000/oozie/ -status
    System mode: NORMAL
    [root@rhel63-3 ~]# su – oozie
    -bash-4.1$ oozie admin -oozie http://rhel63-3:11000/oozie/ -status
    System mode: NORMAL
    -bash-4.1$

    [root@rhel63-5 ~]# oozie admin -oozie http://rhel63-3:11000/oozie/ -status
    System mode: NORMAL

    [root@rhel63-5 ~]# su – oozie
    [oozie@rhel63-5 ~]$ oozie admin -oozie http://rhel63-3:11000/oozie/ -status
    System mode: NORMAL
    [oozie@rhel63-5 ~]$

    Collapse
    #11407

    tedr
    Member

    Sahabdeen,

    Please follow the instructions here: http://hortonworks.com/community/forums/topic/hmc-installation-support-help-us-help-you and we’ll get back to you when we have it figured out or have more questions.

    Ted.

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