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

Misspecified HADOOP_GREMLIN_LIBS generates NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.1-incubating
    • 3.1.0-incubating
    • hadoop
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: