hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10200) Better error message when HttpServer fails to start due to java.net.BindException
Date Wed, 01 Oct 2014 12:08:35 GMT

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

Hadoop QA commented on HBASE-10200:
-----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12672293/HBASE-10020-V3.patch
  against trunk revision .
  ATTACHMENT ID: 12672293

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 5 warning messages.

    {color:red}-1 findbugs{color}.  The patch appears to introduce 1 new Findbugs (version
2.0.3) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 lineLengths{color}.  The patch does not introduce lines longer than 100

  {color:green}+1 site{color}.  The mvn site goal succeeds with this patch.

     {color:red}-1 core tests{color}.  The patch failed these unit tests:
                       org.apache.hadoop.hbase.master.TestDistributedLogSplitting
                  org.apache.hadoop.hbase.mapred.TestTableSnapshotInputFormat
                  org.apache.hadoop.hbase.mapreduce.TestTableSnapshotInputFormat
                  org.apache.hadoop.hbase.TestZooKeeper

     {color:red}-1 core zombie tests{color}.  There are 2 zombie test(s): 	at org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFilesSplitRecovery.testSplitWhileBulkLoadPhase(TestLoadIncrementalHFilesSplitRecovery.java:339)
	at org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFiles.testSimpleLoad(TestLoadIncrementalHFiles.java:100)

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/11166//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11166//artifact/patchprocess/newPatchFindbugsWarningshbase-annotations.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11166//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11166//artifact/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11166//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11166//artifact/patchprocess/newPatchFindbugsWarningshbase-protocol.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11166//artifact/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11166//artifact/patchprocess/newPatchFindbugsWarningshbase-client.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11166//artifact/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11166//artifact/patchprocess/newPatchFindbugsWarningshbase-thrift.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11166//artifact/patchprocess/newPatchFindbugsWarningshbase-server.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/11166//console

This message is automatically generated.

> Better error message when HttpServer fails to start due to java.net.BindException
> ---------------------------------------------------------------------------------
>
>                 Key: HBASE-10200
>                 URL: https://issues.apache.org/jira/browse/HBASE-10200
>             Project: HBase
>          Issue Type: Task
>    Affects Versions: 2.0.0
>            Reporter: Ted Yu
>            Assignee: Kiran Kumar M R
>            Priority: Minor
>              Labels: beginner
>             Fix For: 2.0.0, 0.99.1
>
>         Attachments: 10200.out, HBASE-10020-V2.patch, HBASE-10020-V3.patch, HBASE-10020.patch,
HBASE-10020.patch
>
>
> Starting HBase using Hoya, I saw the following in log:
> {code}
> 2013-12-17 21:49:06,758 INFO  [master:hor12n19:42587] http.HttpServer: HttpServer.start()
threw a non Bind IOException
> java.net.BindException: Port in use: hor12n14.gq1.ygridcore.net:12432
>         at org.apache.hadoop.http.HttpServer.openListener(HttpServer.java:742)
>         at org.apache.hadoop.http.HttpServer.start(HttpServer.java:686)
>         at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:586)
>         at java.lang.Thread.run(Thread.java:722)
> Caused by: java.net.BindException: Cannot assign requested address
>         at sun.nio.ch.Net.bind0(Native Method)
>         at sun.nio.ch.Net.bind(Net.java:344)
>         at sun.nio.ch.Net.bind(Net.java:336)
>         at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:199)
>         at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
>         at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
>         at org.apache.hadoop.http.HttpServer.openListener(HttpServer.java:738)
> {code}
> This was due to hbase.master.info.bindAddress giving static address but Hoya allocates
master dynamically.
> Better error message should be provided: when bindAddress points another host than local
host, message should remind user to remove / adjust hbase.master.info.bindAddress config param
from hbase-site.xml



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

Mime
View raw message