I wanted to build oozie-4.2.0 with hadoop shared libs and extJS support, so please help me.
Ram On Tue, May 31, 2016 at 9:24 AM, rammohan ganapavarapu < rammohanga...@gmail.com> wrote: > Hi Attila, > > Thanks for your suggestion, i have tried that command but getting bellow > warning. > > [WARNING] The requested profile "*uber*" could not be activated because it > does not exist. > > Ram > > On Mon, May 30, 2016 at 4:08 AM, Attila Sasvari <asasv...@cloudera.com> > wrote: > >> Hi Ram, >> >> Have you tried to use the uber mode? >> >> ./bin/mkdistro.sh -P*uber*,hadoop-2 -Dhadoop.version=2.7.1 -DskipTests >> >> It will copy the Hadoop dependencies for you. >> >> Best regards, >> Attila >> >> >> Related >> >> - >> >> https://mail-archives.apache.org/mod_mbox/oozie-dev/201501.mbox/%3cbe9ba7d6-30e4-41a8-95b9-9592408cc...@gmail.com%3E >> - https://issues.apache.org/jira/browse/OOZIE-2297 >> >> >> On Fri, May 27, 2016 at 11:34 PM, rammohan ganapavarapu < >> rammohanga...@gmail.com> wrote: >> >> > Peter, >> > >> > Build went successful but when i try to start oozie getting class not >> found >> > error, it seems like oozie war doesnt have hadooplibs. >> > >> > How i build: >> > >> > 1. Downloaded oozie-4.2.0 source tar file. >> > 2. Updated global pom.xml to ( <hadoop.version>2.7.1</hadoop.version>) >> > 3. ./mkdistro.sh -P hadoop-2 -DskipTests ( all components successful) >> > 4. start oozie: >> > INFO: Oozie webconsole disabled, ExtJS library not specified >> > >> > New Oozie WAR file with added '' at >> > >> > >> /home/rganapavarapu/oozie-4.2.0/distro/target/oozie-4.2.0-distro/oozie-4.2.0/oozie-server/webapps/oozie.war >> > >> > >> > INFO: Oozie is ready to be started >> > >> > >> > Setting up oozie DB >> > setting CATALINA_OPTS="$CATALINA_OPTS -Xmx1024m" >> > >> > Validate DB Connection >> > Exception in thread "main" java.lang.NoClassDefFoundError: >> > org/apache/hadoop/util/ReflectionUtils >> > at >> > org.apache.oozie.service.Services.setServiceInternal(Services.java:377) >> > at org.apache.oozie.service.Services.<init>(Services.java:111) >> > at >> org.apache.oozie.tools.OozieDBCLI.getJdbcConf(OozieDBCLI.java:164) >> > at >> > org.apache.oozie.tools.OozieDBCLI.createConnection(OozieDBCLI.java:853) >> > at >> > >> org.apache.oozie.tools.OozieDBCLI.validateConnection(OozieDBCLI.java:861) >> > at org.apache.oozie.tools.OozieDBCLI.createDB(OozieDBCLI.java:182) >> > at org.apache.oozie.tools.OozieDBCLI.run(OozieDBCLI.java:126) >> > at org.apache.oozie.tools.OozieDBCLI.main(OozieDBCLI.java:77) >> > Caused by: java.lang.ClassNotFoundException: >> > org.apache.hadoop.util.ReflectionUtils >> > 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) >> > ... 8 more >> > >> > 5. SO i try to follow this link >> > >> > >> https://dwtobigdata.wordpress.com/2015/08/23/apache-oozie-configuration-with-hadoop-2-6-0/ >> > >> > but in 4.2.0 oozie i dont see hadoop-2 under hadooplibs dir, so not sure >> > how to resolve this issue. >> > >> > Ram >> > >> > On Fri, May 27, 2016 at 12:29 PM, Peter Cseh <gezap...@cloudera.com> >> > wrote: >> > >> > > Hi, >> > > >> > > Can you provide the output of the build and the command you've run to >> > build >> > > oozie? >> > > Thank you >> > > >> > > Peter >> > > >> > > On Fri, May 27, 2016 at 9:35 AM, rammohan ganapavarapu < >> > > rammohanga...@gmail.com> wrote: >> > > >> > > > Any help?? >> > > > >> > > > On Wed, May 25, 2016 at 5:05 PM, rammohan ganapavarapu < >> > > > rammohanga...@gmail.com> wrote: >> > > > >> > > > > Hi, >> > > > > >> > > > > I am trying to build ozzie 2.4.0 with hadoop 2.7.1, build >> successful >> > > but >> > > > > it doesn't have hadoop-2 under hadooplibs to create war file. can >> > > someone >> > > > > help me? >> > > > > >> > > > > Ram >> > > > > >> > > > >> > > >> > > >> > > >> > > -- >> > > Peter Cseh >> > > Software Engineer >> > > <http://www.cloudera.com> >> > > >> > >> > >