[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to