Yikun opened a new pull request #32604:
URL: https://github.com/apache/spark/pull/32604


   ## What changes were proposed in this pull request?
   Use ` > /dev/null 2>&1` to replace `-q` in shasum validation.
   
   ### Why are the changes needed?
   In PR https://github.com/apache/spark/pull/32505 , added the shasum check on 
maven. The `shasum -a 512 -q -c xxx.sha` is used to validate checksum, the `-q` 
args is for "don't print OK for each successfully verified file", but `-q` arg 
is introduce in shasum 6.x version.
   
   So we got the `Unknown option: q`.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   `shasum -a 512 -c wrong.sha  > /dev/null 2>&1` return code 1 without print
   `shasum -a 512 -c right.sha  > /dev/null 2>&1` return code 0 without print


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to