Github user anwar6953 commented on a diff in the pull request:

    https://github.com/apache/twill/pull/39#discussion_r107265236
  
    --- Diff: 
twill-yarn/src/main/java/org/apache/twill/yarn/YarnTwillPreparer.java ---
    @@ -455,21 +475,40 @@ private void saveLogLevels(String runnableName, 
Map<String, LogEntry.Level> logL
         this.logLevels.put(runnableName, newLevels);
       }
     
    +  /**
    +   * Creates an {@link Credentials} by copying the {@link Credentials} of 
the current user.
    +   */
       private Credentials createCredentials() {
         Credentials credentials = new Credentials();
     
         try {
           
credentials.addAll(UserGroupInformation.getCurrentUser().getCredentials());
    +    } catch (IOException e) {
    --- End diff --
    
    I guess app submission would fail if caller doesn't acquire required 
credentials in its own way anyways.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to