[ 
https://issues.apache.org/jira/browse/HDFS-16815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17682396#comment-17682396
 ] 

ASF GitHub Bot commented on HDFS-16815:
---------------------------------------

meijing123 opened a new pull request, #5333:
URL: https://github.com/apache/hadoop/pull/5333

   1. We added a test method to test the CacheManagerSectionProcessor.
   2. We fixed two bugs in the processor of CacheManagerSectionProcessor to 
make sure the xml parsing fsimage.
   
   <!--
     Thanks for sending a pull request!
       1. If this is your first time, please read our contributor guidelines: 
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
       2. Make sure your PR title starts with JIRA issue id, e.g., 
'HADOOP-17799. Your PR title ...'.
   -->
   
   ### Description of PR
   
   
   ### How was this patch tested?
   
   
   ### For code changes:
   
   - [ ] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] Object storage: have the integration tests been executed and the 
endpoint declared according to the connector-specific documentation?
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, 
`NOTICE-binary` files?
   
   




> Error occurred in processing CacheManagerSection for xml parsing fsimage
> ------------------------------------------------------------------------
>
>                 Key: HDFS-16815
>                 URL: https://issues.apache.org/jira/browse/HDFS-16815
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs
>            Reporter: MeiJing
>            Assignee: MeiJing
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: image-2022-10-24-10-34-07-288.png, 
> image-2022-10-24-10-43-57-652.png, image-2022-10-24-10-44-51-234.png
>
>
> For  testing  OfflineImageReconstructor, we run a test method. There are some 
> bugs in the process of  CacheManagerSectionProcessor. 
>   !image-2022-10-24-10-34-07-288.png|width=536,height=582!
>                                                    Fig1 Test Method
> First, we write the test method as Fig1 to test CacheManagerSectionProcessor, 
> but the method throw a exception that shows "<pool> found without 
> <poolName>".  As Fig2 shows.
> !image-2022-10-24-10-43-57-652.png|width=528,height=53!
>                                                    Fig2  result of test 
> method 
> Second, we run the test method again when we solve the first bug. there is 
> another bug that shows "Expected tag end event for CacheManagerSection, but 
> got tag end event for pool". As Fig3 shows.
> !image-2022-10-24-10-44-51-234.png!
>                                                       Fig3 second result of 
> test method



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to