Hive Task Failed to Run on the Client But Successful on Yarn
Symptom
When Hive task running fails, an error similar to the following is reported on the client:
Error:Invalid OperationHandler:OperationHander [opType=EXECUTE_STATEMENT,getHandleIdentifier()=XXX](state=,code=0)
However, the MapReduce task that is submitted by the task to Yarn is successfully executed.
Cause Analysis
2017-02-15 14:40:11,309 | INFO | main | STARTUP_MSG: /************************************************************ STARTUP_MSG: Starting HiveServer2 STARTUP_MSG: host = XXX-120-85-154/XXX.120.85.154 STARTUP_MSG: args = [] STARTUP_MSG: version = 1.3.0
Solution
Submit the task again and ensure that the HiveServer process is not manually restarted during task execution.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot