You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Antonenko Alexander (JIRA)" <ji...@apache.org> on 2013/08/28 19:40:54 UTC

[jira] [Created] (AMBARI-3048) "Use local repo" always installs the default stack version regardless of stack selected by the user

Antonenko Alexander created AMBARI-3048:
-------------------------------------------

             Summary: "Use local repo" always installs the default stack version regardless of stack selected by the user
                 Key: AMBARI-3048
                 URL: https://issues.apache.org/jira/browse/AMBARI-3048
             Project: Ambari
          Issue Type: Bug
          Components: client
    Affects Versions: 1.4.1
            Reporter: Antonenko Alexander
            Assignee: Antonenko Alexander
             Fix For: 1.4.1


Selecting "Use local software repository" option causes Ambari to always install the "default" stack version, ignoring what the user selected.
For Comanche, this default is HDP-1.3.2.
In case the user wants to install an older version of HDP with local repo option (in HDP-1.3.1 or Comanche), here is the workaround:
ssh into the Ambari Server host
cd /usr/lib/ambari-server/web/javascripts
rm app.js
gunzip app.js.gz
vi app.js. Change the line:
From: App.defaultLocalStackVersion = 'HDPLocal-1.3.2';
To: App.defaultLocalStackVersion = 'HDPLocal-1.3.0'; (note: use the desired version)
gzip app.js
The instruction leaves the directory without app.js, but this is fine.
Clear the browser cache and log in to Ambari Web.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira