Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2077

ShareLib installation failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • tools

    Description

      sudo -u oozie /usr/lib/oozie/bin/oozie-setup.sh sharelib create -fs hdfs://localhost:8020 -locallib /usr/lib/oozie/oozie-sharelib-yarn.tar.gz

      when I run above command I get below error:
      setting JAVA_LIBRARY_PATH="$JAVA_LIBRARY_PATH:/usr/lib/hadoop/lib/native"
      setting OOZIE_DATA=/var/lib/oozie
      setting OOZIE_CATALINA_HOME=/usr/lib/bigtop-tomcat
      setting CATALINA_TMPDIR=/var/lib/oozie
      setting CATALINA_PID=/var/run/oozie/oozie.pid
      setting CATALINA_BASE=/var/lib/oozie/tomcat-deployment
      setting OOZIE_HTTPS_PORT=11443
      setting OOZIE_HTTPS_KEYSTORE_PASS=password
      setting CATALINA_OPTS="$CATALINA_OPTS -Doozie.https.port=${OOZIE_HTTPS_PORT}"
      setting CATALINA_OPTS="$CATALINA_OPTS -Doozie.https.keystore.pass=${OOZIE_HTTPS_KEYSTORE_PASS}"
      setting CATALINA_OPTS="$CATALINA_OPTS -Xmx1024m"
      setting OOZIE_CONFIG=/etc/oozie/conf
      setting OOZIE_LOG=/var/log/oozie
      setting JAVA_LIBRARY_PATH="$JAVA_LIBRARY_PATH:/usr/lib/hadoop/lib/native"
      setting OOZIE_DATA=/var/lib/oozie
      setting OOZIE_CATALINA_HOME=/usr/lib/bigtop-tomcat
      setting CATALINA_TMPDIR=/var/lib/oozie
      setting CATALINA_PID=/var/run/oozie/oozie.pid
      setting CATALINA_BASE=/var/lib/oozie/tomcat-deployment
      setting OOZIE_HTTPS_PORT=11443
      setting OOZIE_HTTPS_KEYSTORE_PASS=password
      setting CATALINA_OPTS="$CATALINA_OPTS -Doozie.https.port=${OOZIE_HTTPS_PORT}"
      setting CATALINA_OPTS="$CATALINA_OPTS -Doozie.https.keystore.pass=${OOZIE_HTTPS_KEYSTORE_PASS}"
      setting CATALINA_OPTS="$CATALINA_OPTS -Xmx1024m"
      setting OOZIE_CONFIG=/etc/oozie/conf
      setting OOZIE_LOG=/var/log/oozie
      Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.oozie.tools.OozieSharelibCLI
      at gnu.java.lang.MainThread.run(libgcj.so.10)
      Caused by: java.lang.ClassNotFoundException: org.apache.oozie.tools.OozieSharelibCLI not found in gnu.gcj.runtime.SystemClassLoader{urls=[], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
      at java.net.URLClassLoader.findClass(libgcj.so.10)
      at java.lang.ClassLoader.loadClass(libgcj.so.10)
      at java.lang.ClassLoader.loadClass(libgcj.so.10)
      at gnu.java.lang.MainThread.run(libgcj.so.10)

      Attachments

        Activity

          People

            Unassigned Unassigned
            trumboosahil shafi trummboo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: