08-13-2014 04:40 PM
I am getting below errors when I ran "hadoop fsck /" command. Please help me on this.
08-13-2014 05:04 PM
The error message says some Accumulo files in the Trash folder only have 3 replicas whereas there should be 5. The default value of dfs.replication is 3. By default, dfs.replication.max is set to 512. This is the maximum number of replicas for a block. Accumulo checks if dfs.replication.max is set and if not, uses 5 for a replication factor. What version of CDH are you running?
All this is detailed in bug ACCUMULO-683
So you can do the following :
- set dfs.replication.max to 3
- set table.file.replication for the !METADATA also to 3
- Use "hadoop fs -setrep" to change the replication factor of those files to 3
- run fsck and confirm you don't get this warning any more
08-13-2014 06:18 PM