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 "Ayush Saxena (JIRA)" <ji...@apache.org> on 2019/07/30 18:38:00 UTC

[jira] [Commented] (HDFS-14681) TestDisableRouterQuota failed because port 8888 was occupied

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

Ayush Saxena commented on HDFS-14681:
-------------------------------------

8888 is Router Rpc Default port. Any idea what stayed up on 8888, is it problem with the UT that blocks the port?
Well that is configurable, but still would be great to know how the port got occupied, its better we solve the problem of port getting occupied


> TestDisableRouterQuota failed because port 8888 was occupied
> ------------------------------------------------------------
>
>                 Key: HDFS-14681
>                 URL: https://issues.apache.org/jira/browse/HDFS-14681
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: rbf
>            Reporter: Wei-Chiu Chuang
>            Assignee: Chao Sun
>            Priority: Minor
>
> HDFS-13710 added TestDisableRouterQuota. 
> It appears the test always occupy port 8888 and if I happen to have something using that port already, the test fails.
> {noformat}
> [ERROR] org.apache.hadoop.hdfs.server.federation.router.TestDisableRouterQuota  Time elapsed: 0.533 s  <<< ERROR!
> org.apache.hadoop.service.ServiceStateException: java.net.BindException: Problem binding to [0.0.0.0:8888] java.net.BindException: Address already in use; For mo
> re details see:  http://wiki.apache.org/hadoop/BindException
>         at org.apache.hadoop.service.ServiceStateException.convert(ServiceStateException.java:105)
>         at org.apache.hadoop.service.AbstractService.init(AbstractService.java:173)
>         at org.apache.hadoop.hdfs.server.federation.router.TestDisableRouterQuota.setUp(TestDisableRouterQuota.java:49)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
>         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
>         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>         at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
>         at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:379)
>         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:340)
>         at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
>         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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