[jira] [Commented] (MAPREDUCE-6402) Application Master listens on all IPs

2016-07-26 Thread vincent.chenfei (JIRA)

[ 
https://issues.apache.org/jira/browse/MAPREDUCE-6402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15394413#comment-15394413
 ] 

vincent.chenfei commented on MAPREDUCE-6402:


Please use the same solution of MAPREDUCE-5938 to fix this issue, thanks!

> Application Master listens on all IPs
> -
>
> Key: MAPREDUCE-6402
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6402
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: applicationmaster
>Affects Versions: 2.7.0
>Reporter: Peter Shi
>Assignee: Varun Saxena
>
> The application master listening on all IPs, which may cause security 
> problems. Similar issue: MAPREDUCE-5938



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

-
To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org



[jira] [Commented] (MAPREDUCE-6402) Application Master listens on all IPs

2016-07-07 Thread Brahma Reddy Battula (JIRA)

[ 
https://issues.apache.org/jira/browse/MAPREDUCE-6402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15366104#comment-15366104
 ] 

Brahma Reddy Battula commented on MAPREDUCE-6402:
-

Thanks for reply...Thought of handling the ShufflePort related in 
MAPREDUCE-5938 and AM IP ( as I mentioned above ) related changes here..

> Application Master listens on all IPs
> -
>
> Key: MAPREDUCE-6402
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6402
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: applicationmaster
>Affects Versions: 2.7.0
>Reporter: Peter Shi
>Assignee: Varun Saxena
>
> The application master listening on all IPs, which may cause security 
> problems. Similar issue: MAPREDUCE-5938



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

-
To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org



[jira] [Commented] (MAPREDUCE-6402) Application Master listens on all IPs

2016-07-07 Thread Varun Saxena (JIRA)

[ 
https://issues.apache.org/jira/browse/MAPREDUCE-6402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15365667#comment-15365667
 ] 

Varun Saxena commented on MAPREDUCE-6402:
-

No progress has been made. Actually we had decided that this issue will be 
handled as part of MAPREDUCE-5938.
Refer to comment 
https://issues.apache.org/jira/browse/YARN-4119?focusedCommentId=14734333=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14734333
Seems no progress has been made there as well.
cc [~naganarasimha...@apache.org]

> Application Master listens on all IPs
> -
>
> Key: MAPREDUCE-6402
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6402
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: applicationmaster
>Affects Versions: 2.7.0
>Reporter: Peter Shi
>Assignee: Varun Saxena
>
> The application master listening on all IPs, which may cause security 
> problems. Similar issue: MAPREDUCE-5938



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

-
To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org



[jira] [Commented] (MAPREDUCE-6402) Application Master listens on all IPs

2016-07-05 Thread Brahma Reddy Battula (JIRA)

[ 
https://issues.apache.org/jira/browse/MAPREDUCE-6402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15363123#comment-15363123
 ] 

Brahma Reddy Battula commented on MAPREDUCE-6402:
-

any update on this issue..?

I think, as per peter suggestion can we make use of nodemanger address..??

there are three places which we need consider for 
{{yarn.app.mapreduce.am.job.client.port-range}}.


1) {{appContext.getNMHostname()}} can be passed in  
MRClientService#serviceStart() for following two cases.

a ) {{InetSocketAddress address = new InetSocketAddress(0);}}


b) {code}
webApp =
  WebApps.$for("mapreduce", AppContext.class, appContext, "ws")
.withHttpPolicy(conf, Policy.HTTP_ONLY).start(new AMWebApp());
   {code}

3) "0.0.0.0" can be replace with {{context.getNMHostname()}} in 
{{TaskAttempListenerImpl#startRpcServer()}}
{code}
  server = 
  new RPC.Builder(conf).setProtocol(TaskUmbilicalProtocol.class)
.setInstance(this).setBindAddress("0.0.0.0")
.setPort(0).setNumHandlers(
conf.getInt(MRJobConfig.MR_AM_TASK_LISTENER_THREAD_COUNT, 
MRJobConfig.DEFAULT_MR_AM_TASK_LISTENER_THREAD_COUNT))
.setVerbose(false).setSecretManager(jobTokenSecretManager)
.build();
  {code}
  

Please correct me if I am wrong..

> Application Master listens on all IPs
> -
>
> Key: MAPREDUCE-6402
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6402
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: applicationmaster
>Affects Versions: 2.7.0
>Reporter: Peter Shi
>Assignee: Varun Saxena
>
> The application master listening on all IPs, which may cause security 
> problems. Similar issue: MAPREDUCE-5938



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

-
To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org



[jira] [Commented] (MAPREDUCE-6402) Application Master listens on all IPs

2015-07-16 Thread Varun Saxena (JIRA)

[ 
https://issues.apache.org/jira/browse/MAPREDUCE-6402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14629417#comment-14629417
 ] 

Varun Saxena commented on MAPREDUCE-6402:
-

Another possible solution is to configure the IP/host in NM config and NM can 
pass it through command line to AM where AM can read it.

 Application Master listens on all IPs
 -

 Key: MAPREDUCE-6402
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6402
 Project: Hadoop Map/Reduce
  Issue Type: Bug
  Components: applicationmaster
Affects Versions: 2.7.0
Reporter: Peter Shi
Assignee: Varun Saxena

 The application master listening on all IPs, which may cause security 
 problems. Similar issue: MAPREDUCE-5938



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