[ https://issues.apache.org/jira/browse/HBASE-22903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917509#comment-16917509 ]
Viraj Jasani edited comment on HBASE-22903 at 8/28/19 9:13 AM: --------------------------------------------------------------- {quote}You'd want RIT count for a table I suppose.... listing current RITs? {quote} That is correct, RIT count for a table so that we can display alter_status output: x/total regions are done with transition(where x=total regions - RIT count for the table) {quote}A general query on currently running operations that showed detail on each operation that allowed you narrow in using pid or tablename would be sweet. {quote} Sounds good. I believe your suggestion is that we give a generic getStatusOps() in *Admin*(take care of providing status for any operation - shell and non-shell triggered)with this patch, eventually we can start using it for all(new introduced ops) getStatus and keep adding more implementation to it? was (Author: vjasani): {quote}You'd want RIT count for a table I suppose.... listing current RITs? {quote} That is correct, RIT count for a table so that we can display alter_status output: x/total regions are done with transition(where x=total regions - RIT count for the table) {quote}A general query on currently running operations that showed detail on each operation that allowed you narrow in using pid or tablename would be sweet. {quote} Sounds good. I believe your suggestion is that we give a generic getStatusOps() in *Admin*(take care of shell and non-shell triggered ops)with this patch, it should take arguments(e.g Enum for op type and optional tableName) and return operational status for that particular operation(RIT count for table in this case) with well formed output. Although we can provide it with this patch, eventually we can start using it for all(new introduced ops) getStatus and keep adding more implementation to it? > alter_status command is broken > ------------------------------ > > Key: HBASE-22903 > URL: https://issues.apache.org/jira/browse/HBASE-22903 > Project: HBase > Issue Type: Bug > Components: Admin, asyncclient, shell > Affects Versions: 3.0.0 > Reporter: Viraj Jasani > Assignee: Viraj Jasani > Priority: Major > Fix For: 3.0.0 > > Attachments: HBASE-22903.master.000.patch, > HBASE-22903.master.001.patch, HBASE-22903.master.002.patch > > > This is applicable to master branch only: > {code:java} > > alter_status 't1' > ERROR: undefined method `getAlterStatus' for > #<Java::OrgApacheHadoopHbaseClient::AdminOverAsyncAdmin:0x252ec02e> > {code} > -- This message was sent by Atlassian Jira (v8.3.2#803003)