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

Misspecified HADOOP_GREMLIN_LIBS generates NullPointerException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1-incubating
    • Fix Version/s: 3.1.0-incubating
    • Component/s: hadoop
    • Labels:
      None
    • Environment:
      Linux, gremlin shell

      Description

      If HADOOP_GREMLIN_LIBS is specified incorrectly, for example listing jar files and not directories, the code generates the following error:

      Caused by: java.lang.NullPointerException
      at java.util.Arrays.stream(Arrays.java:5004)
      at java.util.stream.Stream.of(Stream.java:1000)
      at org.apache.tinkerpop.gremlin.hadoop.process.computer.giraph.GiraphGraphComputer.loadJars(GiraphGraphComputer.java:197)
      at org.apache.tinkerpop.gremlin.hadoop.process.computer.giraph.GiraphGraphComputer.lambda$submit$41(GiraphGraphComputer.java:101)

        Attachments

          Activity

            People

            • Assignee:
              okram Marko A. Rodriguez
              Reporter:
              drobin1437 David Robinson
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: