Invalid directory configuration in CDH
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahara |
New
|
Undecided
|
Unassigned |
Bug Description
CDH 5.9 clusters (tested for 5.9, may affect more versions) start with 4 configuration errors:
Missing required value: DataNode Data Directory
Missing required value: HDFS Checkpoint Directories
Missing required value: NameNode Data Directories
Missing required value: NodeManager Local Directories
HDFS commands do work, but Cloudera Manager still shows errors, and those values can't be changed when creating the cluster.
Some default value is given to those properties, and is scoped for the specific nodes containing those roles. For example, for Datanode data directory the value is /mnt/fs/dn. Cloudera Manager doesn't accept those, probably because the scope is of individual nodes and not the role default group. Adding the same directory in the role scope fixed the problem.
I tried manually configuring those values in the Sahara GUI, but they don't get updated, and always get those default values. I searched the code and didn't find any place where those properties are set.
Changed in sahara: | |
status: | New → Incomplete |
status: | Incomplete → New |
this do reproduce on my env, and need deep investigation.