Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B9EAF1087D for ; Mon, 19 Jan 2015 09:50:59 +0000 (UTC) Received: (qmail 13453 invoked by uid 500); 19 Jan 2015 09:50:59 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 13387 invoked by uid 500); 19 Jan 2015 09:50:59 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 13375 invoked by uid 99); 19 Jan 2015 09:50:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jan 2015 09:50:59 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yuzhihong@gmail.com designates 209.85.160.169 as permitted sender) Received: from [209.85.160.169] (HELO mail-yk0-f169.google.com) (209.85.160.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jan 2015 09:50:34 +0000 Received: by mail-yk0-f169.google.com with SMTP id 200so2284528ykr.0 for ; Mon, 19 Jan 2015 01:49:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=G2C8GjSNmrPpQwXuEdb0nHJK5V1bspK/MNQkwDyXZDc=; b=Cz/b8VAII0EODBizTBRuoFT0mGw2OmD/jxDXcru+BN3N1wyv1TbCArpQNv2s5QfUWD REvjzwOjt0n9GRTPA4EOUliV4ygIFrswT5ggiwnXleCkauFBzh3F6JR7gLqPhkuK4PJy uhMUeRka0Gly+JckeFQ4kGH9kiXtQiN14/mof+KYlt7N5NOhKo7jhfGE5EGxnGIPB44C b0UoGB+3WJWkeby+yf5Hk9jRaXKLAkCgH4h/lKf2S3EjdbgXzKf6QK+G1+22luTH7wy5 r3XQuabP40G7VIKAb+rswrQOhYfAbnnb5siGUhHs72ESIjvy5lG6JMFrkaIr/8vUNT69 dmgQ== MIME-Version: 1.0 X-Received: by 10.170.211.195 with SMTP id c186mr20000504ykf.26.1421660942507; Mon, 19 Jan 2015 01:49:02 -0800 (PST) Received: by 10.170.139.4 with HTTP; Mon, 19 Jan 2015 01:49:02 -0800 (PST) In-Reply-To: References: Date: Mon, 19 Jan 2015 01:49:02 -0800 Message-ID: Subject: Re: HBase Restful Start Error ->Port in use: 0.0.0.0:8085 From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a113a7c9a78273c050cfe3b24 X-Virus-Checked: Checked by ClamAV on apache.org --001a113a7c9a78273c050cfe3b24 Content-Type: text/plain; charset=UTF-8 What's the value for config 'hbase.rest.info.port' (default 8085) ? What hbase release are you using ? Cheers On Sun, Jan 18, 2015 at 10:47 PM, anil gupta wrote: > Hi, > > We are trying to start HBase startgate on one the node that is running > HBase master. Some rest stuff of HBase has occupied port 8085. Can anyone > tell me what's going on? > > We are seeting this error: > [root@truecar.com ~]# hbase rest start -p 18080 -ro > 2015-01-16 13:47:16,089 INFO [main] util.VersionInfo: HBase > 0.98.0.2.1.5.0-695-hadoop2 > 2015-01-16 13:47:16,089 INFO [main] util.VersionInfo: Subversion > > git://ip-10-0-0-92.ec2.internal/grid/0/jenkins/workspace/BIGTOP-HDP_RPM_REPO-baikal-GA-centos6/bigtop/build/hbase/rpm/BUILD/hbase-0.98.0.2.1.5.0 > -r aed8a99b63d587ea7b43e6bfc99a020fe0f76852 > 2015-01-16 13:47:16,089 INFO [main] util.VersionInfo: Compiled by jenkins > on Wed Aug 27 23:31:11 EDT 2014 > SLF4J: Class path contains multiple SLF4J bindings. > SLF4J: Found binding in > > [jar:file:/usr/lib/hadoop/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in > > [jar:file:/usr/lib/zookeeper/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an > explanation. > 2015-01-16 13:47:16,571 INFO [main] impl.MetricsConfig: loaded properties > from hadoop-metrics2-hbase.properties > 2015-01-16 13:47:16,598 INFO [main] impl.MetricsSinkAdapter: Sink ganglia > started > 2015-01-16 13:47:16,639 INFO [main] impl.MetricsSystemImpl: Scheduled > snapshot period at 10 second(s). > 2015-01-16 13:47:16,639 INFO [main] impl.MetricsSystemImpl: HBase metrics > system started > 2015-01-16 13:47:16,717 INFO [main] mortbay.log: Logging to > org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via > org.mortbay.log.Slf4jLog > 2015-01-16 13:47:16,756 INFO [main] http.HttpServer: Added global filter > 'safety' (class=org.apache.hadoop.http.HttpServer$QuotingInputFilter) > 2015-01-16 13:47:16,759 INFO [main] http.HttpServer: Added filter > static_user_filter > (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to > context rest > 2015-01-16 13:47:16,759 INFO [main] http.HttpServer: Added filter > static_user_filter > (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to > context static > 2015-01-16 13:47:16,767 INFO [main] http.HttpServer: HttpServer.start() > threw a non Bind IOException > java.net.BindException: Port in use: 0.0.0.0:8085 > at > org.apache.hadoop.http.HttpServer.openListener(HttpServer.java:750) > at org.apache.hadoop.http.HttpServer.start(HttpServer.java:694) > at org.apache.hadoop.hbase.rest.RESTServer.main(RESTServer.java:246) > Caused by: java.net.BindException: Address already in use > at sun.nio.ch.Net.bind0(Native Method) > at sun.nio.ch.Net.bind(Net.java:444) > at sun.nio.ch.Net.bind(Net.java:436) > at > sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214) > 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:746) > ... 2 more > Exception in thread "main" java.net.BindException: Port in use: > 0.0.0.0:8085 > at > org.apache.hadoop.http.HttpServer.openListener(HttpServer.java:750) > at org.apache.hadoop.http.HttpServer.start(HttpServer.java:694) > at org.apache.hadoop.hbase.rest.RESTServer.main(RESTServer.java:246) > Caused by: java.net.BindException: Address already in use > at sun.nio.ch.Net.bind0(Native Method) > at sun.nio.ch.Net.bind(Net.java:444) > at sun.nio.ch.Net.bind(Net.java:436) > at > sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214) > 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:746) > ... 2 more > 2015-01-16 13:47:16,771 INFO [Shutdown] mortbay.log: Shutdown hook > executing > > -- > Thanks & Regards, > Anil Gupta > --001a113a7c9a78273c050cfe3b24--