[ 
https://issues.apache.org/jira/browse/HDDS-1909?focusedWorklogId=304448&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-304448
 ]

ASF GitHub Bot logged work on HDDS-1909:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 30/Aug/19 17:44
            Start Date: 30/Aug/19 17:44
    Worklog Time Spent: 10m 
      Work Description: bharatviswa504 commented on pull request #1225: 
HDDS-1909. Use new HA code for Non-HA in OM.
URL: https://github.com/apache/hadoop/pull/1225#discussion_r319614212
 
 

 ##########
 File path: 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHA.java
 ##########
 @@ -122,6 +124,8 @@ public void init() throws Exception {
     clusterId = UUID.randomUUID().toString();
     scmId = UUID.randomUUID().toString();
     conf.setBoolean(OZONE_ACL_ENABLED, true);
+    conf.set(OzoneConfigKeys.OZONE_ADMINISTRATORS,
 
 Review comment:
   Because Ozone acls are enabled, and for volume creation the acl logic is as 
below. For testing purpose gave "*". 
   ```
         // check Acl
         if (ozoneManager.getAclsEnabled()) {
           if (!ozAdmins.contains(OZONE_ADMINISTRATORS_WILDCARD) &&
               !ozAdmins.contains(getUserInfo().getUserName())) {
             throw new OMException("Only admin users are authorized to create " 
+
                 "Ozone volumes. User: " + getUserInfo().getUserName(),
                 OMException.ResultCodes.PERMISSION_DENIED);
           }
         }
   ```
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 304448)
    Time Spent: 11h 20m  (was: 11h 10m)

> Use new HA code for Non-HA in OM
> --------------------------------
>
>                 Key: HDDS-1909
>                 URL: https://issues.apache.org/jira/browse/HDDS-1909
>             Project: Hadoop Distributed Data Store
>          Issue Type: New Feature
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 11h 20m
>  Remaining Estimate: 0h
>
> This Jira is to use new HA code of OM in Non-HA code path.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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

Reply via email to