Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMBARI-24593. Download client config fails if user running Ambari ser… #2246

Merged
merged 1 commit into from
Sep 5, 2018

Conversation

zeroflag
Copy link
Contributor

@zeroflag zeroflag commented Sep 5, 2018

…ver has UID>2097151 (amagyar)

What changes were proposed in this pull request?

When ambari is running with a user that has UID/GID >2097151 download client configs fails with the following error:

{ 
"status" : 500, 
"message" : "org.apache.ambari.server.controller.spi.SystemException: group id '19600006' is too big ( > 2097151 )" 
} 

This is caused by a limitation in the tar file format which can be fixed by applying an extension (LONGFILE_POSIX/BIGNUMBER_POSIX)

How was this patch tested?

  • Configured ambari to run with a custom non-root user that had UID 1704000003.
  • Downloaded client config (requestComponentName="")
  • Checked the tar file content

@zeroflag zeroflag self-assigned this Sep 5, 2018
@zeroflag zeroflag requested review from a user, rlevas and smolnar82 September 5, 2018 10:41
@asfgit
Copy link

asfgit commented Sep 5, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3846/
Test PASSed.

@zeroflag zeroflag merged commit f3f6452 into apache:trunk Sep 5, 2018
@zeroflag zeroflag deleted the AMBARI-24593-trunk branch September 5, 2018 13:14
zeroflag added a commit to zeroflag/ambari that referenced this pull request Sep 5, 2018
zeroflag added a commit that referenced this pull request Sep 5, 2018
vishalsuvagia pushed a commit to vishalsuvagia/ambari that referenced this pull request Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants