You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Matteo Bertozzi (JIRA)" <ji...@apache.org> on 2013/10/09 21:36:42 UTC

[jira] [Created] (HBASE-9735) region_mover.rb uses the removed HConnection.getZooKeeperWatcher() method

Matteo Bertozzi created HBASE-9735:
--------------------------------------

             Summary: region_mover.rb uses the removed HConnection.getZooKeeperWatcher() method
                 Key: HBASE-9735
                 URL: https://issues.apache.org/jira/browse/HBASE-9735
             Project: HBase
          Issue Type: Bug
          Components: scripts
    Affects Versions: 0.96.0
            Reporter: Matteo Bertozzi
            Assignee: Matteo Bertozzi
             Fix For: 0.98.0, 0.96.0
         Attachments: HBASE-9735-v0.patch

[~aleksshulman] found that region_mover.rb is using HConnection.getZooKeeperWatcher(), which is deprecated in 94 and removed in 96.
{code}
14:02:34  2013-09-16 14:02:34,945 INFO  [main] region_mover: Moving 7 region(s) from c5-rolling2-4.ent.cloudera.com,60020,1379364656888 during this cycle
14:02:34  [c5-rolling2-2.ent.cloudera.com] out: 2013-09-16 14:02:34,951 INFO  [main] region_mover: Moving region 1588230740 (0 of 7) to server=c5-rolling2-2.ent.cloudera.com,60020,1379365188814
14:02:35  [c5-rolling2-2.ent.cloudera.com] out: NoMethodError: undefined method `getZooKeeperWatcher' for #<#<Class:0x1fe91485>:0x465098f9>
14:02:35  [c5-rolling2-2.ent.cloudera.com] out:   getServerNameForRegion at /usr/lib/hbase/bin/region_mover.rb:91
14:02:35  [c5-rolling2-2.ent.cloudera.com] out:             isSameServer at /usr/lib/hbase/bin/region_mover.rb:73
14:02:35  [c5-rolling2-2.ent.cloudera.com] out:                     move at /usr/lib/hbase/bin/region_mover.rb:157
14:02:35  [c5-rolling2-2.ent.cloudera.com] out:                  __for__ at /usr/lib/hbase/bin/region_mover.rb:327
14:02:35  [c5-rolling2-2.ent.cloudera.com] out:                     each at file:/usr/lib/hbase/lib/jruby-complete-1.6.8.jar!/builtin/java/java.util.rb:7
14:02:35  [c5-rolling2-2.ent.cloudera.com] out:            unloadRegions at /usr/lib/hbase/bin/region_mover.rb:318
14:02:35  [c5-rolling2-2.ent.cloudera.com] out:                   (root) at /usr/lib/hbase/bin/region_mover.rb:456
{code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)