guluo created HBASE-29683:
-----------------------------

             Summary: Failed to execute hbase shell command: `compact 't1', 
'MOB'`
                 Key: HBASE-29683
                 URL: https://issues.apache.org/jira/browse/HBASE-29683
             Project: HBase
          Issue Type: Bug
          Components: Client
         Environment: hbase - master
            Reporter: guluo


When we execute the command `compact 't02_mob', 'MOB'`, we would get error, as 
fallow.

hbase:022:0> compact 't02_mob', 'f1', 'MOB'

ERROR: org.apache.hadoop.hbase.DoNotRetryIOException: Unsupported method on 
master
        at 
org.apache.hadoop.hbase.master.MasterRpcServices.compactRegion(MasterRpcServices.java:3544)
        at 
org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos$AdminService$2.callBlockingMethod(AdminProtos.java:34071)
        at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:457)
        at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:124)
        at org.apache.hadoop.hbase.ipc.RpcHandler.run(RpcHandler.java:102)
        at org.apache.hadoop.hbase.ipc.RpcHandler.run(RpcHandler.java:82)

 

The same issue occurs with the HBase shell commands `compact 't1', nil, 'MOB'`, 
`major_compact 't1', 'MOB'`, and `major 't1', nil, 'MOB'`, as well as when 
these commands are invoked via the Java API.

But when executing the `help 'compact'` command, I saw that HBase shows support 
for these commands.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to