While trying to execute a Hive query you can end up with the following error:

return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

Try re-running the same query, and if that doesn’t work, then¬†Start Hadoop if it’s not running or restart Hadoop if it’s already up and if Hadoop’s running in cluster mode, check if DataNode is running.

This should solve the problem.

SHARE

NO COMMENTS

LEAVE A REPLY