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

DO NOT purge the output location if it has content in SparkGraphComputer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.6.2
    • 3.7.0, 3.5.7, 3.6.5
    • hadoop
    • None

    Description

      The default logic for SparkGraphComputer is to purge all content if the output location is specified. That is a dangerous operation especially for the output location which contains contents.

      https://github.com/apache/tinkerpop/blob/master/spark-gremlin/src/main/java/org/apache/tinkerpop/gremlin/spark/process/computer/SparkGraphComputer.java#L317:L324

      The correct behavior is to stop the process if it detects the output location is not empty.

      Attachments

        Activity

          People

            xiazcy Yang Xia
            redriver Redriver
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: