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

stephen mallette closed TINKERPOP-1683.
---------------------------------------
       Resolution: Fixed
         Assignee: stephen mallette
    Fix Version/s: 3.2.6

I added the regex adjustment:

https://github.com/apache/tinkerpop/commit/e6c969e332e3ea5615af3863ab642b17043b3eab

> AbstractHadoopGraphComputer on Windows
> --------------------------------------
>
>                 Key: TINKERPOP-1683
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1683
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: hadoop
>    Affects Versions: 3.2.5
>         Environment: Windows
>            Reporter: Felix Hill
>            Assignee: stephen mallette
>            Priority: Trivial
>              Labels: RegEx
>             Fix For: 3.2.6
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> AbstractHadoopGraphComputer splits *HADOOP_GREMLIN_LIBS* in a wrong way if ; 
> is the File.pathSeparator (on windows).
> Here, the produced PATH_PATTERN splits a path at each character not at each 
> seperator.
> {code:title=AbstractHadoopGraphComputer.java|borderStyle=solid}
> private final static Pattern PATH_PATTERN =
>             Pattern.compile(File.pathSeparator.equals(":") ? "([^:]|://)+" : 
> ("[^" + File.pathSeparator + "]"));
> final Matcher matcher = PATH_PATTERN.matcher(hadoopGremlinLibs);
>                     while (matcher.find()) {
>                         final String path = matcher.group();
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to