You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by "XXwhite (via GitHub)" <gi...@apache.org> on 2023/05/15 01:53:24 UTC

[GitHub] [linkis] XXwhite opened a new issue, #4541: When using a user other than hadoop to run the task, there is no permission to get the log on hdfs

XXwhite opened a new issue, #4541:
URL: https://github.com/apache/linkis/issues/4541

   ### Before asking
   
   - [X] I have read the [How to ask for help](https://linkis.apache.org/community/how-to-ask-for-help) (我已阅读[如何寻求帮助](https://linkis.apache.org/zh-CN/community/how-to-ask-for-help)指引文档).
   
   
   ### Your environment
   
   <!-- Please describe the linkis version you are using and basic environment information -->
   <!-- 请描述您使用的linkis版本和基本环境信息 -->
   - Linkis version used: 1.3.1
       - hive-2.1.1
       - spark-3.2.1
       - scala-2.12.2
       - jdk 1.8.0_121
   
   
   ### Describe your questions
   
   I connect dss+linkis to ldap. When I log in as ladp user xiongyi to execute sparksql, I cannot read the log: RemoteException: Permission denied: user=xiongyi, access=EXECUTE, inode="/tmp/linkis/log/ 2023-05-15":hadoop: hadoop:drwxr -x---, I tried to authorize the directory to 777, but a new log directory will be created every day according to the date, the permission is hadoop:hadoop:drwxr-x---, I think the user who created the directory should be hadoop, But it is caused by the logged-in user of the user who read the log. Can this unify users, or is there any other way?
   
   我将dss+linkis接入了ldap,当我使用ladp用户xiongyi登录并执行sparksql时,无法读取日志:RemoteException: Permission denied: user=xiongyi, access=EXECUTE, inode="/tmp/linkis/log/2023-05-15":hadoop:hadoop:drwxr-x---,我曾尝试过将目录赋权777,但是每天都会按照日期创建一个新的日志目录,权限是hadoop:hadoop:drwxr-x--- ,我想应该是创建目录的用户是hadoop,但是读取日志的用户的登录用户导致的,请问这能否统一用户,或者有什么其他办法?
   
   ### Eureka service list
   
   <!-- You can directly copy and paste the screenshot of the list of registered service instances displayed on the Eureka page here -->
   <!--  可以将Eureka页面显示的注册服务实例列表的的截图 直接复制并粘贴到这里。 粘贴后,会自动生成如下格式的url-->
   
   None
   
   ### Some logs info or acctch file
   
   <!-- Please add the log in the following format, the key error log must be pasted in the code style, and the text as much as possible, the detailed log or other files can be dragged and uploaded as an attachment -->
   <!-- 请按如下格式 添加日志,关键错误日志请贴到[````log][````]之间,尽可能贴文字,详细日志或则其它文件,可以拖拽上传作为附件 -->
   
   None


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [linkis] peacewong closed issue #4541: [Question]When using a user other than hadoop to run the task, there is no permission to get the log on hdfs

Posted by "peacewong (via GitHub)" <gi...@apache.org>.
peacewong closed issue #4541: [Question]When using a user other than hadoop to run the task, there is no permission to get the log on hdfs
URL: https://github.com/apache/linkis/issues/4541


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [linkis] aiceflower commented on issue #4541: [Question]When using a user other than hadoop to run the task, there is no permission to get the log on hdfs

Posted by "aiceflower (via GitHub)" <gi...@apache.org>.
aiceflower commented on issue #4541:
URL: https://github.com/apache/linkis/issues/4541#issuecomment-1598349009

   You can use proxy users or add regular users to the hadoop user group


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [linkis] github-actions[bot] commented on issue #4541: When using a user other than hadoop to run the task, there is no permission to get the log on hdfs

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4541:
URL: https://github.com/apache/linkis/issues/4541#issuecomment-1547083075

   ## :blush:  Welcome to the Apache Linkis community!!
   We are glad that you are contributing by opening this issue.
   
   Please make sure to include all the relevant context.
   We will be here shortly.
   
   If you are interested in contributing to our website project, please let us know!
   You can check out our contributing guide on
    :point_right:  [How to Participate in Project Contribution](https://linkis.apache.org/community/how-to-contribute).
   
   
   ### Community
   
   |WeChat Assistant|WeChat Public Account|
   |-|-|
   |<img src="https://linkis.apache.org/Images/wedatasphere_contact_01.png" width="128"/>|<img src="https://linkis.apache.org/Images/gzh_01.png" width="128"/>|
   
   
   ### Mailing Lists
   |Name|Description|Subscribe|Unsubscribe|Archive|
   |:-----|:--------|:------|:-------|:-----|
   | [dev@linkis.apache.org](mailto:dev@linkis.apache.org) | community activity information | [subscribe](mailto:dev-subscribe@linkis.apache.org) | [unsubscribe](mailto:dev-unsubscribe@linkis.apache.org) | [archive](http://mail-archives.apache.org/mod_mbox/linkis-dev) |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org