Help Center/ MapReduce Service/ User Guide (Paris Region)/ Troubleshooting/ Using Storm/ When the Storm-JDBC plug-in is used to develop Oracle write Bolts, data cannot be written into the Bolts.
Updated on 2024-10-11 GMT+08:00

When the Storm-JDBC plug-in is used to develop Oracle write Bolts, data cannot be written into the Bolts.

Symptom

When the Storm-JDBC plug-in is used to develop Oracle write Bolts, the Oracle database can be connected, but data cannot be written to the Oracle database.

Possible Causes

  • The topology definition is incorrect.
  • The definition of the database table result is incorrect.

Cause Analysis

  1. On the Storm web UI, check the DAG of the topology. The DAG is consistent with the topology definition.

  1. The definition of the KeyWordFilter Bolt is consistent with the expParser field.

  2. View the table definition in the Oracle database. The field name is in uppercase, which is inconsistent with flow definition field name.

  3. When the execute method is debugged independently, it is found that the thrown field does not exist.

Procedure

The field name of the stream definition is changed to uppercase letters, which is the same as that defined in the database table.