{"action":"created","issue":{"url":"https://api.github.com/repos/hortonworks/ansible-hortonworks/issues/79","repository_url":"https://api.github.com/repos/hortonworks/ansible-hortonworks","labels_url":"https://api.github.com/repos/hortonworks/ansible-hortonworks/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/hortonworks/ansible-hortonworks/issues/79/comments","events_url":"https://api.github.com/repos/hortonworks/ansible-hortonworks/issues/79/events","html_url":"https://github.com/hortonworks/ansible-hortonworks/issues/79","id":369512034,"node_id":"MDU6SXNzdWUzNjk1MTIwMzQ=","number":79,"title":"resource_management.core.exceptions.Fail: Configuration parameter 'yarn-env' was not found in configurations dictionary!","user":{"login":"previa","id":1097630,"node_id":"MDQ6VXNlcjEwOTc2MzA=","avatar_url":"https://avatars1.githubusercontent.com/u/1097630?v=4","gravatar_id":"","url":"https://api.github.com/users/previa","html_url":"https://github.com/previa","followers_url":"https://api.github.com/users/previa/followers","following_url":"https://api.github.com/users/previa/following{/other_user}","gists_url":"https://api.github.com/users/previa/gists{/gist_id}","starred_url":"https://api.github.com/users/previa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/previa/subscriptions","organizations_url":"https://api.github.com/users/previa/orgs","repos_url":"https://api.github.com/users/previa/repos","events_url":"https://api.github.com/users/previa/events{/privacy}","received_events_url":"https://api.github.com/users/previa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-10-12T11:29:29Z","updated_at":"2018-10-15T08:47:31Z","closed_at":null,"author_association":"NONE","body":"the result of apply_blueprint.sh: \r\n> Traceback (most recent call last):\r\n>   File \"/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/mapreduce2_client.py\", line 93, in <module>\r\n>     MapReduce2Client().execute()\r\n>   File \"/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py\", line 351, in execute\r\n>     method(env)\r\n>   File \"/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/mapreduce2_client.py\", line 39, in install\r\n>     import params\r\n>   File \"/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/params.py\", line 29, in <module>\r\n>     from params_linux import *\r\n>   File \"/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/params_linux.py\", line 43, in <module>\r\n>     import status_params\r\n>   File \"/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/status_params.py\", line 41, in <module>\r\n>     yarn_pid_dir = format(\"{yarn_pid_dir_prefix}/{yarn_user}\")\r\n>   File \"/usr/lib/ambari-agent/lib/resource_management/libraries/functions/format.py\", line 95, in format\r\n>     return ConfigurationFormatter().format(format_string, args, **result)\r\n>   File \"/usr/lib/ambari-agent/lib/resource_management/libraries/functions/format.py\", line 59, in format\r\n>     result_protected = self.vformat(format_string, args, all_params)\r\n>   File \"/usr/lib/python2.7/string.py\", line 563, in vformat\r\n>     result = self._vformat(format_string, args, kwargs, used_args, 2)\r\n>   File \"/usr/lib/python2.7/string.py\", line 596, in _vformat\r\n>     result.append(self.format_field(obj, format_spec))\r\n>   File \"/usr/lib/python2.7/string.py\", line 613, in format_field\r\n>     return format(value, format_spec)\r\n>   File \"/usr/lib/ambari-agent/lib/resource_management/libraries/script/config_dictionary.py\", line 73, in __getattr__\r\n>     raise Fail(\"Configuration parameter '\" + self.name + \"' was not found in configurations dictionary!\")\r\n> resource_management.core.exceptions.Fail: Configuration parameter 'yarn-env' was not found in configurations dictionary!\r\n\r\nMy config:\r\n\r\n> - host_group: \"hdp-master\"\r\n>    clients: ['ZOOKEEPER_CLIENT', 'HDFS_CLIENT', 'MAPREDUCE2_CLIENT']\r\n>    services:\r\n>       - ZOOKEEPER_SERVER\r\n>       - NAMENODE\r\n>       - SECONDARY_NAMENODE\r\n>       - HISTORYSERVER\r\n>       - AMBARI_SERVER\r\n>       - METRICS_COLLECTOR\r\n>       - METRICS_GRAFANA\r\n>       - METRICS_MONITOR\r\n> \r\n> - host_group: \"hdp-slave\"\r\n>    clients: ['ZOOKEEPER_CLIENT', 'HDFS_CLIENT', 'MAPREDUCE2_CLIENT']\r\n>    services:\r\n>        - DATANODE\r\n>        - METRICS_MONITOR\r\n> \r\n\r\nThe only thing I found related to this is: \r\n\r\n[jira] [Updated] (AMBARI-21173) Not able to start Yarn services after restoring the configs to initial value\r\nhttp://mail-archives.apache.org/mod_mbox/ambari-issues/201708.mbox/%3CJIRA.13076667.1496353683000.5741.1502409960768@Atlassian.JIRA%3E"},"comment":{"url":"https://api.github.com/repos/hortonworks/ansible-hortonworks/issues/comments/429759572","html_url":"https://github.com/hortonworks/ansible-hortonworks/issues/79#issuecomment-429759572","issue_url":"https://api.github.com/repos/hortonworks/ansible-hortonworks/issues/79","id":429759572,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTc1OTU3Mg==","user":{"login":"alexandruanghel","id":5119993,"node_id":"MDQ6VXNlcjUxMTk5OTM=","avatar_url":"https://avatars0.githubusercontent.com/u/5119993?v=4","gravatar_id":"","url":"https://api.github.com/users/alexandruanghel","html_url":"https://github.com/alexandruanghel","followers_url":"https://api.github.com/users/alexandruanghel/followers","following_url":"https://api.github.com/users/alexandruanghel/following{/other_user}","gists_url":"https://api.github.com/users/alexandruanghel/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandruanghel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandruanghel/subscriptions","organizations_url":"https://api.github.com/users/alexandruanghel/orgs","repos_url":"https://api.github.com/users/alexandruanghel/repos","events_url":"https://api.github.com/users/alexandruanghel/events{/privacy}","received_events_url":"https://api.github.com/users/alexandruanghel/received_events","type":"User","site_admin":false},"created_at":"2018-10-15T08:47:31Z","updated_at":"2018-10-15T08:47:31Z","author_association":"COLLABORATOR","body":"No, I meant if all the variables are set as explained then it will work if you execute the scripts in that order (or simply ./install_cluster.sh).\r\n\r\nBut you cannot come back and edit stuff. These Ansible playbooks are for building a complete cluster, any further changes or additions have to be done after, outside these playbooks.\r\nYou cannot use these playbooks to add new services, etc.\r\n\r\nIf you want more help I will first need these from you:\r\n1) what OS you use or any public cloud?\r\n2) the full contents of the group_vars/all file\r\n\r\nIf you want a more friendly way to install and manage clusters, including a GUI, you should check cloudbreak: \r\nhttps://docs.hortonworks.com/HDPDocuments/Cloudbreak/Cloudbreak-2.7.2/content/index.html\r\nhttps://github.com/hortonworks/cloudbreak\r\n\r\nThis is a fully supported Hortonworks product (unlike these Ansible playbooks), much more complete and much easier to use."}}
{"actor":{"display_login":"alexandruanghel"}}