See http://stackoverflow.com/questions/21777018/big-data-hbase if it can help.
Regards Ashish -----Original Message----- From: ch huang [mailto:[email protected]] Sent: 17 October 2014 12:02 To: [email protected] Subject: can not enable snapshot function on hbase 0.94.6 hi,maillist : i installed CDH4.4 with hbase version 0.94.6 ,(no cloudera manager involved) but when i test snapshot function ,i get error like this ,acturally , i add the following info into my /etc/hbase/conf/hbase-site.xml (each node) ,and restart hbase cluster,still same error,anyone know why? <property> <name>hbase.snapshot.enabled</name> <value>true</value> </property> hbase(main):002:0> snapshot 'demo','demo_2014' ERROR: java.io.IOException: java.io.IOException: java.lang.UnsupportedOperationException: To use snapshots, You must add to the hbase-site.xml of the HBase Master: 'hbase.snapshot.enabled' property with value 'true'. at org.apache.hadoop.hbase.master.HMaster.snapshot(HMaster.java:2008) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:320) at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1428) Caused by: java.lang.UnsupportedOperationException: To use snapshots, You must add to the hbase-site.xml of the HBase Master: 'hbase.snapshot.enabled' property with value 'true'. at org.apache.hadoop.hbase.master.snapshot.SnapshotManager.checkSnapshotSupport(SnapshotManager.java:890) at org.apache.hadoop.hbase.master.HMaster.snapshot(HMaster.java:2006) ... 6 more Here is some help for this command: Take a snapshot of specified table. Examples: hbase> snapshot 'sourceTable', 'snapshotName'
