Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3801

Mini will not start because of jar sealing issue

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:

      Description

      Tried building Fluo against 1.7.0 RC2. Fluo runs mini accumulo testing. Mini Accumulo's Tservers failed to start w/ the following exception.

      2015-05-12 09:55:06,377 [tserver.TabletServer] ERROR: Uncaught exception in TabletServer.main, exiting
      java.lang.SecurityException: sealing violation: package org.apache.accumulo.server is sealed
              at java.net.URLClassLoader.getAndVerifyPackage(URLClassLoader.java:388)
              at java.net.URLClassLoader.defineClass(URLClassLoader.java:417)
              at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
              at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
              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 org.apache.accumulo.tserver.TabletServer.<init>(TabletServer.java:260)
              at org.apache.accumulo.tserver.TabletServer.main(TabletServer.java:2955)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.apache.accumulo.start.Main$2.run(Main.java:130)
              at java.lang.Thread.run(Thread.java:745)
      

      The issue was caused by the tserver jar having org.apache.accumulo.server.GarbageCollectionLogger

      $ for x in `find . -name "*.jar"`; do echo $x;  jar -tf $x | grep "org/apache/accumulo/server"; done
      ./accumulo-start/1.7.0/accumulo-start-1.7.0.jar
      ./accumulo-core/1.7.0/accumulo-core-1.7.0.jar
      ./accumulo-minicluster/1.7.0/accumulo-minicluster-1.7.0.jar
      ./accumulo-proxy/1.7.0/accumulo-proxy-1.7.0.jar
      ./accumulo-tserver/1.7.0/accumulo-tserver-1.7.0.jar
      org/apache/accumulo/server/
      org/apache/accumulo/server/GarbageCollectionLogger.class
      ./accumulo-maven-plugin/1.7.0/accumulo-maven-plugin-1.7.0.jar
      ./accumulo-tracer/1.7.0/accumulo-tracer-1.7.0.jar
      ./accumulo-shell/1.7.0/accumulo-shell-1.7.0.jar
      ./accumulo-server-base/1.7.0/accumulo-server-base-1.7.0.jar
      org/apache/accumulo/server/
      org/apache/accumulo/server/rpc/
      org/apache/accumulo/server/fs/
      org/apache/accumulo/server/watcher/
        .
        .
        .
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kturner Keith Turner
                Reporter:
                kturner Keith Turner
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h