Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-5234

examples for ml don't have sparkContext.stop

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.1, 1.3.0
    • Component/s: ML
    • Labels:
      None
    • Environment:

      all

      Description

      Not sure why sc.stop() is not in the
      org.apache.spark.examples.ml

      {CrossValidatorExample, SimpleParamsExample, SimpleTextClassificationPipeline}

      .

      I can prepare a PR if it's not intentional to omit the call to stop.

        Attachments

          Activity

            People

            • Assignee:
              yuhaoyan yuhao yang
              Reporter:
              yuhaoyan yuhao yang
              Shepherd:
              Xiangrui Meng
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified