Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8815

Ranger fail to start in minicluster if you source set-classpath.sh

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 3.4.0
    • Infrastructure
    • None

    Description

      The below appear in logs/cluster/ranger/catalina.out

      java.io.FileNotFoundException: /home/tarmstrong/Impala/incubator-impala/toolchain/cdh_components-1173663/hive-2.1.1-cdh6.x-SNAPSHOT/lib/datanucleus-api-jdo-3.2.1.jar (No such file or directory)
              at java.util.zip.ZipFile.open(Native Method)
              at java.util.zip.ZipFile.<init>(ZipFile.java:225)
              at java.util.zip.ZipFile.<init>(ZipFile.java:155)
              at java.util.jar.JarFile.<init>(JarFile.java:166)
              at java.util.jar.JarFile.<init>(JarFile.java:103)
              at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:93)
              at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69)
              at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:99)
              at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
              at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
              at org.apache.tomcat.util.scan.FileUrlJar.<init>(FileUrlJar.java:48)
              at org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:34)
              at org.apache.catalina.startup.ContextConfig$FragmentJarScannerCallback.scan(ContextConfig.java:2682)
              at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:325)
              at org.apache.tomcat.util.scan.StandardJarScanner.doScanClassPath(StandardJarScanner.java:235)
              at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:196)
              at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1913)
              at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1264)
              at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:881)
              at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:388)
              at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
              at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5606)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
              at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1707)
              at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1697)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
      

      Workaround:

      (unset CLASSPATH && . bin/impala-config.sh && ./testdata/bin/run-all.sh )
      

      or

      (unset CLASSPATH && . bin/impala-config.sh && ./testdata/bin/run-ranger-server.sh )
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tarmstrong Tim Armstrong
            tarmstrong Tim Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment