Ted Yu created SPARK-11348:
------------------------------

             Summary: Replace addOnCompleteCallback with 
addTaskCompletionListener() in UnsafeExternalSorter
                 Key: SPARK-11348
                 URL: https://issues.apache.org/jira/browse/SPARK-11348
             Project: Spark
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Trivial


When practicing the command from SPARK-11318, I got the following:
{code}
[WARNING] 
/home/hbase/spark/core/src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorter.java:[141,15]
 [deprecation]                                      
addOnCompleteCallback(Function0<BoxedUnit>) in TaskContext has been deprecated
{code}
addOnCompleteCallback should be replaced with addTaskCompletionListener()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to