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

Eric Yang commented on YARN-7470:
---------------------------------

[~csingh] Are we at risk of introducing circular dependencies?  Service-core is 
used by Resource Manager, but the current project setup is to build Resource 
Manager first, then Service core.  The loading of Service core is done through 
reflection.  If we import resource manager test jar into service core, then it 
becomes a circular dependency.  Is it possible to move HATestUtil to 
hadoop-yarn-server-common to avoid the circular dependency?

[~jianhe] [~billie.rinaldi] At some point, we will need to re-organize the 
service project setup to make sure circular dependency doesn't get introduced.

> TestYarnNativeServices testRecoverComponentsAfterRMRestart fails due to 
> BindingException
> ----------------------------------------------------------------------------------------
>
>                 Key: YARN-7470
>                 URL: https://issues.apache.org/jira/browse/YARN-7470
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Chandni Singh
>            Assignee: Chandni Singh
>             Fix For: yarn-native-services
>
>         Attachments: YARN-7470.001.patch
>
>
>  FAILURE! - in org.apache.hadoop.yarn.service.TestYarnNativeServices
> testRecoverComponentsAfterRMRestart(org.apache.hadoop.yarn.service.TestYarnNativeServices)
>   Time elapsed: 3.404 sec  <<< ERROR!
> org.apache.hadoop.yarn.exceptions.YarnRuntimeException: 
> org.apache.hadoop.yarn.exceptions.YarnRuntimeException: 
> java.net.BindException: Problem binding to [10.22.8.166:52637] 
> java.net.BindException: Can't assign requested address; For more details see: 
>  http://wiki.apache.org/hadoop/BindException
>       at sun.nio.ch.Net.bind0(Native Method)
>       at sun.nio.ch.Net.bind(Net.java:433)
>       at sun.nio.ch.Net.bind(Net.java:425)
>       at 
> sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
>       at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
>       at org.apache.hadoop.ipc.Server.bind(Server.java:545)
>       at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:1035)
>       at org.apache.hadoop.ipc.Server.<init>(Server.java:2807)
>       at org.apache.hadoop.ipc.RPC$Server.<init>(RPC.java:960)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to