accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlmarion <dlmar...@comcast.net>
Subject RE: Installing custom authorizor
Date Thu, 19 Feb 2015 02:04:00 GMT
Did you restart Accumulo after you copied the jar? The general.classpaths locations are not
monitored and loaded dynamically.



<div>-------- Original message --------</div><div>From: Srikanth Viswanathan
<srikanthv2@gmail.com> </div><div>Date:02/18/2015  8:42 PM  (GMT-05:00)
</div><div>To: user@accumulo.apache.org </div><div>Cc:  </div><div>Subject:
Installing custom authorizor </div><div>
</div>What are the steps involved in installing a custom authorizor for use
by accumulo? I copied the jar containing my custom authorizor class
into the path contained in the "general.classpaths" property, but
accumulo isn't able to find it:

[conf.AccumuloConfiguration] WARN : Failed to load class
java.lang.ClassNotFoundException:
com.myenterprise.accumulo.authorizor.MyAuthorizor
at org.apache.commons.vfs2.impl.VFSClassLoader.findClass(VFSClassLoader.java:175)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.apache.accumulo.start.classloader.vfs.AccumuloVFSClassLoader.loadClass(AccumuloVFSClassLoader.java:112)
at org.apache.accumulo.core.conf.AccumuloConfiguration.instantiateClassProperty(AccumuloConfiguration.java:239)
at org.apache.accumulo.server.security.SecurityOperation.getAuthorizor(SecurityOperation.java:88)
at org.apache.accumulo.server.security.AuditedSecurityOperation.getInstance(AuditedSecurityOperation.java:74)
at org.apache.accumulo.server.security.AuditedSecurityOperation.getInstance(AuditedSecurityOperation.java:69)
at org.apache.accumulo.tserver.TabletServer.config(TabletServer.java:3476)
at org.apache.accumulo.tserver.TabletServer.main(TabletServer.java:3671)
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$1.run(Main.java:141)
at java.lang.Thread.run(Thread.java:745)

Am I missing a step? Thank you.
Mime
View raw message