accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Marion (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-3923) VFS ClassLoader doesnt' work with KeywordExecutable
Date Sun, 12 Jun 2016 15:54:21 GMT


Dave Marion commented on ACCUMULO-3923:

bq. It is not clear at all what general.vfs.classpaths value is supposed to be. A directory?
A java classpath style wildcard? A regex for jars? 

>From the example in the [blog|]
    <description>Configuration for a system level vfs classloader. Accumulo jars can
be configured here and loaded out of HDFS.</description>

You should be able to do the following:
1. Untar an accumulo distribution somewhere
2. create the configuration files (
3. Make appropriate changes to and accumulo-site.xml, to include the property
4. Run, this will push most of the jars into the location specified in the
general.vfs.classpaths property
5. Do what Christopher suggested [above|]

> VFS ClassLoader doesnt' work with KeywordExecutable
> ---------------------------------------------------
>                 Key: ACCUMULO-3923
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Josh Elser
>            Assignee: Dave Marion
>            Priority: Critical
>             Fix For: 1.7.3, 1.8.0
> Trying to make the VFS classloading stuff work and it doesn't seem like ServiceLoader
is finding any of the KeywordExecutable implementations.
> Best I can tell after looking into this, VFSClassLoader (created by AccumuloVFSClassLoader)
has all of the jars listed as resources, but when ServiceLoader tries to find the META-INF/services
definitions, it returns nothing, and thus we think the keyword must be a class name. Seems
like a commons-vfs bug.

This message was sent by Atlassian JIRA

View raw message