安装Accumulo 1.6,参考http://www.cloudera.com/content/cloudera/en/documentation/Accumulo/latest/PDF/Apache-Accumulo-Installation-Guide.pdf


在Cloudera Manager发现HDFS有警告,使用sudo -u hdfs hdfs fsck -blocks 发现类似错误:Target Replicas is 5 but found 3 replica(s).


解决方法:

accumulo shell -u root
config -t accumulo.metadata -s table.file.replication=3
config -t accumulo.root -s table.file.replication=3

sudo -u hdfs hadoop fs -setrep -w 3 -R /user/accumulo/.Trash
sudo -u hdfs hdfs fsck -blocks