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

AbstractHadoopGraphComputer on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.2.5
    • 3.2.6
    • hadoop
    • None
    • 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

            spmallette Stephen Mallette
            Felix Hill Felix Hill
            Votes:
            0 Vote for this issue
            Watchers:
            2 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