Skip to content

Conversation

@sarvekshayr
Copy link
Contributor

@sarvekshayr sarvekshayr commented Mar 5, 2024

What changes were proposed in this pull request?

Some Ozone users often forget to add the trailing slash in prefix ACL operations (i.e. ozone sh prefix setacl, ...), causing confusing PREFIX_NOT_FOUND error.
This patch should add more info about trailing slash in exception message.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-10424

How was this patch tested?

Got a clean CI run.

Copy link
Contributor

@ivandika3 ivandika3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the patch. LGTM +1.

@ivandika3
Copy link
Contributor

@sarvekshayr Please update the PR title to include the whole ticket title

@sarvekshayr sarvekshayr changed the title HDDS-10424. Add more info regarding trailing slash during prefix crea… HDDS-10424. Add more info regarding trailing slash during prefix creation Mar 5, 2024
Copy link
Contributor

@tanvipenumudy tanvipenumudy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the patch @sarvekshayr, the changes look good to me.

@sarvekshayr sarvekshayr marked this pull request as draft March 5, 2024 06:21
@sarvekshayr sarvekshayr marked this pull request as ready for review March 5, 2024 08:27
@adoroszlai adoroszlai marked this pull request as draft March 5, 2024 09:31
@adoroszlai adoroszlai marked this pull request as ready for review March 5, 2024 09:31
@adoroszlai adoroszlai merged commit f16b1af into apache:master Mar 5, 2024
@adoroszlai
Copy link
Contributor

Thanks @sarvekshayr for the patch, @ivandika3, @tanvipenumudy for the review.

jojochuang pushed a commit to jojochuang/ozone that referenced this pull request Mar 15, 2024
…pache#6328)

(cherry picked from commit f16b1af)
Change-Id: If3340ccf8f59eadf76004e93255349f14edf3efe
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