Skip to content

Conversation

@smengcl
Copy link
Contributor

@smengcl smengcl commented Sep 4, 2020

What changes were proposed in this pull request?

Improve volumes' and buckets' owner and group display when listing root and in volumes in OFS.

  1. Display short name instead of full Kerberos principal.
  2. For volumes, get actual group of the owner (currently it is the volume admin name which is incorrect)
  3. For buckets, display the owner and group of its parent volume.

What is the link to the Apache JIRA

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

How was this patch tested?

Modified testListStatusRootAndVolumeNonRecursive to add the owner and group check for volumes and buckets listing.

…umes and buckets

Change-Id: I28a4d6dc8756c63b9ac242f283c3ed0b0f0b40c8
@smengcl smengcl added enhancement New feature or request ofs labels Sep 4, 2020
@smengcl smengcl self-assigned this Sep 4, 2020
Change-Id: I5286aadd344dca405c062ed6c4942112b8754f8b
Copy link
Contributor

@xiaoyuyao xiaoyuyao left a comment

Choose a reason for hiding this comment

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

Thanks @smengcl for improving this. LGTM, +1.

Change-Id: If9a8f7106ad3a3eb3358e5118a4c08368588cb66
@smengcl smengcl merged commit bfa2801 into apache:master Sep 9, 2020
llemec pushed a commit to llemec/hadoop-ozone that referenced this pull request Sep 15, 2020
errose28 added a commit to errose28/ozone that referenced this pull request Sep 18, 2020
* master: (47 commits)
  HDDS-4104. Provide a way to get the default value and key of java-based-configuration easily (apache#1369)
  HDDS-4250. Fix wrong logger name (apache#1429)
  HDDS-4244. Container deleted wrong replica cause mis-replicated. (apache#1423)
  HDDS-4053. Volume space: add quotaUsageInBytes and update it when write and delete key. (apache#1296)
  HDDS-4210. ResolveBucket during checkAcls fails. (apache#1398)
  HDDS-4075. Retry request on different OM on AccessControlException (apache#1303)
  HDDS-4166. Documentation index page redirects to the wrong address (apache#1372)
  HDDS-4039. Reduce the number of fields in hdds.proto to improve performance (apache#1289)
  HDDS-4155. Directory and filename can end up with same name in a path. (apache#1361)
  HDDS-3927. Rename Ozone OM,DN,SCM runtime options to conform to naming conventions (apache#1401)
  HDDS-4119. Improve performance of the BufferPool management of Ozone client (apache#1336)
  HDDS-4217.Remove test TestOzoneContainerRatis (apache#1408)
  HDDS-4218.Remove test TestRatisManager (apache#1409)
  HDDS-4129. change MAX_QUOTA_IN_BYTES to Long.MAX_VALUE. (apache#1337)
  HDDS-4228: add field 'num' to ALLOCATE_BLOCK of scm audit log. (apache#1413)
  HDDS-4196. Add an endpoint in Recon to query Prometheus (apache#1390)
  HDDS-4211. [OFS] Better owner and group display for listing Ozone volumes and buckets (apache#1397)
  HDDS-4150. recon.api.TestEndpoints test is flaky (apache#1396)
  HDDS-4170 - Fix typo in method description. (apache#1406)
  HDDS-4064. Show container verbose info with verbose option (apache#1290)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ofs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants