DataSphereStudio icon indicating copy to clipboard operation
DataSphereStudio copied to clipboard

DSS单独在外层执行hql失败

Open jkl0898 opened this issue 5 years ago • 5 comments

  1. 以hadoop 安装用户在外层执行hql失败。(在内部可以执行) image

  2. 查询日志, 发现是用root 用户执行,对应的hdfs 目录没有权限。 image

jkl0898 avatar Apr 13 '20 08:04 jkl0898

can you provide more information? This hdfs path needs to be set manually

yangzhiyue avatar May 20 '20 02:05 yangzhiyue

can you provide more information? This hdfs path needs to be set manually

sorry, the environment has gone. I remember I ran the hql with the login user hadoop which is the deploy user. but the result is failed. and then I checked the log file as the photo supply, I found it use the root user to excute the hql which is make an action on unpermitted path.

jkl0898 avatar May 20 '20 06:05 jkl0898

It looks like it is a permission problem of HDFS file. The owner of the /tmp/linkis directory is root, and the hadoop user does not have permission to access.

wushengyeyouya avatar Jun 12 '20 03:06 wushengyeyouya

It looks like it is a permission problem of HDFS file. The owner of the /tmp/linkis directory is root, and the hadoop user does not have permission to access.

image

Sorry, I am not very sure about this issue , because the environment has disappeared. I check the permission of directory /tmp/linkis0 by now, which indicate it belongs to the user of 'hadoop'. maybe you guys can test in your environment too.

jkl0898 avatar Jun 12 '20 09:06 jkl0898