Sean Busbey created ACCUMULO-2111:
-------------------------------------
Summary: Allow AccumuloClassLoader to use shell globbing
Key: ACCUMULO-2111
URL: https://issues.apache.org/jira/browse/ACCUMULO-2111
Project: Accumulo
Issue Type: Improvement
Components: start
Affects Versions: 1.5.0, 1.4.4
Reporter: Sean Busbey
Assignee: Sean Busbey
Right now, the classpath parsing for hte AccumuloClassLoader supports
* non-file URLs
* paths to a jar file
* paths to a directory
* paths with regex matching at the file level
This behavior is undocumented and incompatible with the output of other
ecosystem tools, most importantly the "[hadoop
classpath|http://hadoop.apache.org/docs/r1.0.4/commands_manual.html#classpath]"
command. that command may use shell globbing (depending on the hadoop distro).
Proposed solution:
* abstract the matching behavior
* add matching by shell globbing
* add a flag that determines if regex, globbing, or both (regex falling back to
globbing) is used
the flag should default to regex to maintain current out-of-the-box behavior.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)