Rod Prada created HBASE-25974:
---------------------------------

             Summary: Shell alter command (modify operation) sometimes times out
                 Key: HBASE-25974
                 URL: https://issues.apache.org/jira/browse/HBASE-25974
             Project: HBase
          Issue Type: Bug
          Components: Client, shell
    Affects Versions: 2.2.4, 2.1.4
            Reporter: Rod Prada
         Attachments: hbase-shell-alter-failure.tar.gz

Execution of an alter command like the following on a non-interactive shell 
sometimes times out:
{code:java}
echo "alter 'aeris_v2', {NAME=>'e', VERSIONS=>'43200', MIN_VERSIONS=>'3', 
TTL=>'7776000'}, NANOSECOND_TIMESTAMPS => 'true'" | hbase shell -n{code}
A similar issue was reported in 
[HBASE-21795|https://issues.apache.org/jira/browse/HBASE-21795], but based on 
its description it should be resolved on the HBase versions we are running 
(2.1.4, 2.2.4).

The hbasemaster and regionserver logs attached are relevant to one occurrence 
of the issue when the command started at 2021-05-29 05:25 and timed out 10 
minutes later at 2021-05-29 05:35.

Note that the affected table appeared to be modified even though the shell 
command timed out.

The hbase shell debug output attached is from another similar failure where we 
managed to toggle the shell d flag to capture extra debug information. The 
capture indicates the zookeeper client session being closed at the 1-minute 
mark and the command failing at the 10-minute mark with a timeout.

If there is a way to output even more debugging information (e.g. stack traces) 
from the shell process other than specifying the "d" flag to help troubleshoot 
the issue, please let us know.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to