Github user tgravescs commented on the pull request:

    https://github.com/apache/spark/pull/7489#issuecomment-122954471
  
    @harishreedharan  is there a reason  the code in getDriverLogUrls getting 
the nodeReports when all it does is get the host  name of the host its already 
on?
    
    Note that we can get the information on AM from the environment:
          String containerIdStr =
              System.getenv(Environment.CONTAINER_ID.name());
          String nodeHostString = System.getenv(Environment.NM_HOST.name());
          String nodePortString = System.getenv(Environment.NM_PORT.name());
          String nodeHttpPortString =
              System.getenv(Environment.NM_HTTP_PORT.name());
          String appSubmitTimeStr =
    
    
    I would much rather change that code then add in more tokens.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to