Member since
12-13-2016
11
Posts
2
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
6057 | 05-30-2017 07:48 AM |
06-29-2017
02:47 AM
Hi guys, I was playind around with ACLs on a test cluster and set them recursively on /user to others::r-- instead of others::r-x. Then I wanted to change it back on /user/hive/warehouse but no matter what I do I cannot change them: hdfs dfs -getfacl /user/hive/warehouse # file: /user/hive/warehouse # owner: hive # group: hive user::rwx user:hive:rwx group::--- group:hive:rwx mask::rwx other::--x hdfs dfs -setfacl -m group::rwx /user/hive/warehouse hdfs dfs -getfacl /user/hive/warehouse # file: /user/hive/warehouse # owner: hive # group: hive user::rwx user:hive:rwx group::--- group:hive:rwx mask::rwx other::--x It always remains the same, I cannot change anything at all... Any ideas?
... View more
Labels:
- Labels:
-
HDFS
05-30-2017
07:48 AM
2 Kudos
I fixed the issue. The problem was that after setting the replication factor in Cloudera Manager files which were already created still preserve the replication factor they were created with (in my case 3). I had to recursively set the factor to 2 on the command line: hdfs dfs -setrep -R 2 /* Maybe it will help someone.
... View more
05-29-2017
11:18 PM
Hello, I have installed a new cluster with CM 5.11 and Hadoop 2.6.0-cdh5.11.0. I have 1 Name Node with all other services running on it, and 2 Datanodes. HDFS Replication factor is set to 2. I get the following HDFS error: Bad : 666 under replicated blocks in the cluster. 675 total blocks in the cluster. Percentage under replicated blocks: 98.67%. Critical threshold: 40.00%. I also tried setting the replication factor to 1 to test it out and restarted the cluster and agents, but the issue remains unchanged. There are a few threads about this issue already but I haven't found a solution yet. Do you have any idea? Thanks in advance!
... View more
Labels:
- Labels:
-
HDFS