You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Ameya Kantikar <am...@groupon.com> on 2013/05/15 20:07:24 UTC
Problem with Snapshots
HI,
I just upgraded Hbase to 0.94.2-cdh4.2.1, r
I also enabled snapshot in hbase-site.xml file on all master + RS machines
to:
<name>hbase.snapshot.enabled</name>
<value>true</value>
But when I go to hbase shell, I can not find snapshotting related commands.
eg.
hbase> list_snapshots
NameError: undefined local variable or method `list_snapshots' for
#<Object:0x3a8bd3bb>
hbase(main):005:0> snapshot 'myTable', 'snapshot_name1'
NoMethodError: undefined method `snapshot' for #<Object:0x3a8bd3bb>
When I do "help" in hbase shell, I do not see any snapshot related
commands.
Am I missing something?
According to this release note
http://archive.cloudera.com/cdh4/cdh/4/hbase-0.94.2-cdh4.2.1.releasenotes.htmlI
should really have snapshotting functionality in my Hbase version.
Ameya
Re: Problem with Snapshots
Posted by Ted Yu <yu...@gmail.com>.
Can you search for list_snapshots.rb in your installation ?
Cheers
On Wed, May 15, 2013 at 11:07 AM, Ameya Kantikar <am...@groupon.com> wrote:
> HI,
>
> I just upgraded Hbase to 0.94.2-cdh4.2.1, r
>
> I also enabled snapshot in hbase-site.xml file on all master + RS machines
> to:
>
> <name>hbase.snapshot.enabled</name>
> <value>true</value>
>
> But when I go to hbase shell, I can not find snapshotting related commands.
> eg.
>
> hbase> list_snapshots
> NameError: undefined local variable or method `list_snapshots' for
> #<Object:0x3a8bd3bb>
>
> hbase(main):005:0> snapshot 'myTable', 'snapshot_name1'
> NoMethodError: undefined method `snapshot' for #<Object:0x3a8bd3bb>
>
>
>
> When I do "help" in hbase shell, I do not see any snapshot related
> commands.
>
> Am I missing something?
>
> According to this release note
>
> http://archive.cloudera.com/cdh4/cdh/4/hbase-0.94.2-cdh4.2.1.releasenotes.htmlI
> should really have snapshotting functionality in my Hbase version.
>
> Ameya
>
Re: Problem with Snapshots
Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Hi Ameya,
Can you login into the hbase shell and user the version command to make
sure which version you are currently running?
Thanks,
JM
2013/5/15 Ameya Kantikar <am...@groupon.com>
> HI,
>
> I just upgraded Hbase to 0.94.2-cdh4.2.1, r
>
> I also enabled snapshot in hbase-site.xml file on all master + RS machines
> to:
>
> <name>hbase.snapshot.enabled</name>
> <value>true</value>
>
> But when I go to hbase shell, I can not find snapshotting related commands.
> eg.
>
> hbase> list_snapshots
> NameError: undefined local variable or method `list_snapshots' for
> #<Object:0x3a8bd3bb>
>
> hbase(main):005:0> snapshot 'myTable', 'snapshot_name1'
> NoMethodError: undefined method `snapshot' for #<Object:0x3a8bd3bb>
>
>
>
> When I do "help" in hbase shell, I do not see any snapshot related
> commands.
>
> Am I missing something?
>
> According to this release note
>
> http://archive.cloudera.com/cdh4/cdh/4/hbase-0.94.2-cdh4.2.1.releasenotes.htmlI
> should really have snapshotting functionality in my Hbase version.
>
> Ameya
>