lasdf1234 opened a new issue, #14978:
URL: https://github.com/apache/gravitino/issues/14978

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   `SparkProcessBuilder` / `ShellProcessBuilder` log the full process command 
at INFO. API and event paths already mask `--updater-options` and 
`--spark-conf` via `JobRuntimeTemplateMaskUtils`, but these local-executor logs 
join the raw `commandList`, so credentials still appear in server logs.
   
   ### Error message and/or stacktrace
   
   Example INFO line (sensitive values in plaintext):
   
   ```
   Starting local Spark job with command: ... --updater-options 
{"password":"..."} --spark-conf {"...password":"..."} ...
   ```
   
   ### How to reproduce
   
   1. Run a local Spark job whose template arguments include 
`--updater-options` / `--spark-conf` with secrets.
   2. Inspect Gravitino server INFO logs when the job starts.
   
   ### Additional context
   
   Related prior fix for the API/event path: #13858. Process execution must 
keep the plaintext command; only the logged copy should be masked.


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