What hbase version?   Seems like script is out of sync w hbase u are running 
which was the case for some hbase versions.  Want to try hacking the script to 
make it match your version?  Or get newer version of the script


Stack



On Jan 13, 2011, at 18:30, 陈加俊 <[email protected]> wrote:

> I want to rename  the table but run errors as follow:
> 
> ./bin/hbase org.jruby.Main bin/rename_table.rb t1 t2
> file:/app/setup/cloud/hbase-0.20.6/lib/jruby-complete-1.2.0.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/builtin/javasupport/core_ext/object.rb:33:in
> `get_proxy_or_package_under_package': cannot load Java class
> org.apache.hadoop.hbase.regionserver.HLogEdit (NameError)
>        from
> file:/app/setup/cloud/hbase-0.20.6/lib/jruby-complete-1.2.0.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/builtin/javasupport/java.rb:51:in
> `method_missing'
>        from bin/rename_table.rb:42

Reply via email to