Re: Hbase: Table rename

2011-02-28 Thread Usman Waheed
Yup, i re-ran using ${HBASE_HOME}/bin/hbase org.jruby.Main rename_table.rb and it worked. Thanks, Usman What Stack said, plus I think you didn't run the script properly. You shouldn't run the script directly from ruby, see the comments at the top of the script: To see usage for this script, r

Re: Hbase: Table rename

2011-02-28 Thread Jean-Daniel Cryans
What Stack said, plus I think you didn't run the script properly. You shouldn't run the script directly from ruby, see the comments at the top of the script: To see usage for this script, run: ${HBASE_HOME}/bin/hbase org.jruby.Main rename_table.rb Because it's JRuby, you must run it in a JVM. J

Re: Hbase: Table rename

2011-02-28 Thread Stack
On Mon, Feb 28, 2011 at 6:40 AM, Usman Waheed wrote: > Hi, > > Is the table rename not supported in Hbase 0.90.0 at the moment? Yes. Currently the bin/*.rb scripts need a bit of massaging to work w/ 0.90.x. Just before the release we had to revert our jruby to a very early version because of li

Hbase: Table rename

2011-02-28 Thread Usman Waheed
Hi, Is the table rename not supported in Hbase 0.90.0 at the moment? I tried using the rename_table.rb in the bin directory but it returned with the following errors: ./rename_table.rb abc xyz ./rename_table.rb: line 36: include: command not found ./rename_table.rb: line 37: import: command n