Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HCP Repository Failure (1.5) with HDP 2.6

HCP Repository Failure (1.5) with HDP 2.6

Contributor

Hi,

I am getting this error meanwhile installing the HCP 1.5.

stderr:   /var/lib/ambari-agent/data/errors-199.txt
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/METRON/0.4.1.1.3.0.0/package/scripts/indexing_master.py", line 177, in <module>
    Indexing().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 329, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/METRON/0.4.1.1.3.0.0/package/scripts/indexing_master.py", line 39, in install
    self.install_packages(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 708, in install_packages
    retry_count=agent_stack_retry_count)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 166, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 54, in action_install
    self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py", line 53, in install_package
    self.checked_call_with_retries(cmd, sudo=True, logoutput=self.get_logoutput())
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 86, in checked_call_with_retries
    return self._call_with_retries(cmd, is_checked=True, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 98, in _call_with_retries
    code, out = func(cmd, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in checked_call
    tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in _call
    raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install metron-management' returned 1.  One of the configured repositories failed (HCP-1.3.0.0-51),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=HCP-1.3.0.0-51 ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable HCP-1.3.0.0-51
        or
            subscription-manager repos --disable=HCP-1.3.0.0-51

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=HCP-1.3.0.0-51.skip_if_unavailable=true

failure: repodata/repomd.xml from HCP-1.3.0.0-51: [Errno 256] No more mirrors to try.
http://s3.amazonaws.com/dev.hortonworks.com/HCP/centos6/1.x/BUILDS/1.3.0.0-51/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Foundstdout:   /var/lib/ambari-agent/data/output-199.txt
2017-12-03 15:16:15,500 - Stack Feature Version Info: Cluster Stack=2.6, Cluster Current Version=None, Command Stack=None, Command Version=None -> 2.6
2017-12-03 15:16:15,508 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
User Group mapping (user_group) is missing in the hostLevelParams
2017-12-03 15:16:15,510 - Group['metron'] {}
2017-12-03 15:16:15,511 - Group['livy'] {}
2017-12-03 15:16:15,511 - Group['elasticsearch'] {}
2017-12-03 15:16:15,511 - Group['spark'] {}
2017-12-03 15:16:15,512 - Group['zeppelin'] {}
2017-12-03 15:16:15,512 - Group['hadoop'] {}
2017-12-03 15:16:15,512 - Group['kibana'] {}
2017-12-03 15:16:15,512 - Group['users'] {}
2017-12-03 15:16:15,513 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,514 - call['/var/lib/ambari-agent/tmp/changeUid.sh hive'] {}
2017-12-03 15:16:15,525 - call returned (0, '1001')
2017-12-03 15:16:15,526 - User['hive'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': 1001}
2017-12-03 15:16:15,527 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,528 - call['/var/lib/ambari-agent/tmp/changeUid.sh storm'] {}
2017-12-03 15:16:15,539 - call returned (0, '1002')
2017-12-03 15:16:15,539 - User['storm'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': 1002}
2017-12-03 15:16:15,540 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,541 - call['/var/lib/ambari-agent/tmp/changeUid.sh zookeeper'] {}
2017-12-03 15:16:15,552 - call returned (0, '1003')
2017-12-03 15:16:15,552 - User['zookeeper'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': 1003}
2017-12-03 15:16:15,553 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,554 - call['/var/lib/ambari-agent/tmp/changeUid.sh ams'] {}
2017-12-03 15:16:15,565 - call returned (0, '1004')
2017-12-03 15:16:15,565 - User['ams'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': 1004}
2017-12-03 15:16:15,566 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,567 - call['/var/lib/ambari-agent/tmp/changeUid.sh tez'] {}
2017-12-03 15:16:15,577 - call returned (0, '1005')
2017-12-03 15:16:15,578 - User['tez'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'users'], 'uid': 1005}
2017-12-03 15:16:15,579 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,580 - call['/var/lib/ambari-agent/tmp/changeUid.sh zeppelin'] {}
2017-12-03 15:16:15,590 - call returned (0, '1010')
2017-12-03 15:16:15,591 - User['zeppelin'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'zeppelin', u'hadoop'], 'uid': 1010}
2017-12-03 15:16:15,592 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,593 - call['/var/lib/ambari-agent/tmp/changeUid.sh metron'] {}
2017-12-03 15:16:15,603 - call returned (0, '1007')
2017-12-03 15:16:15,604 - User['metron'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': 1007}
2017-12-03 15:16:15,605 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,606 - call['/var/lib/ambari-agent/tmp/changeUid.sh livy'] {}
2017-12-03 15:16:15,616 - call returned (0, '1008')
2017-12-03 15:16:15,617 - User['livy'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': 1008}
2017-12-03 15:16:15,618 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,619 - call['/var/lib/ambari-agent/tmp/changeUid.sh elasticsearch'] {}
2017-12-03 15:16:15,629 - call returned (0, '1009')
2017-12-03 15:16:15,630 - User['elasticsearch'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': 1009}
2017-12-03 15:16:15,631 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,632 - call['/var/lib/ambari-agent/tmp/changeUid.sh spark'] {}
2017-12-03 15:16:15,643 - call returned (0, '1011')
2017-12-03 15:16:15,643 - User['spark'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': 1011}
2017-12-03 15:16:15,644 - User['ambari-qa'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'users'], 'uid': None}
2017-12-03 15:16:15,646 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,646 - call['/var/lib/ambari-agent/tmp/changeUid.sh kafka'] {}
2017-12-03 15:16:15,657 - call returned (0, '1012')
2017-12-03 15:16:15,657 - User['kafka'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': 1012}
2017-12-03 15:16:15,659 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,660 - call['/var/lib/ambari-agent/tmp/changeUid.sh hdfs'] {}
2017-12-03 15:16:15,670 - call returned (0, '1013')
2017-12-03 15:16:15,670 - User['hdfs'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': 1013}
2017-12-03 15:16:15,672 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,673 - call['/var/lib/ambari-agent/tmp/changeUid.sh yarn'] {}
2017-12-03 15:16:15,683 - call returned (0, '1014')
2017-12-03 15:16:15,683 - User['yarn'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': 1014}
2017-12-03 15:16:15,685 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,686 - call['/var/lib/ambari-agent/tmp/changeUid.sh kibana'] {}
2017-12-03 15:16:15,696 - call returned (0, '1032')
2017-12-03 15:16:15,696 - User['kibana'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': 1032}
2017-12-03 15:16:15,697 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,698 - call['/var/lib/ambari-agent/tmp/changeUid.sh mapred'] {}
2017-12-03 15:16:15,709 - call returned (0, '1015')
2017-12-03 15:16:15,709 - User['mapred'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': 1015}
2017-12-03 15:16:15,711 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,712 - call['/var/lib/ambari-agent/tmp/changeUid.sh hbase'] {}
2017-12-03 15:16:15,722 - call returned (0, '1016')
2017-12-03 15:16:15,722 - User['hbase'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': 1016}
2017-12-03 15:16:15,724 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,724 - call['/var/lib/ambari-agent/tmp/changeUid.sh hcat'] {}
2017-12-03 15:16:15,735 - call returned (0, '1017')
2017-12-03 15:16:15,735 - User['hcat'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': 1017}
2017-12-03 15:16:15,736 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,738 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 0'] {'not_if': '(test $(id -u ambari-qa) -gt 1000) || (false)'}
2017-12-03 15:16:15,746 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 0'] due to not_if
2017-12-03 15:16:15,746 - Directory['/tmp/hbase-hbase'] {'owner': 'hbase', 'create_parents': True, 'mode': 0775, 'cd_access': 'a'}
2017-12-03 15:16:15,747 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,749 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-12-03 15:16:15,749 - call['/var/lib/ambari-agent/tmp/changeUid.sh hbase'] {}
2017-12-03 15:16:15,760 - call returned (0, '1016')
2017-12-03 15:16:15,760 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 1016'] {'not_if': '(test $(id -u hbase) -gt 1000) || (false)'}
2017-12-03 15:16:15,768 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 1016'] due to not_if
2017-12-03 15:16:15,768 - Group['hdfs'] {}
2017-12-03 15:16:15,769 - User['hdfs'] {'fetch_nonlocal_groups': True, 'groups': [u'hadoop', u'hdfs']}
2017-12-03 15:16:15,769 - FS Type: 
2017-12-03 15:16:15,770 - Directory['/etc/hadoop'] {'mode': 0755}
2017-12-03 15:16:15,786 - File['/usr/hdp/current/hadoop-client/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'}
2017-12-03 15:16:15,787 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 01777}
2017-12-03 15:16:15,808 - Initializing 6 repositories
2017-12-03 15:16:15,808 - Repository['HDP-2.6'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.3.0', 'action': ['create'], 'components': [u'HDP', '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': 'HDP', 'mirror_list': None}
2017-12-03 15:16:15,815 - File['/etc/yum.repos.d/HDP.repo'] {'content': '[HDP-2.6]\nname=HDP-2.6\nbaseurl=http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.3.0\n\npath=/\nenabled=1\ngpgcheck=0'}
2017-12-03 15:16:15,816 - Repository['HDP-UTILS-1.1.0.21'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/centos7', 'action': ['create'], 'components': [u'HDP-UTILS', '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': 'HDP-UTILS', 'mirror_list': None}
2017-12-03 15:16:15,819 - File['/etc/yum.repos.d/HDP-UTILS.repo'] {'content': '[HDP-UTILS-1.1.0.21]\nname=HDP-UTILS-1.1.0.21\nbaseurl=http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/centos7\n\npath=/\nenabled=1\ngpgcheck=0'}
2017-12-03 15:16:15,819 - Repository['HCP-1.3.0.0-51'] {'base_url': 'http://s3.amazonaws.com/dev.hortonworks.com/HCP/centos6/1.x/BUILDS/1.3.0.0-51', 'action': ['create'], 'components': [u'METRON', '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': 'METRON', 'mirror_list': None}
2017-12-03 15:16:15,822 - File['/etc/yum.repos.d/METRON.repo'] {'content': '[HCP-1.3.0.0-51]\nname=HCP-1.3.0.0-51\nbaseurl=http://s3.amazonaws.com/dev.hortonworks.com/HCP/centos6/1.x/BUILDS/1.3.0.0-51\n\npath=/\nenabled=1\ngpgcheck=0'}
2017-12-03 15:16:15,823 - Repository['elasticsearch-2.x'] {'base_url': 'https://packages.elastic.co/elasticsearch/2.x/centos', 'action': ['create'], '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': 'ELASTICSEARCH', 'mirror_list': None}
2017-12-03 15:16:15,826 - File['/etc/yum.repos.d/ELASTICSEARCH.repo'] {'content': '[elasticsearch-2.x]\nname=elasticsearch-2.x\nbaseurl=https://packages.elastic.co/elasticsearch/2.x/centos\n\npath=/\nenabled=1\ngpgcheck=0'}
2017-12-03 15:16:15,826 - Repository['kibana-4.x'] {'base_url': 'http://packages.elastic.co/kibana/4.5/centos', 'action': ['create'], 'components': [u'KIBANA', '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': 'KIBANA', 'mirror_list': None}
2017-12-03 15:16:15,829 - File['/etc/yum.repos.d/KIBANA.repo'] {'content': '[kibana-4.x]\nname=kibana-4.x\nbaseurl=http://packages.elastic.co/kibana/4.5/centos\n\npath=/\nenabled=1\ngpgcheck=0'}
2017-12-03 15:16:15,829 - Repository['ES-Curator-4.x'] {'base_url': 'http://packages.elastic.co/curator/4/centos/7', 'action': ['create'], 'components': [u'CURATOR', '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': 'CURATOR', 'mirror_list': None}
2017-12-03 15:16:15,832 - File['/etc/yum.repos.d/CURATOR.repo'] {'content': '[ES-Curator-4.x]\nname=ES-Curator-4.x\nbaseurl=http://packages.elastic.co/curator/4/centos/7\n\npath=/\nenabled=1\ngpgcheck=0'}
2017-12-03 15:16:15,833 - Package['unzip'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-12-03 15:16:16,088 - Skipping installation of existing package unzip
2017-12-03 15:16:16,088 - Package['curl'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-12-03 15:16:16,259 - Skipping installation of existing package curl
2017-12-03 15:16:16,259 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-12-03 15:16:16,430 - Skipping installation of existing package hdp-select
2017-12-03 15:16:16,780 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
2017-12-03 15:16:16,786 - Package['metron-common'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-12-03 15:16:17,041 - Skipping installation of existing package metron-common
2017-12-03 15:16:17,043 - Package['metron-data-management'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-12-03 15:16:17,218 - Skipping installation of existing package metron-data-management
2017-12-03 15:16:17,220 - Package['metron-management'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-12-03 15:16:17,397 - Installing package metron-management ('/usr/bin/yum -d 0 -e 0 -y install metron-management')
2017-12-03 15:16:19,942 - Execution of '/usr/bin/yum -d 0 -e 0 -y install metron-management' returned 1.  One of the configured repositories failed (HCP-1.3.0.0-51),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=HCP-1.3.0.0-51 ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable HCP-1.3.0.0-51
        or
            subscription-manager repos --disable=HCP-1.3.0.0-51

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=HCP-1.3.0.0-51.skip_if_unavailable=true

failure: repodata/repomd.xml from HCP-1.3.0.0-51: [Errno 256] No more mirrors to try.
http://s3.amazonaws.com/dev.hortonworks.com/HCP/centos6/1.x/BUILDS/1.3.0.0-51/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
2017-12-03 15:16:19,943 - Failed to install package metron-management. Executing '/usr/bin/yum clean metadata'
2017-12-03 15:16:20,147 - Retrying to install package metron-management after 30 seconds

Command failed after 1 tries
Don't have an account?
Coming from Hortonworks? Activate your account here