[ https://issues.apache.org/jira/browse/HDDS-1632?focusedWorklogId=253006&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-253006 ]
ASF GitHub Bot logged work on HDDS-1632: ---------------------------------------- Author: ASF GitHub Bot Created on: 03/Jun/19 09:13 Start Date: 03/Jun/19 09:13 Worklog Time Spent: 10m Work Description: elek commented on pull request #893: HDDS-1632. Make the hadoop home word readable and avoid sudo in hadoo… URL: https://github.com/apache/hadoop/pull/893 …p-runner ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 253006) Time Spent: 0.5h (was: 20m) > Make the hadoop home word readable and avoid sudo in hadoop-runner > ------------------------------------------------------------------ > > Key: HDDS-1632 > URL: https://issues.apache.org/jira/browse/HDDS-1632 > Project: Hadoop Distributed Data Store > Issue Type: Improvement > Reporter: Elek, Marton > Assignee: Elek, Marton > Priority: Trivial > Labels: pull-request-available > Time Spent: 0.5h > Remaining Estimate: 0h > > [~eyang] reporeted in HDDS-1609 that the hadoop-runner image can be started > *without* mounting a real hadoop (usually, it's ounted) AND using a different > uid: > {code} > docker run -it -u $(id -u):$(id -g) apache/hadoop-runner bash > docker: Error response from daemon: OCI runtime create failed: > container_linux.go:345: starting container process caused "chdir to cwd > (\"/opt/hadoop\") set in config.json failed: permission denied": unknown. > {code} > There are two blocking problems here: > * the /opt/hadoop directory (which is the CWD inside the container) is 700 > instead of 755 > * The usage of sudo in started scripts (sudo is not possible if the real > user is not added to the /etc/passwd) > Both of them are addressed by this patch. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org