ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinoud van Santen (JIRA)" <>
Subject [jira] [Created] (AMBARI-12041) Wrong version in YUM repository URL when adding hosts to an existing cluster
Date Sat, 20 Jun 2015 13:18:00 GMT
Reinoud van Santen created AMBARI-12041:

             Summary: Wrong version in YUM repository URL when adding hosts to an existing
                 Key: AMBARI-12041
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Reinoud van Santen

When adding new hosts to an existing cluster the URL's of the repositories that are deployed
to the new hosts contain the wrong version number. Also the URL's shown in the last step of
the wizard that ads the hosts are wrong. The Ambari installation only defines one version:
HDP- containing only repository URLs for CentOS 6 with the following values:


When running through the wizard to add the hosts the "Review" step shows the following repository
URL's for CentOS 6, but also it shows repository URL's for OS'es that where not defined in
the version configuration:

redhat6 (HDP-2.2):
redhat6 (HDP-UTILS-

These URL's differ from the URL's defined in the version configuration. Deploying this version
to the new hosts results in a failure to install required components. When installing the
DataNode the following error occurs:

2015-06-20 13:15:30,417 - Error while executing command 'install':
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 216, in execute
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 481, in set_version
    sudo = True)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 148, in __init__
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 152,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 118,
in run_action
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/", line
274, in action_run
    raise ex
Fail: Execution of '/usr/bin/hdp-select set hadoop-hdfs-datanode' returned 1. ERROR:
Invalid version

Valid choices:

Due to this situation we are unable to add new hosts to our cluster. Please let me know if
more information is required.

This message was sent by Atlassian JIRA

View raw message