You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, thanks for the repository it have extended a great help to me.
Currently installed the base cluster from the package but unable to install ambari-solr and few services, below is the error.
stderr:
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/AMBARI_INFRA_SOLR/0.1.0/package/scripts/infra_solr.py", line 171, in
InfraSolr().execute()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/AMBARI_INFRA_SOLR/0.1.0/package/scripts/infra_solr.py", line 43, in install
self.install_packages(env)
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 853, in install_packages
retry_count=agent_stack_retry_count)
File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in init
self.env.run()
File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run
self.run_action(resource, action)
File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action
provider_action()
File "/usr/lib/ambari-agent/lib/resource_management/core/providers/packaging.py", line 30, in action_install
self._pkg_manager.install_package(package_name, self.__create_context())
File "/usr/lib/ambari-agent/lib/ambari_commons/repo_manager/yum_manager.py", line 219, in install_package
shell.repository_manager_executor(cmd, self.properties, context)
File "/usr/lib/ambari-agent/lib/ambari_commons/shell.py", line 753, in repository_manager_executor
raise RuntimeError(message)
RuntimeError: Failed to execute command '/usr/bin/yum -y install ambari-infra-solr', exited with code '1', message: 'Error: Nothing to do
'
stdout :
2021-05-03 12:09:04,444 - Stack Feature Version Info: Cluster Stack=3.1, Command Stack=None, Command Version=None -> 3.1
2021-05-03 12:09:04,450 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
2021-05-03 12:09:04,451 - Skipping creation of User and Group as host is sys prepped or ignore_groupsusers_create flag is on
2021-05-03 12:09:04,451 - Directory['/tmp/hbase-hbase'] {'owner': 'hbase', 'create_parents': True, 'mode': 0775, 'cd_access': 'a'}
2021-05-03 12:09:04,453 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2021-05-03 12:09:04,454 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2021-05-03 12:09:04,455 - call['/var/lib/ambari-agent/tmp/changeUid.sh hbase'] {}
2021-05-03 12:09:04,464 - call returned (0, '1019')
2021-05-03 12:09:04,465 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 1019'] {'not_if': '(test $(id -u hbase) -gt 1000) || (true)'}
2021-05-03 12:09:04,470 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 1019'] due to not_if
2021-05-03 12:09:04,471 - Skipping setting dfs cluster admin and tez view acls as host is sys prepped
2021-05-03 12:09:04,471 - FS Type: HDFS
2021-05-03 12:09:04,471 - Directory['/etc/hadoop'] {'mode': 0755}
2021-05-03 12:09:04,485 - File['/usr/hdp/current/hadoop-client/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'}
2021-05-03 12:09:04,485 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 01777}
2021-05-03 12:09:04,503 - Repository['elasticsearch-7.x-repo-5'] {'base_url': 'https://artifacts.elastic.co/packages/7.x/yum', 'action': ['prepare'], 'components': [u'ELASTICSEARCH', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'ambari-hdp-5', 'mirror_list': None}
2021-05-03 12:09:04,509 - Repository['mosga-ambari-repo-5'] {'base_url': 'https://makeopensourcegreatagain.com/repos/centos/7/ambari/2.7.5.0', 'action': ['prepare'], 'components': [u'MOSGA', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'ambari-hdp-5', 'mirror_list': None}
2021-05-03 12:09:04,511 - Repository['mosga-hdp3-repo-5'] {'base_url': 'https://makeopensourcegreatagain.com/repos/centos/7/hdp/HDP-3.1.4.0', 'action': ['prepare'], 'components': [u'MOSGA', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'ambari-hdp-5', 'mirror_list': None}
2021-05-03 12:09:04,513 - Repository[None] {'action': ['create']}
2021-05-03 12:09:04,513 - File['/tmp/tmpMc7oax'] {'content': '[elasticsearch-7.x-repo-5]\nname=elasticsearch-7.x-repo-5\nbaseurl=https://artifacts.elastic.co/packages/7.x/yum\n\npath=/\nenabled=1\ngpgcheck=0\n[mosga-ambari-repo-5]\nname=mosga-ambari-repo-5\nbaseurl=https://makeopensourcegreatagain.com/repos/centos/7/ambari/2.7.5.0\n\npath=/\nenabled=1\ngpgcheck=0\n[mosga-hdp3-repo-5]\nname=mosga-hdp3-repo-5\nbaseurl=https://makeopensourcegreatagain.com/repos/centos/7/hdp/HDP-3.1.4.0\n\npath=/\nenabled=1\ngpgcheck=0'}
2021-05-03 12:09:04,514 - Writing File['/tmp/tmpMc7oax'] because contents don't match
2021-05-03 12:09:04,514 - File['/tmp/tmpRv18eB'] {'content': StaticFile('/etc/yum.repos.d/ambari-hdp-5.repo')}
2021-05-03 12:09:04,515 - Writing File['/tmp/tmpRv18eB'] because contents don't match
2021-05-03 12:09:04,516 - Package['unzip'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2021-05-03 12:09:04,597 - Skipping installation of existing package unzip
2021-05-03 12:09:04,598 - Package['curl'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2021-05-03 12:09:04,610 - Skipping installation of existing package curl
2021-05-03 12:09:04,610 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2021-05-03 12:09:04,621 - Skipping installation of existing package hdp-select
2021-05-03 12:09:04,625 - The repository with version 3.1.4.0-315 for this command has been marked as resolved. It will be used to report the version of the component which was installed
2021-05-03 12:09:04,629 - Skipping stack-select on AMBARI_INFRA_SOLR because it does not exist in the stack-select package structure.
2021-05-03 12:09:04,858 - Package['ambari-infra-solr-client'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2021-05-03 12:09:04,937 - Skipping installation of existing package ambari-infra-solr-client
2021-05-03 12:09:04,938 - Package['ambari-infra-solr'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2021-05-03 12:09:04,950 - Installing package ambari-infra-solr ('/usr/bin/yum -y install ambari-infra-solr')
2021-05-03 12:09:08,665 - The repository with version 3.1.4.0-315 for this command has been marked as resolved. It will be used to report the version of the component which was installed
2021-05-03 12:09:08,669 - Skipping stack-select on AMBARI_INFRA_SOLR because it does not exist in the stack-select package structure.
Command failed after 1 tries
The text was updated successfully, but these errors were encountered:
Hi Steve,
Firstly, thanks for the repository it have extended a great help to me.
Currently installed the base cluster from the package but unable to install ambari-solr and few services, below is the error.
stderr:
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/AMBARI_INFRA_SOLR/0.1.0/package/scripts/infra_solr.py", line 171, in
InfraSolr().execute()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/AMBARI_INFRA_SOLR/0.1.0/package/scripts/infra_solr.py", line 43, in install
self.install_packages(env)
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 853, in install_packages
retry_count=agent_stack_retry_count)
File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in init
self.env.run()
File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run
self.run_action(resource, action)
File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action
provider_action()
File "/usr/lib/ambari-agent/lib/resource_management/core/providers/packaging.py", line 30, in action_install
self._pkg_manager.install_package(package_name, self.__create_context())
File "/usr/lib/ambari-agent/lib/ambari_commons/repo_manager/yum_manager.py", line 219, in install_package
shell.repository_manager_executor(cmd, self.properties, context)
File "/usr/lib/ambari-agent/lib/ambari_commons/shell.py", line 753, in repository_manager_executor
raise RuntimeError(message)
RuntimeError: Failed to execute command '/usr/bin/yum -y install ambari-infra-solr', exited with code '1', message: 'Error: Nothing to do
'
stdout :
2021-05-03 12:09:04,444 - Stack Feature Version Info: Cluster Stack=3.1, Command Stack=None, Command Version=None -> 3.1
2021-05-03 12:09:04,450 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
2021-05-03 12:09:04,451 - Skipping creation of User and Group as host is sys prepped or ignore_groupsusers_create flag is on
2021-05-03 12:09:04,451 - Directory['/tmp/hbase-hbase'] {'owner': 'hbase', 'create_parents': True, 'mode': 0775, 'cd_access': 'a'}
2021-05-03 12:09:04,453 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2021-05-03 12:09:04,454 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2021-05-03 12:09:04,455 - call['/var/lib/ambari-agent/tmp/changeUid.sh hbase'] {}
2021-05-03 12:09:04,464 - call returned (0, '1019')
2021-05-03 12:09:04,465 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 1019'] {'not_if': '(test $(id -u hbase) -gt 1000) || (true)'}
2021-05-03 12:09:04,470 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 1019'] due to not_if
2021-05-03 12:09:04,471 - Skipping setting dfs cluster admin and tez view acls as host is sys prepped
2021-05-03 12:09:04,471 - FS Type: HDFS
2021-05-03 12:09:04,471 - Directory['/etc/hadoop'] {'mode': 0755}
2021-05-03 12:09:04,485 - File['/usr/hdp/current/hadoop-client/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'}
2021-05-03 12:09:04,485 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 01777}
2021-05-03 12:09:04,503 - Repository['elasticsearch-7.x-repo-5'] {'base_url': 'https://artifacts.elastic.co/packages/7.x/yum', 'action': ['prepare'], 'components': [u'ELASTICSEARCH', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'ambari-hdp-5', 'mirror_list': None}
2021-05-03 12:09:04,509 - Repository['mosga-ambari-repo-5'] {'base_url': 'https://makeopensourcegreatagain.com/repos/centos/7/ambari/2.7.5.0', 'action': ['prepare'], 'components': [u'MOSGA', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'ambari-hdp-5', 'mirror_list': None}
2021-05-03 12:09:04,511 - Repository['mosga-hdp3-repo-5'] {'base_url': 'https://makeopensourcegreatagain.com/repos/centos/7/hdp/HDP-3.1.4.0', 'action': ['prepare'], 'components': [u'MOSGA', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'ambari-hdp-5', 'mirror_list': None}
2021-05-03 12:09:04,513 - Repository[None] {'action': ['create']}
2021-05-03 12:09:04,513 - File['/tmp/tmpMc7oax'] {'content': '[elasticsearch-7.x-repo-5]\nname=elasticsearch-7.x-repo-5\nbaseurl=https://artifacts.elastic.co/packages/7.x/yum\n\npath=/\nenabled=1\ngpgcheck=0\n[mosga-ambari-repo-5]\nname=mosga-ambari-repo-5\nbaseurl=https://makeopensourcegreatagain.com/repos/centos/7/ambari/2.7.5.0\n\npath=/\nenabled=1\ngpgcheck=0\n[mosga-hdp3-repo-5]\nname=mosga-hdp3-repo-5\nbaseurl=https://makeopensourcegreatagain.com/repos/centos/7/hdp/HDP-3.1.4.0\n\npath=/\nenabled=1\ngpgcheck=0'}
2021-05-03 12:09:04,514 - Writing File['/tmp/tmpMc7oax'] because contents don't match
2021-05-03 12:09:04,514 - File['/tmp/tmpRv18eB'] {'content': StaticFile('/etc/yum.repos.d/ambari-hdp-5.repo')}
2021-05-03 12:09:04,515 - Writing File['/tmp/tmpRv18eB'] because contents don't match
2021-05-03 12:09:04,516 - Package['unzip'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2021-05-03 12:09:04,597 - Skipping installation of existing package unzip
2021-05-03 12:09:04,598 - Package['curl'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2021-05-03 12:09:04,610 - Skipping installation of existing package curl
2021-05-03 12:09:04,610 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2021-05-03 12:09:04,621 - Skipping installation of existing package hdp-select
2021-05-03 12:09:04,625 - The repository with version 3.1.4.0-315 for this command has been marked as resolved. It will be used to report the version of the component which was installed
2021-05-03 12:09:04,629 - Skipping stack-select on AMBARI_INFRA_SOLR because it does not exist in the stack-select package structure.
2021-05-03 12:09:04,858 - Package['ambari-infra-solr-client'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2021-05-03 12:09:04,937 - Skipping installation of existing package ambari-infra-solr-client
2021-05-03 12:09:04,938 - Package['ambari-infra-solr'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2021-05-03 12:09:04,950 - Installing package ambari-infra-solr ('/usr/bin/yum -y install ambari-infra-solr')
2021-05-03 12:09:08,665 - The repository with version 3.1.4.0-315 for this command has been marked as resolved. It will be used to report the version of the component which was installed
2021-05-03 12:09:08,669 - Skipping stack-select on AMBARI_INFRA_SOLR because it does not exist in the stack-select package structure.
Command failed after 1 tries
The text was updated successfully, but these errors were encountered: