zhoulii opened a new pull request, #2599:
URL: https://github.com/apache/incubator-streampark/pull/2599

   ## What changes were proposed in this pull request
   
   when deploying a kubernetes session cluster with streampark, there is no log 
output neither in `webui/job manager/logs` nor in `kubectl logs` output.
   
   
![no-log-jm](https://user-images.githubusercontent.com/23091870/231329410-ea665301-755e-442d-80ff-a121dc570b84.png)
   
   output of `kubectl logs`:
   ```
   sed: couldn't open temporary file /opt/flink/conf/sedgqXrHO: Read-only file 
system
   sed: couldn't open temporary file /opt/flink/conf/sedPEE0Kh: Read-only file 
system
   /docker-entrypoint.sh: line 73: /opt/flink/conf/flink-conf.yaml: Read-only 
file system
   /docker-entrypoint.sh: line 89: /opt/flink/conf/flink-conf.yaml.tmp: 
Read-only file system
   Starting kubernetes-session as a console application on host 
sasasasaasa-7c6f8886bb-fhht8.
   ERROR StatusLogger Reconfiguration failed: No configuration found for 
'6d21714c' at 'null' in 'null'
   ERROR StatusLogger Reconfiguration failed: No configuration found for 
'327af41b' at 'null' in 'null'
   ```
   
   ## Brief change log
   
   when deploying a kubernetes session cluster, flink kubernetes client needs 
conf dir to mount log config, so we should set flink conf dir in flink 
configuration.
   
   ## Verifying this change
   
   - *Manually verified the change by testing locally.*
   
   ## Does this pull request potentially affect one of the following parts
    - Dependencies (does it add or upgrade a dependency): (yes / **no**)


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