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

   <!--
     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
   jira: [https://issues.apache.org/jira/browse/HDFS-17401](url)
   Excess internal block can't be deleted correctly when it's stored in 
fallback storage.
   
   Simple case:
   
   EC-RS-6-3-1024k file is stored using ALL_SSD storage policy(SSD is default 
storage type and DISK is fallback storage type), if the block group is as 
follows
   
   [0(SSD), 0(SSD), 1(SSD), 2(SSD), 3(SSD), 4(SSD), 5(SSD), 6(SSD), 7(SSD), 
8(DISK)] 
   
   The are two index 0 internal block and one of them should be chosen to 
delete.But the current implement chooses the index 0 internal blocks as 
candidates but DISK as exess storage type.As a result, the exess storage 
type(DISK) can not correspond to the exess internal blocks' storage type(SSD) 
correctly, and the exess internal block can not be deleted correctly.


-- 
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: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to