You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2013/08/10 09:30:48 UTC

[jira] [Commented] (HBASE-9173) replication_admin#get_peer_state(id) in ruby script pointing to undefined method `getPeerState'

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

Anoop Sam John commented on HBASE-9173:
---------------------------------------

Do you have a patch Rajesh?
                
> 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: rajeshbabu
>            Priority: Critical
>             Fix For: 0.98.0, 0.95.2
>
>
> 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