困扰了好久啊啊 啊啊啊啊啊啊啊
出现异常
java.sql.SQLException
: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
到hive后台查看日志
Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException): Permission denied: user=hive, access=EXECUTE, inode="/tmp":root:supergroup:drwxrwx---
权限问题,所以切换一下用户试一下,在我的代码
//hive的jdbc驱动类
public
static</