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

    https://github.com/apache/spark/pull/21849#discussion_r210121595
  
    --- Diff: 
launcher/src/main/java/org/apache/spark/launcher/OutputRedirector.java ---
    @@ -17,6 +17,8 @@
     
     package org.apache.spark.launcher;
     
    +import org.apache.commons.lang.StringUtils;
    --- End diff --
    
    This module shouldn't really depend on any 3rd-party libraries... there's 
an oddity in the current parent pom that causes this dependency to be available 
but I think we should instead fix that by adding this property to 
launcher/pom.xml:
    
    ```
        <hadoop.deps.scope>test</hadoop.deps.scope>
    ```
    
    `containsIgnoreCase` shouldn't really be hard to replicate. Although, if 
you really want to simplify things, I'd just set the error in this case to a 
generic "Spark exited with error code X. Please check logs.".


---

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

Reply via email to