Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1683

AbstractHadoopGraphComputer on Windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.2.5
    • Fix Version/s: 3.2.6
    • Component/s: hadoop
    • Labels:
      None
    • Environment:
      Windows

      Description

      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.

      AbstractHadoopGraphComputer.java
      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();
      }
      

        Attachments

          Activity

            People

            • Assignee:
              spmallette Stephen Mallette
              Reporter:
              Felix Hill Felix Hill
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified