You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2018/12/11 16:13:21 UTC

[GitHub] lamber-ken opened a new pull request #7279: [hotfix] add hadoop user name to yarn logs command

lamber-ken opened a new pull request #7279: [hotfix] add hadoop user name to yarn logs command
URL: https://github.com/apache/flink/pull/7279
 
 
   ## What is the purpose of the change
   
   if use yarn proxy user to submit the application to yarn cluser, the real hadoop user name will be the proxy user name, so use `yarn logs -applicationId <appId>`  will return nothing. it's right to use `yarn logs -applicationId <appId> -appOwner <userName>`.
   
   example, before submiting app to yarn cluster, if set the proxy user, when the app finished or killed.
   `yarn logs -applicationId <appId>` will return nothing.
   `yarn logs -applicationId <appId> -appOwner test` will return log info.
   
   #### proxy user
   ```
   export HADOOP_USER_NAME=flink
   export HADOOP_PROXY_USER=test
   ```
   
   
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services