Support Questions

Find answers, ask questions, and share your expertise

Getting error during batch execution of records in Hive

avatar
New Contributor

CDICO2024E: Batch of 5 records could not be written to the data source: [SQLSTATE HY000] c error: [IBM][Hive JDBC Driver][Hive]Error while compiling statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask (error code: DATA_IO_ERROR)

 

 

11 REPLIES 11

avatar
Expert Contributor

@Arathi 

Can you please open a case on the Cloudera Support Portal.

Please attach the application log, hiveserver2 logs from the time period the job failed, and the beeline console output from the failed query.  

avatar
Master Collaborator

From the below , it does looks like tez session itself not initialized.  Validate configuration from set -v , make sure everything fine and try re-running the query. 

 

org.apache.tez.dag.api.SessionNotRunning: TezSession has already shutdown. Application application_1726980746968_0077 failed 1 times (global limit =2; local limit is =1) due to AM Container for appattempt_1726980746968_0077_000001 exited with  exitCode: -1000

Failing this attempt.Diagnostics: [2024-10-13 10:30:27.706]Application application_1726980746968_0077 initialization failed (exitCode=255) with output: main : command provided 0

 

 If you can't able to identify the incorrect configuration , raise a support case for the same.