accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srikanth Viswanathan <srikant...@gmail.com>
Subject RE: Installing custom authorizor
Date Thu, 19 Feb 2015 06:06:32 GMT
I figured out the issue. I had missed a step on my side. The jar containing
the custom Authorizor was actually meant to be part of a tarball that was
getting deployed to the accumulo site. I had forgotten to update the
tarball with my custom jar. Apologies (and thanks!).
On Feb 18, 2015 9:05 PM, "dlmarion" <dlmarion@comcast.net> wrote:

> Did you restart Accumulo after you copied the jar? The general.classpaths
> locations are not monitored and loaded dynamically.
>
>
>
> -------- Original message --------
> From: Srikanth Viswanathan <srikanthv2@gmail.com>
> Date:02/18/2015 8:42 PM (GMT-05:00)
> To: user@accumulo.apache.org
> Cc:
> Subject: Installing custom authorizor
>
> 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