Skip to content

[Bug] Log host path access denied when UID is different from GID #323

@a140262

Description

@a140262

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

Describe the bug

My Spark application's UID is different from GroupID, ie. use 999:1000 to access /data/rssadmin. In the init container command, why do you setup the permission via GID:GID instead of the format of UID:GID for the host paths?
The pod securityContext I set is:

    securityContext:
      runAsUser: 999
      fsGroup: 1000

Both coordinator and server pods threw the permission error:

/data/rssadmin/rss/bin/start-coordinator.sh: line 73: /data/rssadmin/rss/logs/coordinator.out: Permission denied
AND
/data/rssadmin/rss/bin/start-shuffle-server.sh: line 96: /data/rssadmin/rss/logs/shuffle_server.out: Permission denied

Affects Version(s)

0.7.0-snapshot

Uniffle Server Log Output

No response

Uniffle Engine Log Output

No response

Uniffle Server Configurations

No response

Uniffle Engine Configurations

No response

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions