[jira] [Updated] (YARN-3714) AM proxy filter can not get proper default proxy address if RM-HA is enabled

2015-06-15 Thread Masatake Iwasaki (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Masatake Iwasaki updated YARN-3714:
---
Attachment: YARN-3714.004.patch

bq. We could check whether RM_WEBAPP_ADDRESS has been set with RM-ids. If not, 
we only need to check whether RM_HOSTNAME has been set with RM-ids instead of 
calling

Yeah. I rethinked that using HAUtil#verifyAndSetRMHAIdsList which update conf 
is not safe. I attached 004.


> AM proxy filter can not get proper default proxy address if RM-HA is enabled
> 
>
> Key: YARN-3714
> URL: https://issues.apache.org/jira/browse/YARN-3714
> Project: Hadoop YARN
>  Issue Type: Bug
>Reporter: Masatake Iwasaki
>Assignee: Masatake Iwasaki
>Priority: Minor
> Attachments: YARN-3714.001.patch, YARN-3714.002.patch, 
> YARN-3714.003.patch, YARN-3714.004.patch
>
>
> Default proxy address could not be got without setting 
> {{yarn.resourcemanager.webapp.address._rm-id_}} and/or 
> {{yarn.resourcemanager.webapp.https.address._rm-id_}} explicitly if RM-HA is 
> enabled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-3714) AM proxy filter can not get proper default proxy address if RM-HA is enabled

2015-06-14 Thread Masatake Iwasaki (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Masatake Iwasaki updated YARN-3714:
---
Attachment: YARN-3714.003.patch

I fixed the patch again to call {{HAUtil#verifyAndSetRMHAIdsList}} only if any 
webapp addresses are got in order to keep assumption of 
{{TestAmFilterInitializer}}. It expects that incomplete configuration 
properties should be ignored.

> AM proxy filter can not get proper default proxy address if RM-HA is enabled
> 
>
> Key: YARN-3714
> URL: https://issues.apache.org/jira/browse/YARN-3714
> Project: Hadoop YARN
>  Issue Type: Bug
>Reporter: Masatake Iwasaki
>Assignee: Masatake Iwasaki
>Priority: Minor
> Attachments: YARN-3714.001.patch, YARN-3714.002.patch, 
> YARN-3714.003.patch
>
>
> Default proxy address could not be got without setting 
> {{yarn.resourcemanager.webapp.address._rm-id_}} and/or 
> {{yarn.resourcemanager.webapp.https.address._rm-id_}} explicitly if RM-HA is 
> enabled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-3714) AM proxy filter can not get proper default proxy address if RM-HA is enabled

2015-06-14 Thread Masatake Iwasaki (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Masatake Iwasaki updated YARN-3714:
---
Attachment: YARN-3714.002.patch

I updated the patch to use existing {{HAUtil#verifyAndSetRMHAIdsList}} instead 
of adding new logic.

> AM proxy filter can not get proper default proxy address if RM-HA is enabled
> 
>
> Key: YARN-3714
> URL: https://issues.apache.org/jira/browse/YARN-3714
> Project: Hadoop YARN
>  Issue Type: Bug
>Reporter: Masatake Iwasaki
>Assignee: Masatake Iwasaki
>Priority: Minor
> Attachments: YARN-3714.001.patch, YARN-3714.002.patch
>
>
> Default proxy address could not be got without setting 
> {{yarn.resourcemanager.webapp.address._rm-id_}} and/or 
> {{yarn.resourcemanager.webapp.https.address._rm-id_}} explicitly if RM-HA is 
> enabled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-3714) AM proxy filter can not get proper default proxy address if RM-HA is enabled

2015-05-27 Thread Masatake Iwasaki (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Masatake Iwasaki updated YARN-3714:
---
Attachment: YARN-3714.001.patch

Attached patch make WebAppUtils#getProxyHostsAndPortsForAmFilter to get RM 
webapp addresses from {{yarn.resourcemanager.hostname._rm-id_}} and default 
port number if {{yarn.resourcemanager.webapp.(https.)address._rm-id_}} are not 
set.

> AM proxy filter can not get proper default proxy address if RM-HA is enabled
> 
>
> Key: YARN-3714
> URL: https://issues.apache.org/jira/browse/YARN-3714
> Project: Hadoop YARN
>  Issue Type: Bug
>Reporter: Masatake Iwasaki
>Assignee: Masatake Iwasaki
>Priority: Minor
> Attachments: YARN-3714.001.patch
>
>
> Default proxy address could not be got without setting 
> {{yarn.resourcemanager.webapp.address._rm-id_}} and/or 
> {{yarn.resourcemanager.webapp.https.address._rm-id_}} explicitly if RM-HA is 
> enabled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-3714) AM proxy filter can not get proper default proxy address if RM-HA is enabled

2015-05-26 Thread Masatake Iwasaki (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Masatake Iwasaki updated YARN-3714:
---
Description: Default proxy address could not be got without setting 
{{yarn.resourcemanager.webapp.address._rm-id_}} and/or 
{{yarn.resourcemanager.webapp.https.address._rm-id_}} explicitly if RM-HA is 
enabled.

> AM proxy filter can not get proper default proxy address if RM-HA is enabled
> 
>
> Key: YARN-3714
> URL: https://issues.apache.org/jira/browse/YARN-3714
> Project: Hadoop YARN
>  Issue Type: Bug
>Reporter: Masatake Iwasaki
>Assignee: Masatake Iwasaki
>Priority: Minor
>
> Default proxy address could not be got without setting 
> {{yarn.resourcemanager.webapp.address._rm-id_}} and/or 
> {{yarn.resourcemanager.webapp.https.address._rm-id_}} explicitly if RM-HA is 
> enabled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)