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

Error while Shutting Down Gremlin Server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.4.4
    • 3.5.0, 3.3.11, 3.4.7
    • server
    • None

    Description

      I have a kubernetes environment where gremlin server is running as a server. While shutting down gremlin-server, I see below mentioned error

      20:23:08.959 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.op.OpLoader - Adding the cypher OpProcessor.
      20:23:08.963 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.op.OpLoader - Adding the standard OpProcessor.
      20:23:08.968 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.op.OpLoader - Adding the session OpProcessor.
      20:23:09.163 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.op.OpLoader - Adding the traversal OpProcessor.
      20:01:51.200 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.GremlinServer - Shutting down OpProcessor[]
      20:01:51.201 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.GremlinServer - Shutting down OpProcessor[cypher]
      20:01:51.201 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.GremlinServer - Shutting down OpProcessor[session]
      20:01:51.202 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.GremlinServer - Shutting down OpProcessor[traversal]
      20:01:51.203 [gremlin-server-shutdown] INFO  o.a.t.gremlin.server.GremlinServer - Shutting down thread pools.
      20:01:51.203 [gremlin-server-shutdown] DEBUG o.a.t.gremlin.server.GremlinServer - Shutdown Gremlin thread pool.
      Exception in thread "gremlin-server-shutdown" java.lang.NullPointerException
              at org.apache.tinkerpop.gremlin.server.GremlinServer.stop(GremlinServer.java:255)
              at org.apache.tinkerpop.gremlin.server.GremlinServer.lambda$new$0(GremlinServer.java:103)
              at java.lang.Thread.run(Thread.java:748)
      

      Steps carried out
      1. server start -> bin/gremlin-server.sh start
      2. Check whether graphs mentioned in gremlin-server.yaml have loaded properly or not
      3. If failure, then stop the server by calling -> bin/gremlin-server.sh stop
      4. Check logs5. Exit environment

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            sarthakghosh Sarthak Ghosh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: