Hi,
i catch NPE when i try restore my snapshot.

Snapshot is taken from online table and exported to another cluster via:
hbase org.apache.hadoop.hbase.snapshot.ExportSnapshot -snapshot
fb_posts-2013-08-31 -copy-to hdfs://hadoops-master:9000/hbase -chuser hbase
-chgroup hbase -mappers 14


OT: files on hadoops-master cluster has permission hadoop:hbase (HDFS).
Maybe a mistake? I specify -chuser and -chroup in export : ) I fix it with
hadoop fs -chown -R hbase:hbase /hbase

hbase(main):006:0> list_snapshots
SNAPSHOT                                                              TABLE
+ CREATION
TIME

 fb_comments-2013-08-27
fb_comments (Tue Aug 27 08:42:01 +0000
2013)

 fb_posts-2013-08-26
fb_posts (Mon Aug 26 19:26:04 +0000
2013)

 fb_posts-2013-08-31
fb_posts (Sat Aug 31 17:22:52 +0000
2013)

3 row(s) in 0.0220 seconds

SnapshotInfo: http://pastebin.com/dLS6tzTJ

I see here a lot NOT_FOUND files, duno why and that's imho reason for this
fail.

hbase(main):007:0> list
TABLE

fb_comments

fb_posts

fb_posts_old

test

4 row(s) in 0.0180 seconds

fb_posts_old are cloned snapshot from fb_posts-2013-08-26

hbase(main):008:0> is_disabled 'fb_posts'
true

0 row(s) in 0.0080 seconds

hbase(main):009:0> restore_snapshot 'fb_posts-2013-08-31'

output error: http://pastebin.com/tFsnGLha

Master log: http://pastebin.com/yfLjJyfc

RS logs are clean :( Log level are set to DEBUG


Please excuse my bad english.

-- 
Save The World - http://www.worldcommunitygrid.org/
http://www.worldcommunitygrid.org/stat/viewMemberInfo.do?userName=LesTR

LesTR

Reply via email to