accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Vines (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACCUMULO-1514) AccumuloVFSClassloader incorrectly treats folders as folders of jar files
Date Mon, 28 Oct 2013 23:36:36 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Vines resolved ACCUMULO-1514.
----------------------------------

    Resolution: Cannot Reproduce

Had the following as the last item in my general classpath
{code}/home/john/workspace/accumulo/server/target/classes/org/apache/accumulo/server{code}

with the dirlist
{code}ls /home/john/workspace/accumulo/server/target/classes/org/apache/accumulo/server
Accumulo$1.class           cli     constraints  fs         logger       metrics   security
              tabletserver  util
Accumulo.class             client  data         gc         master       monitor   ServerConstants.class
 thrift        zookeeper
Accumulo$LogMonitor.class  conf    fate         iterators  metanalysis  problems  ServerOpts.class
      trace
{code}

and got the following with bin/accumulo classpath

{code}
...
	file:/usr/lib/hadoop/lib/oro-2.0.8.jar
	file:/usr/lib/hadoop/lib/aspectjtools-1.6.11.jar
	file:/usr/lib/hadoop/lib/jetty-6.1.26.jar
	file:/home/john/workspace/accumulo/server/target/classes/org/apache/accumulo/server/

Level 4: Accumulo Dynamic Classloader (loads everything defined by general.dynamic.classpaths)
VFS classpaths items are:
...
{code}


Tried with and without the trailing / on the path and never got it to pick up any of the subdirectories

> AccumuloVFSClassloader incorrectly treats folders as folders of jar files
> -------------------------------------------------------------------------
>
>                 Key: ACCUMULO-1514
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1514
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Christopher Tubbs
>            Assignee: John Vines
>             Fix For: 1.6.0
>
>
> Specifying a directory of classes is incorrectly interpreted as a directory of jars in
the general.dynamic.classpaths configuration property.
> Example: adding a path such as *_$ACCUMULO_HOME/core/target/classes_* gets incorrectly
interpreted as *_$ACCUMULO_HOME/core/target/classes/\*_* and evaluates to *_$ACCUMULO_HOME/core/target/classes/org_*
and *_$ACCUMULO_HOME/core/target/classes/META-INF_*, but *NOT* to *_$ACCUMULO_HOME/core/target/classes_*
as expected.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message