dombizita commented on code in PR #10239:
URL: https://github.com/apache/ozone/pull/10239#discussion_r3230076925


##########
hadoop-ozone/dist/src/main/compose/ozonesecure/docker-config:
##########
@@ -125,15 +124,6 @@ CORE-SITE.XML_hadoop.http.authentication.type=kerberos
 
CORE-SITE.XML_hadoop.http.authentication.kerberos.principal=HTTP/[email protected]
 
CORE-SITE.XML_hadoop.http.authentication.kerberos.keytab=/etc/security/keytabs/HTTP.keytab
 
-
-CORE-SITE.XML_hadoop.security.authorization=true
-HADOOP-POLICY.XML_ozone.om.security.client.protocol.acl=*
-HADOOP-POLICY.XML_hdds.security.client.datanode.container.protocol.acl=*
-HADOOP-POLICY.XML_hdds.security.client.scm.container.protocol.acl=*
-HADOOP-POLICY.XML_hdds.security.client.scm.block.protocol.acl=*
-HADOOP-POLICY.XML_hdds.security.client.scm.certificate.protocol.acl=*
-HADOOP-POLICY.XML_ozone.security.reconfigure.protocol.acl=*

Review Comment:
   I believe the hadoop policy changes are the default values, so it's not 
needed to be here. 
   But why is that the `hadoop.security.authorization` is not needed to be set 
in the core-site.xml? One idea I had it that the `hadoop-secure.yaml` has it 
via `security.conf`, which is added in `hadoop-test.sh` that is used by 
`test-hadoop.sh`, so the moved `ozonesecure-mr` stuff has it via this extra 
compose file. In this case this is not needed for the `ozonesecure` suite and 
it was unnecessary before?
   



##########
hadoop-ozone/dist/src/main/compose/ozonesecure/docker-config:
##########
@@ -49,8 +49,7 @@ OZONE-SITE.XML_ozone.recon.address=recon:9891
 OZONE-SITE.XML_ozone.security.enabled=true
 OZONE-SITE.XML_ozone.acl.enabled=true
 
OZONE-SITE.XML_ozone.acl.authorizer.class=org.apache.hadoop.ozone.security.acl.OzoneNativeAuthorizer
-OZONE-SITE.XML_ozone.administrators="testuser,recon,om"
-OZONE-SITE.XML_ozone.s3.administrators="testuser,recon,om"
+OZONE-SITE.XML_ozone.administrators="testuser,recon,om,hadoop"

Review Comment:
   Just to make sure I understand: the only difference in the `ozonesecure-mr` 
and `ozonesecure` (other than the below change around hadoop configs) was that 
the hadoop user was added as ozone admin? The `ozone.s3.administrators` can be 
removed, as it's by default the same as `ozone.administrators`, which is good 
for this suite?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to