Skip to content

Conversation

@xiaoyuyao
Copy link
Contributor

…onversions.

What changes were proposed in this pull request?

Remove OmOzoneAclMap to consolidate acl operation among volume/bucket/prefix

What is the link to the Apache JIRA

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

How was this patch tested?

Existing UT

@xiaoyuyao
Copy link
Contributor Author

The test timeout failure TestNode2PipelineMap seems unrelated.

@ChenSammi
Copy link
Contributor

@xiaoyuyao , thanks for consolidating native ACL logics. The patch overall looks good.

Besides some inline comments, there is "TestOmOzoneAclMap.java".
This UT is introduced in HDDS-4606, which fixed the issue that duplicate default ACLs are added on volume. I don't find existing UT which covers this case. So can you refine the TestOmOzoneAclMap.java to keep it, or add a new duplicate default ACL check UT somewhere in existing test class?

@mukul1987 mukul1987 force-pushed the master branch 2 times, most recently from 79a9d39 to 520ba00 Compare March 25, 2021 16:05
@xiaoyuyao
Copy link
Contributor Author

@xiaoyuyao , thanks for consolidating native ACL logics. The patch overall looks good.

Besides some inline comments, there is "TestOmOzoneAclMap.java".
This UT is introduced in HDDS-4606, which fixed the issue that duplicate default ACLs are added on volume. I don't find existing UT which covers this case. So can you refine the TestOmOzoneAclMap.java to keep it, or add a new duplicate default ACL check UT somewhere in existing test class?

Good catch. I've ported the test in the update.

@ChenSammi
Copy link
Contributor

The last patch LGTM. @xiaoyuyao would you check the failed acceptance. They seems irrelevant.

@xiaoyuyao
Copy link
Contributor Author

@ChenSammi It seems to be some transient timeout issue. The latest run is clean.

@ChenSammi
Copy link
Contributor

+1. Thanks @xiaoyuyao.

@ChenSammi ChenSammi merged commit fcd0160 into apache:master Apr 1, 2021
errose28 added a commit to errose28/ozone that referenced this pull request Apr 7, 2021
* HDDS-3698-nonrolling-upgrade: (144 commits)
  fix project name in NOTICE.txt (apache#2112)
  HDDS-5066. Use fixed vesion from pnpm to build recon (apache#2115)
  HDDS-5014. Add non-rolling upgrade design docs.
  HDDS-5035. Use default config values to solve generated config file conflict (apache#2087)
  HDDS-5032. DN stopped to load containers on volume after a container load exception. (apache#2109)
  HDDS-4504. Datanode deletion config should be based on number of blocks (apache#1885)
  Fix ozone-ha acceptance test.
  HDDS-5058. Make getScmInfo retry for a duration.
  HDDS-4506. Support query parameter based v4 auth in S3g (apache#1628)
  HDDS-4553. ChunkInputStream should release buffer as soon as last byte in the buffer is read (apache#2062)
  HDDS-5022. SCM get roles command should provide Ratis Leader/Follower… (apache#2098)
  HDDS-5033. SCM may not be able to know full port list of Datanode after Datanode is started. (apache#2090)
  HDDS-3752. Fix o3fs list bucket contents issue when without tailing "/" (apache#2088)
  HDDS-4901. Remove OmOzoneAclMap from OmVolumeArgs to avoid OzoneAcl conversions (apache#1992)
  HDDS-4987. Import container should not delete container contents if container already exists (apache#2077)
  Checkstyle fix.
  Intialize DN layout version before security init.
  HDDS-4915. [SCM HA Security] Integrate CertClient. (apache#2000)
  HDDS-5049. Add timeout support for ratis requests in SCM HA. (apache#2099)
  trigger new CI check
  ...
errose28 added a commit to errose28/ozone that referenced this pull request Apr 9, 2021
* HDDS-3698-nonrolling-upgrade: (150 commits)
  HDDS-5056. Avoid false positiver error messages during pipeline creations (apache#2105)
  HDDS-5027. [SCM HA Security] Handle leader changes during bootstrap. (apache#2113)
  HDDS-5032. Fix findbugs (apache#2120)
  HDDS-5062. Add a config to bypass clusterId validation for bootstrapping SCM. (apache#2114)
  HDDS-5011. Introduce Java based ReplicationConfig implementation (apache#2089)
  HDDS-4925. Introduce ContainerBalancer in SCM with start/stop capabilities. (apache#2097)
  fix project name in NOTICE.txt (apache#2112)
  HDDS-5066. Use fixed vesion from pnpm to build recon (apache#2115)
  HDDS-5014. Add non-rolling upgrade design docs.
  HDDS-5035. Use default config values to solve generated config file conflict (apache#2087)
  HDDS-5032. DN stopped to load containers on volume after a container load exception. (apache#2109)
  HDDS-4504. Datanode deletion config should be based on number of blocks (apache#1885)
  Fix ozone-ha acceptance test.
  HDDS-5058. Make getScmInfo retry for a duration.
  HDDS-4506. Support query parameter based v4 auth in S3g (apache#1628)
  HDDS-4553. ChunkInputStream should release buffer as soon as last byte in the buffer is read (apache#2062)
  HDDS-5022. SCM get roles command should provide Ratis Leader/Follower… (apache#2098)
  HDDS-5033. SCM may not be able to know full port list of Datanode after Datanode is started. (apache#2090)
  HDDS-3752. Fix o3fs list bucket contents issue when without tailing "/" (apache#2088)
  HDDS-4901. Remove OmOzoneAclMap from OmVolumeArgs to avoid OzoneAcl conversions (apache#1992)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants