Support Questions
Find answers, ask questions, and share your expertise

Error Installing HDP-2.6 ON REHL 7.2

New Contributor

We are deploying a new Cluster on Amazon AWS. All goes smooth until we reach the Install, Start And Test step. Installing the namenode service @ MasterNode gets this error :

We've tried this "solutions" :

File "/usr/lib/python2.6/site-packages/resource_management/core/", line 303, in _call
    raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of ' /usr/bin/hdp-select set all `ambari-python-wrap /usr/bin/hdp-select versions | grep ^2.6 | tail -1`' returned 1. ERROR: set command takes 2 parameters, instead of 1

usage: distro-select [-h] [<command>] [<package>] [<version>]

Set the selected version of HDP.

positional arguments:
  <command>   One of set, status, versions, or packages
  <package>   the package name to set
  <version>   the HDP version to set

optional arguments:
  -h, --help  show this help message and exit
  -r, --rpm-mode  if true checks if there is symlink exists and creates the symlink if it doesn't

  set      : set the package to a specified version
  status   : show the version of the package
  versions : show the currently installed versions
  packages : show the individual package names



@Andres Romero

First check repo file you seem to have a wrong one it should be the correct binaries no mismatch with OS.

# yum clean all
# yum repolist
#  yum install -y hdp-select 

The above should work

New Contributor
; ;