You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "JiangHua Zhu (Jira)" <ji...@apache.org> on 2021/02/24 01:45:00 UTC

[jira] [Updated] (HDFS-15855) Solve the problem of incorrect EC progress when loading FsImage

     [ https://issues.apache.org/jira/browse/HDFS-15855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

JiangHua Zhu updated HDFS-15855:
--------------------------------
    Description: 
When loading FsImage, if EC information exists, the EC loading display is incorrect during processing.

FSImageFormatProtobuf#loadInternal() : 
case ERASURE_CODING:
           Step step = new Step(StepType.ERASURE_CODING_POLICIES);
           prog.beginStep(Phase.LOADING_FSIMAGE, step);
           loadErasureCodingSection(in);
           prog.endStep(Phase.LOADING_FSIMAGE, step);
           break;

StartupProgress is not used here to record EC-related information.

  was:
When loading FsImage, if EC information exists, the EC loading display is incorrect during processing.

#FSImageFormatProtobuf.java
case ERASURE_CODING:
           Step step = new Step(StepType.ERASURE_CODING_POLICIES);
           prog.beginStep(Phase.LOADING_FSIMAGE, step);
           loadErasureCodingSection(in);
           prog.endStep(Phase.LOADING_FSIMAGE, step);
           break;

StartupProgress is not used here to record EC-related information.


> Solve the problem of incorrect EC progress when loading FsImage
> ---------------------------------------------------------------
>
>                 Key: HDFS-15855
>                 URL: https://issues.apache.org/jira/browse/HDFS-15855
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: JiangHua Zhu
>            Assignee: JiangHua Zhu
>            Priority: Major
>
> When loading FsImage, if EC information exists, the EC loading display is incorrect during processing.
> FSImageFormatProtobuf#loadInternal() : 
> case ERASURE_CODING:
>            Step step = new Step(StepType.ERASURE_CODING_POLICIES);
>            prog.beginStep(Phase.LOADING_FSIMAGE, step);
>            loadErasureCodingSection(in);
>            prog.endStep(Phase.LOADING_FSIMAGE, step);
>            break;
> StartupProgress is not used here to record EC-related information.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org