Skip to content

Instantly share code, notes, and snippets.

@larsgeorge
Created February 11, 2011 17:09
Show Gist options
  • Save larsgeorge/822679 to your computer and use it in GitHub Desktop.
Save larsgeorge/822679 to your computer and use it in GitHub Desktop.
hbase(main):014:0> add_peer '1', 'localhost:2181:/hbase-2'
0 row(s) in 0.0580 seconds
hbase(main):015:0> start_replication
2011-02-11 18:04:58,347 INFO org.apache.hadoop.hbase.replication.ReplicationZookeeper: Replication is now started
0 row(s) in 0.0500 seconds
hbase(main):016:0> put 'test', '2011-02-11 18:05:22,003 INFO org.apache.hadoop.hbase.zookeeper.RegionServerTracker: RegionServer ephemeral node deleted, processing expiration [10.0.0.57,60020,1297437319991]
2011-02-11 18:05:22,016 INFO org.apache.hadoop.hbase.master.handler.ServerShutdownHandler: Splitting logs for 10.0.0.57,60020,1297437319991
2011-02-11 18:05:22,016 DEBUG org.apache.hadoop.hbase.master.ServerManager: Added=10.0.0.57,60020,1297437319991 to dead servers, submitted shutdown handler to be executed, root=true, meta=true
2011-02-11 18:05:22,046 INFO org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: Splitting 2 hlog(s) in hdfs://localhost:8020/hbase/.logs/10.0.0.57,60020,1297437319991
2011-02-11 18:05:22,048 DEBUG org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: Writer thread Thread[WriterThread-0,5,main]: starting
2011-02-11 18:05:22,050 DEBUG org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: Splitting hlog 1 of 2: hdfs://localhost:8020/hbase/.logs/10.0.0.57,60020,1297437319991/10.0.0.57%3A60020.1297437323784, length=295
2011-02-11 18:05:22,050 DEBUG org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: Writer thread Thread[WriterThread-2,5,main]: starting
2011-02-11 18:05:22,049 DEBUG org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: Writer thread Thread[WriterThread-1,5,main]: starting
2011-02-11 18:05:22,050 INFO org.apache.hadoop.hbase.util.FSUtils: Recovering file hdfs://localhost:8020/hbase/.logs/10.0.0.57,60020,1297437319991/10.0.0.57%3A60020.1297437323784
2011-02-11 18:05:22,176 INFO org.apache.hadoop.hbase.util.FSUtils: Finished lease recover attempt for hdfs://localhost:8020/hbase/.logs/10.0.0.57,60020,1297437319991/10.0.0.57%3A60020.1297437323784
2011-02-11 18:05:22,201 DEBUG org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: Pushed=1 entries from hdfs://localhost:8020/hbase/.logs/10.0.0.57,60020,1297437319991/10.0.0.57%3A60020.1297437323784
2011-02-11 18:05:22,201 DEBUG org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: Splitting hlog 2 of 2: hdfs://localhost:8020/hbase/.logs/10.0.0.57,60020,1297437319991/10.0.0.57%3A60020.1297440935114, length=0
2011-02-11 18:05:22,201 INFO org.apache.hadoop.hbase.util.FSUtils: Recovering file hdfs://localhost:8020/hbase/.logs/10.0.0.57,60020,1297437319991/10.0.0.57%3A60020.1297440935114
2011-02-11 18:05:22,218 INFO org.apache.hadoop.hbase.regionserver.wal.SequenceFileLogWriter: Using syncFs -- HDFS-200
2011-02-11 18:05:22,220 DEBUG org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: Creating writer path=hdfs://localhost:8020/hbase/-ROOT-/70236052/recovered.edits/0000000000000000004 region=70236052
row1', 2011-02-11 18:05:25,488 INFO org.apache.hadoop.hbase.catalog.CatalogTracker: Failed verification of .META.,,1 at address=10.0.0.57:60020; java.net.ConnectException: Connection refused
2011-02-11 18:05:25,488 INFO org.apache.hadoop.hbase.catalog.CatalogTracker: Current cached META location is not valid, resetting
2011-02-11 18:05:25,502 DEBUG org.apache.hadoop.hbase.master.HMaster: Not running balancer because processing dead regionserver(s): [10.0.0.57,60020,1297437319991]
'cf1', 'val12011-02-11 18:05:30,351 INFO org.apache.hadoop.hbase.util.FSUtils: Finished lease recover attempt for hdfs://localhost:8020/hbase/.logs/10.0.0.57,60020,1297437319991/10.0.0.57%3A60020.1297440935114
2011-02-11 18:05:30,352 WARN org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: File hdfs://localhost:8020/hbase/.logs/10.0.0.57,60020,1297437319991/10.0.0.57%3A60020.1297440935114 might be still open, length is 0
2011-02-11 18:05:30,359 DEBUG org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: Pushed=4 entries from hdfs://localhost:8020/hbase/.logs/10.0.0.57,60020,1297437319991/10.0.0.57%3A60020.1297440935114
2011-02-11 18:05:30,388 INFO org.apache.hadoop.hbase.regionserver.wal.SequenceFileLogWriter: Using syncFs -- HDFS-200
2011-02-11 18:05:30,388 DEBUG org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: Creating writer path=hdfs://localhost:8020/hbase/.META./1028785192/recovered.edits/0000000000000000005 region=1028785192
2011-02-11 18:05:30,392 INFO org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: Archived processed log hdfs://localhost:8020/hbase/.logs/10.0.0.57,60020,1297437319991/10.0.0.57%3A60020.1297437323784 to hdfs://localhost:8020/hbase/.oldlogs/10.0.0.57%3A60020.1297437323784
2011-02-11 18:05:30,395 INFO org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: Archived processed log hdfs://localhost:8020/hbase/.logs/10.0.0.57,60020,1297437319991/10.0.0.57%3A60020.1297440935114 to hdfs://localhost:8020/hbase/.oldlogs/10.0.0.57%3A60020.1297440935114
2011-02-11 18:05:30,397 INFO org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: Waiting for split writer threads to finish
'
2011-02-11 18:05:31,394 INFO org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: Split writers finished
2011-02-11 18:05:31,429 INFO org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: Closed path hdfs://localhost:8020/hbase/.META./1028785192/recovered.edits/0000000000000000005 (wrote 4 edits in 31ms)
2011-02-11 18:05:31,847 INFO org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: Closed path hdfs://localhost:8020/hbase/-ROOT-/70236052/recovered.edits/0000000000000000004 (wrote 1 edits in 19ms)
2011-02-11 18:05:31,847 INFO org.apache.hadoop.hbase.regionserver.wal.HLogSplitter: hlog file splitting completed in 9808 ms for hdfs://localhost:8020/hbase/.logs/10.0.0.57,60020,1297437319991
2011-02-11 18:05:31,848 INFO org.apache.hadoop.hbase.catalog.RootLocationEditor: Unsetting ROOT region location in ZooKeeper
2011-02-11 18:05:31,851 DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign: master:60000-0x12e152deb030008 Creating (or updating) unassigned node for 70236052 with OFFLINE state
2011-02-11 18:05:31,855 DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign: master:60000-0x12e152deb030008 Creating (or updating) unassigned node for 1028785192 with OFFLINE state
2011-02-11 18:05:31,858 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Handling transition=M_ZK_REGION_OFFLINE, server=10.0.0.57:60000, region=1028785192/.META.
'
2011-02-11 18:06:08,873 INFO org.apache.hadoop.hbase.master.AssignmentManager: Regions in transition timed out: .META.,,1.1028785192 state=OFFLINE, ts=1297443931855
2011-02-11 18:06:08,873 INFO org.apache.hadoop.hbase.master.AssignmentManager: Region has been OFFLINE for too long, reassigning .META.,,1.1028785192 to a random server
2011-02-11 18:06:08,873 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Forcing OFFLINE; was=.META.,,1.1028785192 state=OFFLINE, ts=1297443931855
2011-02-11 18:06:08,875 INFO org.apache.hadoop.hbase.master.AssignmentManager: Regions in transition timed out: -ROOT-,,0.70236052 state=OFFLINE, ts=1297443931851
2011-02-11 18:06:08,875 INFO org.apache.hadoop.hbase.master.AssignmentManager: Region has been OFFLINE for too long, reassigning -ROOT-,,0.70236052 to a random server
2011-02-11 18:06:08,875 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Forcing OFFLINE; was=-ROOT-,,0.70236052 state=OFFLINE, ts=1297443931851
'
2011-02-11 18:06:18,774 DEBUG org.apache.hadoop.hbase.replication.master.ReplicationLogCleaner: Didn't find this log in ZK, deleting: 10.0.0.57%3A60020.1297437323784
2011-02-11 18:06:18,782 DEBUG org.apache.hadoop.hbase.replication.master.ReplicationLogCleaner: Didn't find this log in ZK, deleting: 10.0.0.57%3A60020.1297440935114
2011-02-11 18:06:38,874 INFO org.apache.hadoop.hbase.master.AssignmentManager: Regions in transition timed out: .META.,,1.1028785192 state=OFFLINE, ts=1297443968873
2011-02-11 18:06:38,874 INFO org.apache.hadoop.hbase.master.AssignmentManager: Region has been OFFLINE for too long, reassigning .META.,,1.1028785192 to a random server
2011-02-11 18:06:38,874 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Forcing OFFLINE; was=.META.,,1.1028785192 state=OFFLINE, ts=1297443968873
2011-02-11 18:06:48,873 INFO org.apache.hadoop.hbase.master.AssignmentManager: Regions in transition timed out: -ROOT-,,0.70236052 state=OFFLINE, ts=1297443968875
2011-02-11 18:06:48,873 INFO org.apache.hadoop.hbase.master.AssignmentManager: Region has been OFFLINE for too long, reassigning -ROOT-,,0.70236052 to a random server
2011-02-11 18:06:48,873 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Forcing OFFLINE; was=-ROOT-,,0.70236052 state=OFFLINE, ts=1297443968875
2011-02-11 18:07:08,874 INFO org.apache.hadoop.hbase.master.AssignmentManager: Regions in transition timed out: .META.,,1.1028785192 state=OFFLINE, ts=1297443998874
2011-02-11 18:07:08,874 INFO org.apache.hadoop.hbase.master.AssignmentManager: Region has been OFFLINE for too long, reassigning .META.,,1.1028785192 to a random server
2011-02-11 18:07:08,874 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Forcing OFFLINE; was=.META.,,1.1028785192 state=OFFLINE, ts=1297443998874
2011-02-11 18:07:18,874 INFO org.apache.hadoop.hbase.master.AssignmentManager: Regions in transition timed out: -ROOT-,,0.70236052 state=OFFLINE, ts=1297444008873
2011-02-11 18:07:18,874 INFO org.apache.hadoop.hbase.master.AssignmentManager: Region has been OFFLINE for too long, reassigning -ROOT-,,0.70236052 to a random server
2011-02-11 18:07:18,874 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Forcing OFFLINE; was=-ROOT-,,0.70236052 state=OFFLINE, ts=1297444008873
2011-02-11 18:07:38,874 INFO org.apache.hadoop.hbase.master.AssignmentManager: Regions in transition timed out: .META.,,1.1028785192 state=OFFLINE, ts=1297444028874
2011-02-11 18:07:38,874 INFO org.apache.hadoop.hbase.master.AssignmentManager: Region has been OFFLINE for too long, reassigning .META.,,1.1028785192 to a random server
2011-02-11 18:07:38,874 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Forcing OFFLINE; was=.META.,,1.1028785192 state=OFFLINE, ts=1297444028874
2011-02-11 18:07:48,874 INFO org.apache.hadoop.hbase.master.AssignmentManager: Regions in transition timed out: -ROOT-,,0.70236052 state=OFFLINE, ts=1297444038874
2011-02-11 18:07:48,874 INFO org.apache.hadoop.hbase.master.AssignmentManager: Region has been OFFLINE for too long, reassigning -ROOT-,,0.70236052 to a random server
2011-02-11 18:07:48,874 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Forcing OFFLINE; was=-ROOT-,,0.70236052 state=OFFLINE, ts=1297444038874
2011-02-11 18:08:08,874 INFO org.apache.hadoop.hbase.master.AssignmentManager: Regions in transition timed out: .META.,,1.1028785192 state=OFFLINE, ts=1297444058874
2011-02-11 18:08:08,875 INFO org.apache.hadoop.hbase.master.AssignmentManager: Region has been OFFLINE for too long, reassigning .META.,,1.1028785192 to a random server
2011-02-11 18:08:08,875 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Forcing OFFLINE; was=.META.,,1.1028785192 state=OFFLINE, ts=1297444058874
2011-02-11 18:08:28,874 INFO org.apache.hadoop.hbase.master.AssignmentManager: Regions in transition timed out: -ROOT-,,0.70236052 state=OFFLINE, ts=1297444068875
2011-02-11 18:08:28,875 INFO org.apache.hadoop.hbase.master.AssignmentManager: Region has been OFFLINE for too long, reassigning -ROOT-,,0.70236052 to a random server
2011-02-11 18:08:28,875 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Forcing OFFLINE; was=-ROOT-,,0.70236052 state=OFFLINE, ts=1297444068875
2011-02-11 18:08:38,875 INFO org.apache.hadoop.hbase.master.AssignmentManager: Regions in transition timed out: .META.,,1.1028785192 state=OFFLINE, ts=1297444088875
2011-02-11 18:08:38,875 INFO org.apache.hadoop.hbase.master.AssignmentManager: Region has been OFFLINE for too long, reassigning .META.,,1.1028785192 to a random server
2011-02-11 18:08:38,875 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Forcing OFFLINE; was=.META.,,1.1028785192 state=OFFLINE, ts=1297444088875
2011-02-11 18:08:58,876 INFO org.apache.hadoop.hbase.master.AssignmentManager: Regions in transition timed out: -ROOT-,,0.70236052 state=OFFLINE, ts=1297444108875
2011-02-11 18:08:58,876 INFO org.apache.hadoop.hbase.master.AssignmentManager: Region has been OFFLINE for too long, reassigning -ROOT-,,0.70236052 to a random server
2011-02-11 18:08:58,876 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Forcing OFFLINE; was=-ROOT-,,0.70236052 state=OFFLINE, ts=1297444108875
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment