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

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

                Author: ASF GitHub Bot
            Created on: 17/Aug/19 22:36
            Start Date: 17/Aug/19 22:36
    Worklog Time Spent: 10m 
      Work Description: vivekratnavel commented on pull request #1311: 
HDDS-1946. CertificateClient should not persist keys/certs to ozone.m…
URL: https://github.com/apache/hadoop/pull/1311
 
 
   …etadata.dir
   
   The issue was that when OM and SCM are deployed on the same host with 
ozone.metadata.dir defined. SCM can start successfully but OM can not because 
the key/cert from OM will collide with SCM.
   
   The solution implemented in this patch is to store certs in a sub directory 
inside ozone.metadata.dir based on the component. Ozone Manager will store its 
certs in `${ozone.metadata.dir}/om/certs` and Datanode will  store in 
`${ozone.metadata.dir}/dn/certs` to avoid conflicts. This solution was 
discussed with @anuengineer and I thank him for his guidance.
   
   Testing done: 
   I tested the patch in docker containers and verified that certs are now 
stored in `${ozone.metadata.dir}/${component}/certs` path. I modified the unit 
tests and verified that all unit tests pass.
    
 
----------------------------------------------------------------
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: 296854)
            Time Spent: 10m
    Remaining Estimate: 0h

> CertificateClient should not persist keys/certs to ozone.metadata.dir
> ---------------------------------------------------------------------
>
>                 Key: HDDS-1946
>                 URL: https://issues.apache.org/jira/browse/HDDS-1946
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>            Reporter: Xiaoyu Yao
>            Assignee: Vivek Ratnavel Subramanian
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> For example, when OM and SCM are deployed on the same host with 
> ozone.metadata.dir defined. SCM can start successfully but OM can not because 
> the key/cert from OM will collide with SCM.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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

Reply via email to