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

    https://github.com/apache/spark/pull/22854#discussion_r228591941
  
    --- Diff: build/mvn ---
    @@ -163,8 +163,19 @@ export MAVEN_OPTS=${MAVEN_OPTS:-"$_COMPILE_JVM_OPTS"}
     
     echo "Using \`mvn\` from path: $MVN_BIN" 1>&2
     
    -# Last, call the `mvn` command as usual
    +# call the `mvn` command as usual
     "${MVN_BIN}" -DzincPort=${ZINC_PORT} "$@"
     
    -# Try to shut down zinc explicitly
    -"${ZINC_BIN}" -shutdown -port ${ZINC_PORT}
    +# check to see if zinc server is still running post-build
    +"${ZINC_BIN}" -status -port ${ZINC_PORT} &> /dev/null
    +ZINC_STATUS=$?
    +
    +# Try to shut down zinc explicitly if the server is still running
    --- End diff --
    
    now that i'm a couple cups of coffee in to my morning, i'm actually back to 
thinking that this might be the most elegant way of dealing w/this.
    
    i'll update the PR to do just this, and include a comment describing why 
we're doing it.


---

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

Reply via email to