Home Forums Oozie Issue faced for running Oozie on Ubuntu-12.04.

This topic contains 1 reply, has 2 voices, and was last updated by  Amudhan K 5 months, 1 week ago.

  • Creator
    Topic
  • #50494

    Rushikesh Deshmukh
    Participant

    When I run below command:

    ooziedb.sh create -run

    I am facing below ERROR:

    Error: Could not connect to the database: java.lang.ClassNotFoundException: com.mysql.jdbc.driver

    Stack trace for the error was (for debug purposes):
    ————————————–
    java.lang.Exception: Could not connect to the database: java.lang.ClassNotFoundException: com.mysql.jdbc.driver
    at org.apache.oozie.tools.OozieDBCLI.validateConnection(OozieDBCLI.java:604)
    at org.apache.oozie.tools.OozieDBCLI.createDB(OozieDBCLI.java:172)
    at org.apache.oozie.tools.OozieDBCLI.run(OozieDBCLI.java:116)
    at org.apache.oozie.tools.OozieDBCLI.main(OozieDBCLI.java:67)
    Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.driver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:190)
    at org.apache.oozie.tools.OozieDBCLI.createConnection(OozieDBCLI.java:593)
    at org.apache.oozie.tools.OozieDBCLI.validateConnection(OozieDBCLI.java:600)
    … 3 more

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #51607

    Amudhan K
    Participant

    Hello Rushikesh,
    I’m now facing the same error which you have posted above. I tried to configure oozie to mysql and gave the ooziedb.sh create -run..
    Did you get to any solutions or conclusions? Please help me with this.

    Collapse
Viewing 1 replies (of 1 total)