accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-3801) Mini will not start because of jar sealing issue
Date Tue, 12 May 2015 14:31:01 GMT
Keith Turner created ACCUMULO-3801:
--------------------------------------

             Summary: Mini will not start because of jar sealing issue
                 Key: ACCUMULO-3801
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3801
             Project: Accumulo
          Issue Type: Bug
            Reporter: Keith Turner
            Priority: Blocker
             Fix For: 1.7.0


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

{noformat}
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)
{noformat}

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

{noformat}
$ 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/
  .
  .
  .
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message