Member since
04-12-2016
3
Posts
1
Kudos Received
0
Solutions
04-14-2016
07:50 AM
1 Kudo
allconfigsh.txtconfiglst.txt@jramakrishnan I've made a script which does the config.sh set for all configs (see attachement). This works.
... View more
04-14-2016
07:26 AM
@jramakrishnan Thanks for the response. I've tried it but get an error. /var/lib/ambari-server/resources/scripts/configs.sh -u admin -p <password> set hdptonamb01.ton.rsg hdptoncluster global ignore_groupsusers_create "true" USERID=admin
PASSWORD=*********
[ERROR] "global" not found in server response.
[ERROR] Output of `curl -k -s -u admin:admin "http://hdptonamb01.ton.rsg:8080/api/v1/clusters/hdptoncluster?fields=Clusters/desired_configs"` is:
[ERROR] { "href" : "http://hdptonamb01.ton.rsg:8080/api/v1/clusters/hdptoncluster?fields=Clusters/desired_configs", "Clusters" : { "cluster_name" : "hdptoncluster", "version" : "HDP-2.3", "desired_configs" : { "ams-env" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ams-hbase-env" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ams-hbase-log4j" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ams-hbase-policy" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ams-hbase-security-site" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ams-hbase-site" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ams-log4j" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ams-site" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "capacity-scheduler" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "cluster-env" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "core-site" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "gateway-log4j" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "gateway-site" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "hadoop-env" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "hadoop-policy" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "hcat-env" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "hdfs-log4j" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "hdfs-site" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "hive-env" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "hive-exec-log4j" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "hive-log4j" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "hive-site" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "hiveserver2-site" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "knox-env" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ldap-log4j" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "mapred-env" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "mapred-site" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "oozie-env" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "oozie-log4j" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "oozie-site" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "pig-env" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "pig-log4j" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "pig-properties" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ranger-hdfs-audit" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ranger-hdfs-plugin-properties" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ranger-hdfs-policymgr-ssl" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ranger-hdfs-security" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ranger-hive-audit" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ranger-hive-plugin-properties" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ranger-hive-policymgr-ssl" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ranger-hive-security" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ranger-knox-audit" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ranger-knox-plugin-properties" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ranger-knox-policymgr-ssl" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ranger-knox-security" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ranger-yarn-audit" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ranger-yarn-plugin-properties" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ranger-yarn-policymgr-ssl" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ranger-yarn-security" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "sqoop-env" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ssl-client" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "ssl-server" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "tez-env" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "tez-site" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "topology" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "users-ldif" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "webhcat-env" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "webhcat-log4j" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "webhcat-site" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "yarn-env" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "yarn-log4j" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "yarn-site" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "zoo.cfg" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "zookeeper-env" : { "tag" : "version1", "user" : "admin", "version" : 1 }, "zookeeper-log4j" : { "tag" : "version1", "user" : "admin", "version" : 1 } } } }
... View more
04-12-2016
03:47 PM
Our environment is already installed. Now we want to use an LDAP for the user managment (hdfs, oozie, sqoop, etc...). When starting the hosts an error is raised about usermod is not possible ( user does not exist in /etc/passwd). During installation you can set 'Skip Group Modifications'. How can this be set afterwards?
... View more
Labels:
- Labels:
-
Apache Ambari