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

    https://github.com/apache/spark/pull/6360#discussion_r32145736
  
    --- Diff: 
yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala ---
    @@ -503,8 +513,8 @@ private[spark] class ApplicationMaster(
         val userThread = new Thread {
           override def run() {
             try {
    -          val mainArgs = new Array[String](args.userArgs.size)
    -          args.userArgs.copyToArray(mainArgs, 0, args.userArgs.size)
    +          val mainArgs = new Array[String](userArgs.size)
    +          userArgs.copyToArray(mainArgs, 0, userArgs.size)
    --- End diff --
    
    This comes from all the way back when there was `yarn/alpha` and 
`yarn/stable`, but yeah, it doesn't look necessary.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to