update hdfs name/data dirs. use read shortcircuit for local blocks