You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Mukul Kumar Singh (JIRA)" <ji...@apache.org> on 2017/06/01 13:10:04 UTC
[jira] [Commented] (HDFS-11822) Block Storage: Fix TestCBlockCLI,
failing because of " Address already in use"
[ https://issues.apache.org/jira/browse/HDFS-11822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16032952#comment-16032952 ]
Mukul Kumar Singh commented on HDFS-11822:
------------------------------------------
Thanks for the review [~vagarychen],
1) I have converted the variable to local as you have suggested.
2) Moved some of the tests from TestLocalBlockCache to TestCBlockReadWrite, as TestLocalBlockCache was timing out
3) testMultipleBuffersFlush increases the flush interval to 120 secs as this test was failing as one of the flush was getting triggered because of the time interval.
> 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, HDFS-11822-HDFS-7240.003.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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org