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

Chen Liang commented on HDFS-11822:
-----------------------------------

Thanks [~msingh] for the patch! One question though: looks like 
{{cblockServiceRpcAddress}} and {{cblockServerRpcAddress}} in 
{{CBlockManager.java}} are only used to print the two log messages? In which 
case seems no need to have them as class member variables. Or is there anything 
missing here?

> Block Storage: Fix TestCBlockCLI, failing because of " Address already in use"
> ------------------------------------------------------------------------------
>
>                 Key: HDFS-11822
>                 URL: https://issues.apache.org/jira/browse/HDFS-11822
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>         Attachments: HDFS-11822-HDFS-7240.001.patch, 
> HDFS-11822-HDFS-7240.002.patch
>
>
> TestCBlockCLI is failing because of bind error.
> https://builds.apache.org/job/PreCommit-HDFS-Build/19429/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
> {code}
> org.apache.hadoop.cblock.TestCBlockCLI  Time elapsed: 0.668 sec  <<< ERROR!
> java.net.BindException: Problem binding to [0.0.0.0:9810] 
> java.net.BindException: Address already in use; 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:543)
>       at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:1033)
>       at org.apache.hadoop.ipc.Server.<init>(Server.java:2791)
>       at org.apache.hadoop.ipc.RPC$Server.<init>(RPC.java:960)
>       at 
> org.apache.hadoop.ipc.ProtobufRpcEngine$Server.<init>(ProtobufRpcEngine.java:420)
>       at 
> org.apache.hadoop.ipc.ProtobufRpcEngine.getServer(ProtobufRpcEngine.java:341)
>       at org.apache.hadoop.ipc.RPC$Builder.build(RPC.java:802)
>       at 
> org.apache.hadoop.cblock.CBlockManager.startRpcServer(CBlockManager.java:215)
>       at org.apache.hadoop.cblock.CBlockManager.<init>(CBlockManager.java:131)
>       at org.apache.hadoop.cblock.TestCBlockCLI.setup(TestCBlockCLI.java:57)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to