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

    https://github.com/apache/spark/pull/19359#discussion_r141742560
  
    --- Diff: dev/create-release/release-build.sh ---
    @@ -345,16 +345,14 @@ if [[ "$1" == "publish-snapshot" ]]; then
       #  -DskipTests $SCALA_2_12_PROFILES $PUBLISH_PROFILES clean deploy
     
       # Clean-up Zinc nailgun process
    -  /usr/sbin/lsof -P |grep $ZINC_PORT | grep LISTEN | awk '{ print $2; }' | 
xargs kill
    +  lsof -P |grep $ZINC_PORT | grep LISTEN | awk '{ print $2; }' | xargs kill
    --- End diff --
    
    Huh that's weird, not something I expected. I think in that case the user 
could just add `/usr/sbin` to their `$PATH` (whereas on some systems lsof is in 
`/usr/bin` not `/usr/sbin` so fixing that would require root).


---

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

Reply via email to