[ https://issues.apache.org/jira/browse/HBASE-24010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17125292#comment-17125292 ]
Michael Stack edited comment on HBASE-24010 at 6/3/20, 8:28 PM: ---------------------------------------------------------------- If of use, here is how it used look in old days when you listed peers: {code} hbase(main):001:0> list_peers PEER_ID CLUSTER_KEY ENDPOINT_CLASSNAME STATE TABLE_CFS 1 web2-zk0001.example.org,web2-zk0002..example.org,web2-zk0003..example.org:2181:/hbase nil DISABLED nil 1 row(s) in 0.1110 seconds {code} I confirm this is a problem: {code} hbase(main):001:0> hbase(main):002:0* list_peers PEER_ID CLUSTER_KEY ENDPOINT_CLASSNAME STATE REPLICATE_ALL NAMESPACES TABLE_CFS BANDWIDTH SERIAL 1 hdpe-zk0001.example.org,hdpe-zk0002.example.org,hdpe-zk0003.hdp.parsec.apple.com:2181:/hbase DISABLED true 0 false 1 row(s) Took 0.3990 seconds => #<Java::JavaUtil::ArrayList:0x5731caaf> {code} was (Author: stack): If of use, here is how it used look in old days when you listed peers: {code} hbase(main):001:0> list_peers PEER_ID CLUSTER_KEY ENDPOINT_CLASSNAME STATE TABLE_CFS 1 web2-zk0001.bot.parsec.example.org,web2-zk0002..example.org,web2-zk0003..example.org:2181:/hbase nil DISABLED nil 1 row(s) in 0.1110 seconds {code} I confirm this is a problem: {code} hbase(main):001:0> hbase(main):002:0* list_peers PEER_ID CLUSTER_KEY ENDPOINT_CLASSNAME STATE REPLICATE_ALL NAMESPACES TABLE_CFS BANDWIDTH SERIAL 1 hdpe-zk0001.hdp.parsec.apple.com,hdpe-zk0002.hdp.parsec.apple.com,hdpe-zk0003.hdp.parsec.apple.com:2181:/hbase DISABLED true 0 false 1 row(s) Took 0.3990 seconds => #<Java::JavaUtil::ArrayList:0x5731caaf> {code} > HBase shell list_peers command is displayed incorrectly > ------------------------------------------------------- > > Key: HBASE-24010 > URL: https://issues.apache.org/jira/browse/HBASE-24010 > Project: HBase > Issue Type: Bug > Components: shell > Reporter: song XinCun > Assignee: song XinCun > Priority: Major > > In 2.X version, I found hbase shell list_peers command displays java object > id not the human readable peer messages > {code:java} > hbase(main):002:0> list_peers > PEER_ID CLUSTER_KEY ENDPOINT_CLASSNAME STATE REPLICATE_ALL NAMESPACES > TABLE_CFS BANDWIDTH SERIAL > 0 row(s) > Took 0.3336 seconds > => #<Java::JavaUtil::ArrayList:0x308a9264> > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)