Could the solution be setting dfs.datanode.data.dir.perm to 755 in hdfs-site.xml ? ...
Could the solution be setting dfs.datanode.data.dir.perm to 755 in hdfs-site.xml ?
While running HDP 1.1 (HDFS version, 188.8.131.52. HBASE version: 0.92.1.15)
I am seeing this warning in my region server log files:
2012-11-13 13:41:21,334 WARN org.apache.hadoop.hdfs.DFSClient: BlockReaderLocal: Removing blk_-3202046197278941888_18303 from cache because local file /hadoop/hdfs/data/sdi1/current/subdir14/blk_-3202046197278941888 could not be opened.
2012-11-13 13:41:21,334 WARN org.apache.hadoop.hdfs.DFSClient: Failed to connect to /XX.XX.XX.XXX:50010 for file /apps/hbase/data/-ROOT-/70236052/info/e32228437cb341e1bba3f321e8e7a67e for block blk_-3202046197278941888_18303:java.io.FileNotFoundException: /hadoop/hdfs/data/sdi1/current/subdir14/blk_-3202046197278941888 (Permission denied)
The ls -l command shows this:
-rw-r—–. 1 hdfs hdfs 1107 Nov 12 14:17 /hadoop/hdfs/data/sdi1/current/subdir14/blk_-3202046197278941888
The id command for the hbase user shows:
uid=492(hbase) gid=491(hbase) groups=491(hbase),504(hadoop)
The questions are: why am i seeing this warning and what can I do to make it go away ?
The forum ‘HBase’ is closed to new topics and replies.
A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.
Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world