1

Overcoming HDFS-2556: unit tests directory and permissions

view story
linux-howto

http://stackoverflow.com – I'm trying to run hadoop unit tests using hadoop using MiniDFSCluster,MiniMRCluster and JUnit however I'm getting this error: WARNING: Metrics system not started: Cannot locate configuration: tried hadoop-metrics2-datanode.properties, hadoop-metrics2.properties Dec 18, 2012 4:42:29 PM org.apache.hadoop.hdfs.server.datanode.DataNode makeInstance WARNING: Invalid directory in dfs.data.dir: Incorrect permission for build/test/data/dfs/data/data1, expected: rwxr-xr-x, while actual: rwxrwxr-x Dec 18, 2012 4:42:29 PM org.apache.hadoop.hdfs.server.datanode.DataNode makeInstance WARNING: Invalid dir (HowTos)