Skip to content

Conversation

@nithinasokan
Copy link

https://issues.apache.org/jira/browse/SPARK-10554

Fixes NPE when ShutdownHook tries to cleanup temporary folders

@andrewor14
Copy link
Contributor

ok to test

@andrewor14
Copy link
Contributor

Looks fine. I would add a comment to explain that the blockManagerId could be null if the block manager is not initialized properly.

SPARK-10554: Fix javadoc
@nithinasokan
Copy link
Author

@andrewor14 fixed here 40e487b

@SparkQA
Copy link

SparkQA commented Sep 11, 2015

Test build #42345 has finished for PR 8720 at commit 2639ffd.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class ShuffleDependency[K: ClassTag, V: ClassTag, C: ClassTag](
    • class CoGroupedRDD[K: ClassTag](
    • class ShuffledRDD[K: ClassTag, V: ClassTag, C: ClassTag](
    • class MultilayerPerceptronClassifier(JavaEstimator, HasFeaturesCol, HasLabelCol, HasPredictionCol,
    • class MultilayerPerceptronClassificationModel(JavaModel):
    • class StringIndexer(JavaEstimator, HasInputCol, HasOutputCol, HasHandleInvalid):
    • ("thresholds", "Thresholds in multi-class classification to adjust the probability of " +
    • class HasHandleInvalid(Params):
    • class HasElasticNetParam(Params):
    • class HasFitIntercept(Params):
    • class HasStandardization(Params):
    • class HasThresholds(Params):
    • thresholds = Param(Params._dummy(), "thresholds", "Thresholds in multi-class classification to adjust the probability of predicting each class. Array must have length equal to the number of classes, with values >= 0. The class with largest value p/t is predicted, where p is the original probability of that class and t is the class' threshold.")
    • self.thresholds = Param(self, "thresholds", "Thresholds in multi-class classification to adjust the probability of predicting each class. Array must have length equal to the number of classes, with values >= 0. The class with largest value p/t is predicted, where p is the original probability of that class and t is the class' threshold.")

@andrewor14
Copy link
Contributor

Hm, retest this please?

@SparkQA
Copy link

SparkQA commented Sep 11, 2015

Test build #42354 has finished for PR 8720 at commit 40e487b.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Sep 12, 2015

Test build #42360 has finished for PR 8720 at commit 40e487b.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

asfgit pushed a commit that referenced this pull request Sep 12, 2015
https://issues.apache.org/jira/browse/SPARK-10554

Fixes NPE when ShutdownHook tries to cleanup temporary folders

Author: Nithin Asokan <Nithin.Asokan@Cerner.com>

Closes #8720 from nasokan/SPARK-10554.

(cherry picked from commit 8285e3b)
Signed-off-by: Sean Owen <sowen@cloudera.com>
@srowen
Copy link
Member

srowen commented Sep 12, 2015

Merged to master / 1.5

@asfgit asfgit closed this in 8285e3b Sep 12, 2015
mingyukim pushed a commit to palantir/spark that referenced this pull request Sep 18, 2015
https://issues.apache.org/jira/browse/SPARK-10554

Fixes NPE when ShutdownHook tries to cleanup temporary folders

Author: Nithin Asokan <Nithin.Asokan@Cerner.com>

Closes apache#8720 from nasokan/SPARK-10554.
ashangit pushed a commit to ashangit/spark that referenced this pull request Oct 19, 2016
https://issues.apache.org/jira/browse/SPARK-10554

Fixes NPE when ShutdownHook tries to cleanup temporary folders

Author: Nithin Asokan <Nithin.Asokan@Cerner.com>

Closes apache#8720 from nasokan/SPARK-10554.

(cherry picked from commit 8285e3b)
Signed-off-by: Sean Owen <sowen@cloudera.com>
(cherry picked from commit f8909a6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants