Member since
09-21-2015
2
Posts
0
Kudos Received
0
Solutions
09-21-2015
05:50 AM
Hi ALL, I am trying to setup and configure cloudera hadoop cluster using API call in CM version 5.4.5. I have created and configure cluster and HDFS service using API calls. When I am trying to configure arguments to "hdfs-DATANODE-BASE" roleConfgGroups, it gives 404 error. I can able to configure arguments for other roleConfigGroups(eg.hdfs-NAMENODE-BASE, hdfs-SECONDARYNAMENODE-BASE) using same api call. The hdfs-DATANODE-BASE" roleConfgGroups is available. Below is the curl api call to configure arguments to roleconfiggroups: #curl -i -u admin:admin -X PUT -H "content-type:application/json" -d '{"items":[{"name":"dfs_data_dir_list","value":"/data/dn1,/data/dn2,/data/dn3"},{"name":"dfs_datanode_failed_volumes_tolerated","value":"1"}]}' http://localhost:7180/api/v10/clusters/TestCluster/services/hdfs/roleConfgGroups/hdfs-DATANODE-BASE/config please help to fix it. Thanks, Bagal
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Cloudera Manager
-
HDFS