apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PramodSSImmaneni <...@git.apache.org>
Subject [GitHub] incubator-apex-core pull request: APEX-181 added utility function ...
Date Thu, 08 Oct 2015 11:53:01 GMT
Github user PramodSSImmaneni commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/107#discussion_r41503684
  
    --- Diff: engine/src/main/java/com/datatorrent/stram/client/StramClientUtils.java ---
    @@ -777,4 +777,24 @@ public static String getSocketConnectString(InetSocketAddress socketAddress)
         return host + ":" + socketAddress.getPort();
       }
     
    +  public static List<InetSocketAddress> getRMAddresses(Configuration conf)
    +  {
    +
    +    List<InetSocketAddress> rmAddresses = new ArrayList<>();
    +    String rmWebAppAddress = conf.get(YarnConfiguration.RM_WEBAPP_ADDRESS);
    --- End diff --
    
    No need to get webapp address here as the if, else below provides defaults if webapp address
is not available


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message