hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Wolf <opus...@gmail.com>
Subject Re: Problem Stopping 0.90.5 Standalone (2)
Date Tue, 10 Jan 2012 19:17:04 GMT
Perhaps not related, but I followed the "Run the 
'${HBASE_HOME}/bin/hbase migrate' script" suggestion and...


Hemiola:logs peter$ ../bin/hbase migrate
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/hadoop/hbase/util/Migrate
Caused by: java.lang.ClassNotFoundException: 
org.apache.hadoop.hbase.util.Migrate
     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)



On 1/10/12 1:52 PM, Peter Wolf wrote:
> After manually killing the server, blowing away my local files, and 
> restarting, here's what I get.  Does the WARNING indicate the problem?
>
> P
>
>
>
>
> Hemiola:logs peter$ tail hbase-peter-master-Hemiola.local.out
> WARNING! File system needs to be upgraded.  You have version null and 
> I want version 7.  Run the '${HBASE_HOME}/bin/hbase migrate' script.
>
> Hemiola:logs peter$ tail hbase-peter-master-Hemiola.local.log
> java.net.ConnectException: Connection refused
>     at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>     at 
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>     at 
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
> 2012-01-10 13:48:41,282 INFO org.apache.zookeeper.ClientCnxn: Opening 
> socket connection to server localhost/127.0.0.1:2181
> 2012-01-10 13:48:41,282 WARN org.apache.zookeeper.ClientCnxn: Session 
> 0x134c8f330350001 for server null, unexpected error, closing socket 
> connection and attempting reconnect
> java.net.ConnectException: Connection refused
>     at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>     at 
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>     at 
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
>
>
>
> On 1/10/12 1:02 PM, Stack wrote:
>> On Tue, Jan 10, 2012 at 9:03 AM, Peter Wolf<opus111@gmail.com>  wrote:
>>> Hello all,
>>>
>>> I am having trouble starting and stopping Standalone HBase.
>>>
>>> I successfully start Standalone, or at least there is no error message
>> Anything in the hbase logs -- see under the logs/ dir?
>>
>> Have you changed config?   You are using defaults and hbase is staring
>> up zookeeper?  It looks like its not running.
>>
>> St.Ack
>


Mime
View raw message