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

    https://github.com/apache/twill/pull/13#discussion_r82059585
  
    --- Diff: 
twill-yarn/src/main/java/org/apache/twill/internal/ServiceMain.java ---
    @@ -145,9 +145,8 @@ protected static Location createAppLocation(final 
Configuration conf) {
           if (UserGroupInformation.isSecurityEnabled()) {
             ugi = UserGroupInformation.getCurrentUser();
           } else {
    -        String fsUser = System.getenv(EnvKeys.TWILL_FS_USER);
             if (fsUser == null) {
    -          throw new IllegalStateException("Missing environment variable " 
+ EnvKeys.TWILL_FS_USER);
    +          throw new IllegalStateException("Missing environment variable " 
+ Constants.TWILL_FS_USER);
    --- End diff --
    
    This error message is not right. The fs user now comes in the runtime spec, 
not from env, right? In fact, can this happen?


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