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.

Error Installing HDP-2.6 ON REHL 7.2

Highlighted

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" : https://community.hortonworks.com/questions/12663/hdp-install-issues-about-hdp-select.html https://community.hortonworks.com/questions/5811/install-of-hdp-fails-with-valueerror-invalid-liter....

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 'ambari-sudo.sh /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

Commands:
  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


2 REPLIES 2

Re: Error Installing HDP-2.6 ON REHL 7.2

Mentor

@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

Re: Error Installing HDP-2.6 ON REHL 7.2

New Contributor
Don't have an account?
Coming from Hortonworks? Activate your account here