Error: Could not open client transport with JDBC Uri: jdbc:hive2://node1:10000: Failed to open new session: java.lang.RuntimeException: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User: root is not allowed to impersonate hive (state=08S01,code=0)问题原因
解决root用户没有权限,在hdfs配置中添加相应用户即可
添加hdfs参数: vim core-site.xmlhadoop.proxyuser.root.groups * hadoop.proxyuser.root.hosts *



