- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
404 error while configuring argument to roleConfgGroups in hdfs(hdfs-DATANODE-BASE) group
- Labels:
-
Apache Hadoop
-
Cloudera Manager
-
HDFS
Created on ‎09-21-2015 05:50 AM - edited ‎09-16-2022 02:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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/...
please help to fix it.
Thanks,
Bagal
Created ‎09-24-2015 08:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bagal,
In the URL, I think you are missing a "i" in roleConfigGroups. You have http://localhost:7180/api/v10/clusters/TestCluster/services/hdfs/roleConfgGroups/hdfs-DATANODE-BASE/config. Give it a shot with the "i" in there and let me know if it works.
Regards,
Justin
Created ‎09-24-2015 08:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bagal,
In the URL, I think you are missing a "i" in roleConfigGroups. You have http://localhost:7180/api/v10/clusters/TestCluster/services/hdfs/roleConfgGroups/hdfs-DATANODE-BASE/config. Give it a shot with the "i" in there and let me know if it works.
Regards,
Justin
