Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # user >> java.lang.VerifyError: Cannot inherit from final class


Copy link to this message
-
Re: java.lang.VerifyError: Cannot inherit from final class
Can you post some more information about how you're running your program
on your Windows client (specifically, the classpath)? Are you using
something like Ant/Maven to manage dependencies? Also, what version of
Java are you running on your Linode instance?
On 07/14/2012 08:27 PM, David Medinets wrote:
> This was unexpected. My code is simple but ran into a problem. I am
> connecting from my Windows computer to the Linode Ubuntu-based server
> running Accumulo. The same code worked when run directly on the
> server. I copied all jar files from the Accumulo lib directory after I
> compiled Accumulo over to the Windows computer.
>
> Here is the code:
>
>          String instanceName = "development";
> String zooKeepers = "zookeeper.affy.com";
>          String user = "root";
>          byte[] pass = "XXXXX".getBytes();
>          String tableName = "rope";
>
>          ZooKeeperInstance instance = new
> ZooKeeperInstance(instanceName, zooKeepers);
>          Connector connector = instance.getConnector(user, pass);
>
>          if (!connector.tableOperations().exists(tableName)) {
>              connector.tableOperations().create(tableName);
>          }
>
> And here is the output:
>
> START: com.codebits.accumulo.CreateTable
> 12/07/14 19:55:02 INFO zookeeper.ZooKeeper: Client
> environment:zookeeper.version=3.3.1-942149, built on 05/07/2010 17:14
> GMT
> 12/07/14 19:55:02 INFO zookeeper.ZooKeeper: Client environment:host.name=aashi
> 12/07/14 19:55:02 INFO zookeeper.ZooKeeper: Client
> environment:java.version=1.7.0_04
> 12/07/14 19:55:02 INFO zookeeper.ZooKeeper: Client
> environment:java.vendor=Oracle Corporation
> 12/07/14 19:55:02 INFO zookeeper.ZooKeeper: Client
> environment:java.home=C:\Program Files (x86)\Java\jdk1.7.0_04\jre
> 12/07/14 19:55:02 INFO zookeeper.ZooKeeper: Client
> environment:java.class.path=...
> 12/07/14 19:55:02 INFO zookeeper.ZooKeeper: Client
> environment:java.io.tmpdir=C:\Users\medined\AppData\Local\Temp\
> 12/07/14 19:55:02 INFO zookeeper.ZooKeeper: Client
> environment:java.compiler=<NA>
> 12/07/14 19:55:02 INFO zookeeper.ZooKeeper: Client environment:os.name=Windows 7
> 12/07/14 19:55:02 INFO zookeeper.ZooKeeper: Client environment:os.arch=x86
> 12/07/14 19:55:02 INFO zookeeper.ZooKeeper: Client environment:os.version=6.1
> 12/07/14 19:55:02 INFO zookeeper.ZooKeeper: Client environment:user.name=medined
> 12/07/14 19:55:02 INFO zookeeper.ZooKeeper: Client
> environment:user.home=C:\Users\medined
> 12/07/14 19:55:02 INFO zookeeper.ZooKeeper: Client
> environment:user.dir=C:\eclipse_projects\accumulo_playground
> 12/07/14 19:55:02 INFO zookeeper.ZooKeeper: Initiating client
> connection, connectString=zookeeper.affy.com sessionTimeout=30000
> watcher=org.apache.accumulo.fate.zookeeper.ZooSession$ZooWatcher@11adeb7
> 12/07/14 19:55:02 INFO zookeeper.ClientCnxn: Opening socket connection
> to server zookeeper.affy.com/66.175.213.65:2181
> 12/07/14 19:55:02 INFO zookeeper.ClientCnxn: Socket connection
> established to zookeeper.affy.com/66.175.213.65:2181, initiating
> session
> 12/07/14 19:55:02 INFO zookeeper.ClientCnxn: Session establishment
> complete on server zookeeper.affy.com/66.175.213.65:2181, sessionid > 0x138823b14b64848, negotiated timeout = 30000
> 12/07/14 19:55:03 WARN impl.ServerClient: Failed to find an available
> server in the list of servers: [66.175.213.65:9997:9997 (120000)]
> Exception in thread "main" java.lang.VerifyError: Cannot inherit from
> final class
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
> 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)
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB