hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From devrant <evan.con...@gmail.com>
Subject Re: Problem accessing /master-status
Date Mon, 06 Feb 2012 18:30:40 GMT

Thanks for the response Jimmy. Do you know if this a error on the server side
(/etc/hosts etc) or config files for hbase? (ie. conf/hbase-site.xml etc).


Jimmy Xiang wrote:
> 
> It may not be null actually.  It is most likely because the hostname
> cannot
> be resolved to an IP address.
> 
> Thanks,
> Jimmy
> 
> On Mon, Feb 6, 2012 at 10:10 AM, devrant <evan.conkle@gmail.com> wrote:
> 
>>
>> I received this error below...does anyone know why the hostname is
>> "null"?
>>
>> HTTP ERROR 500
>>
>> Problem accessing /master-status. Reason:
>>
>>    hostname can't be null
>>
>> Caused by:
>>
>> java.lang.IllegalArgumentException: hostname can't be null
>>        at java.net.InetSocketAddress.<init>(InetSocketAddress.java:121)
>>        at
>>
>> org.apache.hadoop.hbase.HServerAddress.getResolvedAddress(HServerAddress.java:108)
>>        at
>> org.apache.hadoop.hbase.HServerAddress.<init>(HServerAddress.java:64)
>>        at
>>
>> org.apache.hadoop.hbase.zookeeper.RootRegionTracker.dataToHServerAddress(RootRegionTracker.java:82)
>>        at
>>
>> org.apache.hadoop.hbase.zookeeper.RootRegionTracker.getRootRegionLocation(RootRegionTracker.java:61)
>>        at
>>
>> org.apache.hadoop.hbase.catalog.CatalogTracker.getRootLocation(CatalogTracker.java:163)
>>        at
>>
>> org.apache.hadoop.hbase.master.MasterStatusServlet.getRootLocationOrNull(MasterStatusServlet.java:82)
>>        at
>>
>> org.apache.hadoop.hbase.master.MasterStatusServlet.doGet(MasterStatusServlet.java:59)
>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>>        at
>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>>        at
>>
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
>>        at
>>
>> org.apache.hadoop.http.HttpServer$QuotingInputFilter.doFilter(HttpServer.java:829)
>>        at
>>
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
>>        at
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
>>        at
>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>>        at
>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>>        at
>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>>        at
>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>>        at
>>
>> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>>        at
>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>>        at org.mortbay.jetty.Server.handle(Server.java:326)
>>        at
>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>>        at
>>
>> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
>>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
>>        at
>> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>>        at
>> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>>        at
>>
>> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
>> --
>> View this message in context:
>> http://old.nabble.com/Problem-accessing--master-status-tp33273366p33273366.html
>> Sent from the HBase User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://old.nabble.com/Problem-accessing--master-status-tp33273366p33273484.html
Sent from the HBase User mailing list archive at Nabble.com.


Mime
View raw message