已解决未分析原因
启动hiveserver2后在小松鼠Dbeaver中运行sql出现以下报错:
Error during job, obtaining debugging information...
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
sql语句在hive-cli中却能正常运行
将set hive.exec.mode.local.auto重新设置为false后在小松鼠也能正常运行