Class SparkCommonPipelineOptions.TmpCheckpointDirFactory

java.lang.Object
org.apache.beam.runners.spark.SparkCommonPipelineOptions.TmpCheckpointDirFactory
All Implemented Interfaces:
org.apache.beam.sdk.options.DefaultValueFactory<String>
Enclosing interface:
SparkCommonPipelineOptions

public static class SparkCommonPipelineOptions.TmpCheckpointDirFactory extends Object implements org.apache.beam.sdk.options.DefaultValueFactory<String>
Returns the default checkpoint directory of /tmp/${job.name}. For testing purposes only. Production applications should use a reliable filesystem such as HDFS/S3/GS.
  • Constructor Details

    • TmpCheckpointDirFactory

      public TmpCheckpointDirFactory()
  • Method Details

    • create

      public String create(org.apache.beam.sdk.options.PipelineOptions options)
      Specified by:
      create in interface org.apache.beam.sdk.options.DefaultValueFactory<String>