Github user caneGuy commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19338#discussion_r141236393
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/TaskSetManager.scala ---
    @@ -670,9 +670,12 @@ private[spark] class TaskSetManager(
               }
               if (blacklistedEverywhere) {
                 val partition = tasks(indexInTaskSet).partitionId
    -            abort(s"Aborting $taskSet because task $indexInTaskSet 
(partition $partition) " +
    -              s"cannot run anywhere due to node and executor blacklist.  
Blacklisting behavior " +
    -              s"can be configured via spark.blacklist.*.")
    +            abort(s"""
    +              |Aborting $taskSet because task $indexInTaskSet (partition 
$partition)
    +              |cannot run anywhere due to node and executor blacklist.
    +              |Most recent failure:
    +              |${taskSetBlacklist.getLatestFailureReason}\n
    --- End diff --
    
    It is my fault,scala version affected.My default scala is 2.10.4.And below 
is the result i tested with scala 2.11.2:
    ```
    scala> val s="""ss\nss
         | sss\n"""
    s: String =
    ss\nss
    sss\n
    
    scala> print(s)
    ss\nss
    sss\n
    ```


---

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

Reply via email to