hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bharath Vissapragada <bhara...@cloudera.com>
Subject Re: can not enable snapshot function on hbase 0.94.6
Date Tue, 21 Oct 2014 18:11:59 GMT
Did you restart HMaster? You can check the master's runtime conf at
<master-webui>/conf and that should show this config.

On Sun, Oct 19, 2014 at 6:00 PM, ch huang <justlooks@gmail.com> wrote:

> thanks for reply,but i am not deply the cluster use cloudera manager ,
> that's information is not applicable!
>
> On Fri, Oct 17, 2014 at 2:37 PM, ashish singhi <ashish.singhi@huawei.com>
> wrote:
>
> > See http://stackoverflow.com/questions/21777018/big-data-hbase if it can
> > help.
> >
> > Regards
> > Ashish
> >
> > -----Original Message-----
> > From: ch huang [mailto:justlooks@gmail.com]
> > Sent: 17 October 2014 12:02
> > To: user@hbase.apache.org
> > 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'
> >
>



-- 
Bharath Vissapragada
<http://www.cloudera.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message