Help Center/ MapReduce Service/ User Guide (Ankara Region)/ Troubleshooting/ Using HBase/ Failed to Load Data to the Index Table After an HBase Table Is Created Using Phoenix
Updated on 2024-11-29 GMT+08:00

Failed to Load Data to the Index Table After an HBase Table Is Created Using Phoenix

Symptom

A user fails to run commands to load data to the index table after creating an HBase table using Phoenix. The following error information is displayed:

Exception in thread "main" java.io.IOException: Retry attempted 10 times without completing, bailing out

Procedure

  1. Log in to FusionInsight Manager as user admin and choose Cluster > Services > HBase. On the HBase page, choose Configurations > All Configurations > RegionServer > Customization. In the right pane, add a configuration item for parameter hbase.regionserver.config.expandor with name hbase.regionserver.wal.codec and value org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec.
  2. Choose HMaster > Customization, and add a configuration item for parameter hbase.hmaster.config.expandor with name hbase.regionserver.wal.codec and value org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec.
  3. Click Save. In the dialog box that is displayed, click OK to save the configuration.
  4. On the Dashboard page, click More and select Restart Service. Enter the password of the current user and click OK to restart the HBase service.