Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Why size of fsck report higher than fsimage?

Highlighted

Why size of fsck report higher than fsimage?

New Contributor

As part of the upgrade process , we are taking backup using "fsck / -files -blocks -locations > fsck.log"

Size of fsimage was 12GB .. but the size of this log is going beyond 50 GB..

How can we recover fsimage from this fsck report? Is it worth to spend time to take this backup?

Thanks

Anil

1 REPLY 1

Re: Why size of fsck report higher than fsimage?

New Contributor

Hi anil,It will be updated at the next fsimage checkpoint.

There are other methods of update :

1-execute this command in the secondary namenode or the standby one

dfsadmin -saveNamespace

2-or by changing the parameters :

dfs.namenode.checkpoint.period,dfs.namenode.checkpoint.txn,and the period of checking these conditions:dfs.namenode.checkpoint.

Note: this operation is CPU and memory intensive you should choose the right time and parameters.

Don't have an account?
Coming from Hortonworks? Activate your account here