Bug 970178
Summary: | JobTracker and TaskTracker cannot run as root | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Steve Watt <swatt> |
Component: | gluster-hadoop | Assignee: | Bradley Childs <bchilds> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Martin Bukatovic <mbukatov> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | mainline | CC: | aavati, eboyd, matt, mbukatov, mkudlej, rhs-bugs, vbellur |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-03-03 16:31:34 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1057253 |
Description
Steve Watt
2013-06-03 15:38:43 UTC
GA Workaround: Job and Task trackers may run as any non root user, as long as its identical on all systems. The UIDs must also match. The mapreduce job must also be submitted as the same user/UID. In addition, each system must have a sudoers entry allowing sudo access to the getfattr command by the user that started the trackers and is submitting the job. An example of the correct sudoers setup is creating a file /etc/sudoers.d/gluster, and add the line: mapred ALL= NOPASSWD: /usr/bin/getfattr where mapred is replaced by the user running the trackers + job. |