Hi Praveen,
Thanks for sharing.
I think this jar is already  a part of hadoop library. How did you originally 
copy the hadoop jars into libext/? Why it was not originally copied?

Regards,
Mohammad




________________________________
 From: Praveen Sripati <[email protected]>
To: [email protected] 
Sent: Saturday, October 5, 2013 1:01 AM
Subject: Oozie missing Apache Commons Configuration dependency
 

Hi,

When I started Oozie (after building oozie-4.0.0.tar.gz) with
`bin/oozied.sh start`, I got the following exception in the catalina.out

java.lang.NoClassDefFoundError:
org/apache/commons/configuration/Configuration
        at
org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.<init>(DefaultMetricsSystem.java:37)
        at
org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.<clinit>(DefaultMetricsSystem.java:34)
        at
org.apache.hadoop.security.UgiInstrumentation.create(UgiInstrumentation.java:51)
        at
org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:217)

I had to copy the commons-configuration-1.9.jar to libext/ folder and then
run the `bin/oozie-setup.sh prepare-war` command again. This time I was
able to start and run workflows in Oozie. Without the
commons-configuration-1.9.jar, Oozie also failed to start silently without
any errors in the oozie.log.

I was able to get around the problem as mentioned above, but wanted to let
others know for them to easily solve it and also maybe to open a JIRA.

Thanks,
Praveen

Reply via email to