- 
                Notifications
    
You must be signed in to change notification settings  - Fork 9.1k
 
HDDS-1473. DataNode ID file should be human readable. #781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
        
          
                ...r-service/src/main/java/org/apache/hadoop/ozone/container/common/helpers/DatanodeIdYaml.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
      | 
           💔 -1 overall 
 
 
 This message was automatically generated.  | 
    
| 
           💔 -1 overall 
 
 
 This message was automatically generated.  | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 with two nitpicky comments! Thanks for fixing this @swagle .
        
          
                ...r-service/src/main/java/org/apache/hadoop/ozone/container/common/helpers/DatanodeIdYaml.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...r-service/src/main/java/org/apache/hadoop/ozone/container/common/helpers/DatanodeIdYaml.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestMiniOzoneCluster.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
      | 
           💔 -1 overall 
 
 
 This message was automatically generated.  | 
    
| 
           LGTM. +1 pending CI checks.  | 
    
| 
           Thanks, @hanishakoneru for the review. Made checkstyle fixes in the last push.  | 
    
| 
           💔 -1 overall 
 
 
 This message was automatically generated.  | 
    
| 
           /retest  | 
    
| 
           The test failures are unrelated and pass locally. I will merge this PR. Thank you @swagle for working on this.  | 
    
Author: Sanil15 <[email protected]> Reviewers: Prateek Maheshwari <[email protected]> Closes apache#781 from Sanil15/SAMZA-1970
cc: @arp7 Human readable version of the dn details will now be written out like this::
!!org.apache.hadoop.ozone.container.common.helpers.DatanodeIdYaml$DatanodeDetailsYaml { certSerialId: '8689088562908158976', hostName: localhost, ipAddress: 155.217.19.151, portDetails: { RATIS: 0, REST: 0, STANDALONE: 1 }, uuid: 74737b50-7b2b-448b-8a72-f2c6c6c77e4a }