You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Karthik Kambatla (JIRA)" <ji...@apache.org> on 2014/06/02 22:37:03 UTC

[jira] [Commented] (YARN-1590) _HOST doesn't expand properly for RM, NM, ProxyServer and JHS

    [ https://issues.apache.org/jira/browse/YARN-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14015862#comment-14015862 ] 

Karthik Kambatla commented on YARN-1590:
----------------------------------------

Just ran into this. If I am not mistaken, in the following snippet, we intended to use DEFAULT_PROXY_PORT instead of DEFAULT_RM_PORT. Correct? 
{code}
     PROXY_PREFIX + "address";
+  public static final int DEFAULT_PROXY_PORT = 9099;
+  public static final String DEFAULT_PROXY_ADDRESS =
+    "0.0.0.0:" + DEFAULT_RM_PORT;
{code}

YARN-2119 has been filed to fix this.

> _HOST doesn't expand properly for RM, NM, ProxyServer and JHS
> -------------------------------------------------------------
>
>                 Key: YARN-1590
>                 URL: https://issues.apache.org/jira/browse/YARN-1590
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 3.0.0, 2.2.0
>            Reporter: Mohammad Kamrul Islam
>            Assignee: Mohammad Kamrul Islam
>             Fix For: 2.4.0
>
>         Attachments: YARN-1590.1.patch, YARN-1590.2.patch, YARN-1590.3.patch, YARN-1590.4.patch
>
>
> _HOST is not properly substituted when we use VIP address. Currently it always used the host name of the machine and disregard the VIP address. It is true mainly for RM, NM, WebProxy, and JHS rpc service. Looks like it is working fine for webservice authentication.
> On the other hand, the same thing is working fine for NN and SNN in RPC as well as webservice.
>  



--
This message was sent by Atlassian JIRA
(v6.2#6252)