[ 
https://issues.apache.org/jira/browse/HBASE-6539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David S. Wang updated HBASE-6539:
---------------------------------

    Description: 
copy_table_desc.rb Jruby script currently fails with:

$ hbase org.jruby.Main copy_tables_desc.rb 
NameError: cannot load Java class 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper
  get_proxy_or_package_under_package at 
org/jruby/javasupport/JavaUtilities.java:54
                      method_missing at 
file:/mnt/data/hbase/lib/jruby-complete-1.6.5.jar!/builtin/javasupport/java.rb:51
                              (root) at copy_tables_desc.rb:35

Just removing the ZooKeeperWatcher import seems to make it work.


  was:Remove copy_table.rb script as per mailing list discussion.  It hasn't 
been maintained in a while and does not run against any recent HBase release.  
There is also an MR job to do the same thing that does work.

       Priority: Trivial  (was: Minor)
        Summary: Remove ZooKeeperWatcher from copy_table_desc.rb script  (was: 
Remove copy_table.rb script)
    
> Remove ZooKeeperWatcher from copy_table_desc.rb script
> ------------------------------------------------------
>
>                 Key: HBASE-6539
>                 URL: https://issues.apache.org/jira/browse/HBASE-6539
>             Project: HBase
>          Issue Type: Task
>          Components: scripts
>    Affects Versions: 0.96.0
>            Reporter: David S. Wang
>            Assignee: David S. Wang
>            Priority: Trivial
>              Labels: noob
>
> copy_table_desc.rb Jruby script currently fails with:
> $ hbase org.jruby.Main copy_tables_desc.rb 
> NameError: cannot load Java class 
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper
>   get_proxy_or_package_under_package at 
> org/jruby/javasupport/JavaUtilities.java:54
>                       method_missing at 
> file:/mnt/data/hbase/lib/jruby-complete-1.6.5.jar!/builtin/javasupport/java.rb:51
>                               (root) at copy_tables_desc.rb:35
> Just removing the ZooKeeperWatcher import seems to make it work.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to