[
https://issues.apache.org/jira/browse/HDDS-8385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712496#comment-17712496
]
George Jahad commented on HDDS-8385:
------------------------------------
Hey Hemant: I believe the fix here is just to add:
archiveOutputStream.setBigNumberMode(TarArchiveOutputStream.BIGNUMBER_POSIX);
here:
https://github.com/apache/ozone/blob/06433c0da953d885ce39e439e0c2ddc8d96af6f6/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMDBCheckpointServlet.java#L131
You can reproduce the problem and confirm the fix but setting a bp here:
https://github.com/apache/ozone/blob/b509d37c08e807a1b9f95ea3fc38d7641e078108/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOMRatisSnapshots.java#L195
and changing the grp of one of the files, something like this:
chgrp 1301600003
/home/gbj/incoming/build-master/hadoop-ozone/integration-test/target/test-dir/MiniOzoneClusterImpl-4b001612-5433-4216-8f31-6dc71e4667e9/omNode-1/db.snapshots/checkpointState/om.db-0204b3a0-2e53-4506-aa99-39d1f8c11184/000051.sst
> Ozone can't process snapshot when service UID > 2097151
> -------------------------------------------------------
>
> Key: HDDS-8385
> URL: https://issues.apache.org/jira/browse/HDDS-8385
> Project: Apache Ozone
> Issue Type: Bug
> Components: Snapshot
> Reporter: Prashant Pogde
> Assignee: Hemant Kumar
> Priority: Major
> Fix For: 1.4.0
>
>
> With Ozone OM HA configured, the process that tar's up a snapshot fails.
> {{{}2023-03-31 12:51:15,272 ERROR
> org.apache.hadoop.hdds.utils.DBCheckpointServlet: Unable to process metadata
> snapshot request.{}}}{{{}java.lang.IllegalArgumentException: group id
> '1301600003' is too big ( > 2097151 ). Use STAR or POSIX extensions to
> overcome this limit{}}}
>
> {{The only solution at this time was to rework my service account UID's to a
> value below 2097151.}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]