Re: HBase ShutdownHook problem
Is it just me or your classpath contains both Hadoop 1.2.1 and Hadoop 2.0.5-alpha jars? You might want to get that cleared up first. J-D On Wed, Oct 30, 2013 at 12:48 AM, Salih Kardan karda...@gmail.com wrote: Sorry for the late reply. Here is the stack trace 13/10/30 09:46:42 INFO util.ProcessTree: setsid exited with exit code 0 13/10/30 09:46:42 INFO util.VersionInfo: HBase 0.94.10 13/10/30 09:46:42 INFO util.VersionInfo: Subversion https://svn.apache.org/repos/asf/hbase/tags/0.94.10mvn2 -r 1506655 13/10/30 09:46:42 INFO util.VersionInfo: Compiled by lhofhans on Wed Jul 24 11:39:30 PDT 2013 13/10/30 09:46:42 INFO mapred.TaskTracker: Using ResourceCalculatorPlugin : org.apache.hadoop.util.LinuxResourceCalculatorPlugin@1e5ec04b 13/10/30 09:46:42 WARN mapred.TaskTracker: TaskTracker's totalMemoryAllottedForTasks is -1. TaskMemoryManager is disabled. 13/10/30 09:46:42 INFO mapred.IndexCache: IndexCache created with max memory = 10485760 13/10/30 09:46:42 INFO impl.MetricsSourceAdapter: MBean for source ShuffleServerMetrics registered. 13/10/30 09:46:42 INFO http.HttpServer: Port returned by webServer.getConnectors()[0].getLocalPort() before open() is -1. Opening the listener on 50060 13/10/30 09:46:42 INFO http.HttpServer: listener.getLocalPort() returned 50060 webServer.getConnectors()[0].getLocalPort() returned 50060 13/10/30 09:46:42 INFO http.HttpServer: Jetty bound to port 50060 13/10/30 09:46:42 INFO mortbay.log: jetty-6.1.26 13/10/30 09:46:42 INFO mortbay.log: Extract jar:file:/home/skardan/.m2/repository/org/apache/hadoop/hadoop-core/1.2.1/hadoop-core-1.2.1.jar!/webapps/task to /tmp/Jetty_0_0_0_0_50060_task.2vcltf/webapp 13/10/30 09:46:42 INFO server.ZooKeeperServer: Server environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT 13/10/30 09:46:42 INFO server.ZooKeeperServer: Server environment: host.name =salih 13/10/30 09:46:42 INFO server.ZooKeeperServer: Server environment:java.version=1.7.0_25 13/10/30 09:46:42 INFO server.ZooKeeperServer: Server environment:java.vendor=Oracle Corporation 13/10/30 09:46:42 INFO server.ZooKeeperServer: Server environment:java.home=/usr/lib/jvm/java-7-openjdk-amd64/jre 13/10/30 09:46:42 INFO server.ZooKeeperServer: Server
Re: HBase ShutdownHook problem
Sorry for the late reply. Here is the stack trace 13/10/30 09:46:42 INFO util.ProcessTree: setsid exited with exit code 0 13/10/30 09:46:42 INFO util.VersionInfo: HBase 0.94.10 13/10/30 09:46:42 INFO util.VersionInfo: Subversion https://svn.apache.org/repos/asf/hbase/tags/0.94.10mvn2 -r 1506655 13/10/30 09:46:42 INFO util.VersionInfo: Compiled by lhofhans on Wed Jul 24 11:39:30 PDT 2013 13/10/30 09:46:42 INFO mapred.TaskTracker: Using ResourceCalculatorPlugin : org.apache.hadoop.util.LinuxResourceCalculatorPlugin@1e5ec04b 13/10/30 09:46:42 WARN mapred.TaskTracker: TaskTracker's totalMemoryAllottedForTasks is -1. TaskMemoryManager is disabled. 13/10/30 09:46:42 INFO mapred.IndexCache: IndexCache created with max memory = 10485760 13/10/30 09:46:42 INFO impl.MetricsSourceAdapter: MBean for source ShuffleServerMetrics registered. 13/10/30 09:46:42 INFO http.HttpServer: Port returned by webServer.getConnectors()[0].getLocalPort() before open() is -1. Opening the listener on 50060 13/10/30 09:46:42 INFO http.HttpServer: listener.getLocalPort() returned 50060 webServer.getConnectors()[0].getLocalPort() returned 50060 13/10/30 09:46:42 INFO http.HttpServer: Jetty bound to port 50060 13/10/30 09:46:42 INFO mortbay.log: jetty-6.1.26 13/10/30 09:46:42 INFO mortbay.log: Extract jar:file:/home/skardan/.m2/repository/org/apache/hadoop/hadoop-core/1.2.1/hadoop-core-1.2.1.jar!/webapps/task to /tmp/Jetty_0_0_0_0_50060_task.2vcltf/webapp 13/10/30 09:46:42 INFO server.ZooKeeperServer: Server environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT 13/10/30 09:46:42 INFO server.ZooKeeperServer: Server environment:host.name =salih 13/10/30 09:46:42 INFO server.ZooKeeperServer: Server environment:java.version=1.7.0_25 13/10/30 09:46:42 INFO server.ZooKeeperServer: Server environment:java.vendor=Oracle Corporation 13/10/30 09:46:42 INFO server.ZooKeeperServer: Server environment:java.home=/usr/lib/jvm/java-7-openjdk-amd64/jre 13/10/30 09:46:42 INFO server.ZooKeeperServer: Server
Re: HBase ShutdownHook problem
What's happening before this stack trace in the log? J-D On Fri, Oct 25, 2013 at 6:10 AM, Salih Kardan karda...@gmail.com wrote: Hi all I am getting the error below while starting hbase (hbase 0.94.11). I guess since hbase cannot connect to hadoop, I get this error. *java.lang.RuntimeException: Failed suppression of fs shutdown hook: Thread[Thread-8,5,main] at* * org.apache.hadoop.hbase.regionserver.ShutdownHook.suppressHdfsShutdownHook(ShutdownHook.java:196) at * *org.apache.hadoop.hbase.regionserver.ShutdownHook.install(ShutdownHook.java:83) at * *org.apache.hadoop.hbase.util.JVMClusterUtil.startup(JVMClusterUtil.java:191) at * *org.apache.hadoop.hbase.LocalHBaseCluster.startup(LocalHBaseCluster.java:420) at * *org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:149) at* * org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:104) at * *org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at * *org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76) at* * org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2100)* my /etc/hosts file only contains (127.0.0.1 - machine name).