hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: error during Hbase running
Date Thu, 10 Jul 2014 09:23:00 GMT
Prashasti:
In you mvn command I noticed that assembly:single was missing. 
Is this a typo ?

Btw there is no hadoop-core jar for Hadoop 2.4.0

Cheers

On Jul 10, 2014, at 2:16 AM, Bharath Vissapragada <bharathv@cloudera.com> wrote:

> Hey,
> 
> +user@hbase
> 
> Make sure you are placing 2.4 version hadoop jars in hbase/lib folder so
> that HBase picks correct jars during runtime. This needs to be done across
> all the nodes in the cluster.
> 
> - Bharath
> 
> 
> On Thu, Jul 10, 2014 at 1:57 PM, Prashasti Agrawal <
> prashasti.iitkgp@gmail.com> wrote:
> 
>> Do I need to add some jar files in hbase lib folder? (I read on some
>> blogs) but I cannot find the hadoop-core-2.4.0.jar in my hadoop_home
>> 
>> 
>> On Thursday, 10 July 2014 13:29:11 UTC+5:30, Prashasti Agrawal wrote:
>>> 
>>> Hi,
>>> I followed the changes mentioned in the site. I made the desired changes
>>> in the pom file (replacind 2.2 with 2.4 everywhere) and built the project
>>> with mavin using   mvn clean install -Dhadoop.profile=2.0 -DskipTests. But
>>> the error still shows up the same.
>>> 
>>> On Thursday, 10 July 2014 11:46:35 UTC+5:30, Bharath Vissapragada wrote:
>>>> 
>>>> Did you compile Hbase-0.94.8 with 2.4 ? Check this page[1]
>>>> 
>>>> [1] http://hbase.apache.org/configuration.html#hadoop
>>>> 
>>>> 
>>>> On Thu, Jul 10, 2014 at 11:34 AM, Prashasti Agrawal <
>>>> prashast...@gmail.com> wrote:
>>>> 
>>>>> I am trying to run Hbase in pseudo-distributed mode. I am using
>>>>> Hbase-0.94.8 and Hadoop 2.4.0
>>>>> 
>>>>> The Hmaster, regionservers start but, when i try to view them in UI,
I
>>>>> get this error:
>>>>> 
>>>>> Problem accessing /master-status. Reason:
>>>>> 
>>>>>    org.apache.hadoop.net.NetUtils.getInputStream(Ljava/net/Socket;)Lorg/apache/hadoop/net/SocketInputWrapper;
>>>>> 
>>>>> Caused by:
>>>>> 
>>>>> java.lang.NoSuchMethodError: org.apache.hadoop.net.NetUtils.getInputStream(Ljava/net/Socket;)Lorg/apache/hadoop/net/SocketInputWrapper;
>>>>>    at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:437)
>>>>>    at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1124)
>>>>>    at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:974)
>>>>>    at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:86)
>>>>>    at com.sun.proxy.$Proxy10.getProtocolVersion(Unknown Source)
>>>>>    at org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:138)
>>>>>    at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:712)
>>>>>    at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:126)
>>>>>    at org.apache.hadoop.hbase.master.MasterStatusServlet.doGet(MasterStatusServlet.java:56)
>>>>>    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:835)
>>>>>    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)
>>>>>    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
>>>>> 
>>>>> --
>>>>> 
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "CDH Users" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to cdh-user+u...@cloudera.org.
>>>>> For more options, visit https://groups.google.com/a/
>>>>> cloudera.org/d/optout.
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Bharath Vissapragada
>>>> <http://www.cloudera.com>
>>> --
>> 
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "CDH Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to cdh-user+unsubscribe@cloudera.org.
>> For more options, visit https://groups.google.com/a/cloudera.org/d/optout.
> 
> 
> 
> -- 
> Bharath Vissapragada
> <http://www.cloudera.com>

Mime
View raw message