Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Sparktask execution error

Sparktask execution error

New Contributor

Hello everyone.


This kind of error  in which cases it occur generally? Thank you


java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.spark.SparkTask
at org.apache.hive.jdbc.HiveStatement


Re: Sparktask execution error

Master Guru
As far as the SparkTask goes, the return code 3 may indicate _any/all_ exception caught during job closure [1]. The potential scenarios for this are numerous and cannot be narrowed down with just this message.

The true exception with all its details should be printed on the target server logs (HiveServer2 logs) your JDBC is connecting to. I'd recommend beginning your investigation from there.

[1] -