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
- On the Storm web UI, check the DAG of the topology. The DAG is consistent with the topology definition.
- The definition of the KeyWordFilter Bolt is consistent with the expParser field.
- View the table definition in the Oracle database. The field name is in uppercase, which is inconsistent with flow definition field name.
- 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.