hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9173) replication_admin#get_peer_state(id) in ruby script pointing to undefined method `getPeerState'
Date Wed, 14 Aug 2013 01:19:50 GMT

    [ https://issues.apache.org/jira/browse/HBASE-9173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13739121#comment-13739121
] 

Hudson commented on HBASE-9173:
-------------------------------

FAILURE: Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #673 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/673/])
HBASE-9173 replication_admin#get_peer_state(id) in ruby script pointing to
           undefined method `getPeerState' (jdcryans: rev 1513676)
* /hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/replication/ReplicationAdmin.java
* /hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/replication/ReplicationPeer.java
* /hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/replication/ReplicationPeers.java
* /hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/replication/ReplicationPeersZKImpl.java
* /hbase/trunk/hbase-server/src/main/ruby/hbase/replication_admin.rb
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/client/replication/TestReplicationAdmin.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationStateBasic.java

                
> replication_admin#get_peer_state(id) in ruby script pointing to undefined method `getPeerState'
> -----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-9173
>                 URL: https://issues.apache.org/jira/browse/HBASE-9173
>             Project: HBase
>          Issue Type: Bug
>          Components: scripts
>            Reporter: rajeshbabu
>            Assignee: Jean-Daniel Cryans
>            Priority: Critical
>             Fix For: 0.98.0, 0.95.2
>
>         Attachments: HBASE-9173.patch, HBASE-9173-v2.patch
>
>
> list_peers is failing because replication_admin#get_peer_state(id) pointing to the method
removed from ReplicationAdmin. We need to read peer state from ReplicationPeer.
> {code}
> hbase(main):003:0> list_peers
>  PEER_ID CLUSTER_KEY STATE
> ERROR: undefined method `getPeerState' for #<Java::OrgApacheHadoopHbaseClientReplication::ReplicationAdmin:0x7e299629>
> Here is some help for this command:
> List all replication peer clusters.
>   hbase> list_peers
> {code}
> {code}
>     # Get peer cluster state
>     def get_peer_state(id)
>       @replication_admin.getPeerState(id)
>     end
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message