lasdf1234 opened a new pull request, #14979:
URL: https://github.com/apache/gravitino/pull/14979

   ### What changes were proposed in this pull request?
   
   - Make `JobRuntimeTemplateMaskUtils.maskSensitiveArguments` public for reuse 
on full command lists.
   - Mask `--updater-options` / `--spark-conf` before INFO logging in 
`SparkProcessBuilder` and `ShellProcessBuilder`; `ProcessBuilder` still gets 
the plaintext list.
   - Add a unit test covering a full `spark-submit`-shaped command list.
   
   ### Why are the changes needed?
   
   Local executor INFO logs previously joined the raw command and leaked the 
same credential JSON that API/event paths already mask.
   
   Fixes #14978
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. Log output for those two flags is masked; job execution behavior is 
unchanged.
   
   ### How was this patch tested?
   
   `./gradlew :core:test --tests 
org.apache.gravitino.job.TestJobRuntimeTemplateMaskUtils -PskipITs`
   
   Made with [Cursor](https://cursor.com)


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to