Symptom

The following exception occurs when I use Tablestore SDK for Java:
java.lang.IllegalStateException: Request cannot be executed; I/O reactor status: STOPPED

Cause

shutDown is called to shut down the OTSClient instance and the internal I/O reactor. If the OTSClient instance is called to read and write data, the error occurs.

Solution

Check whether the OTSClient instance is shut down. If the OTSClient instance is shut down, reinitialize the OTSClient instance.