You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Alice Chen (JIRA)" <ji...@apache.org> on 2015/07/22 20:17:37 UTC

[jira] [Created] (TRAFODION-632) LP Bug: 1370576 - Distro setup scripts need to remove files before downloading new ones

Alice Chen created TRAFODION-632:
------------------------------------

             Summary: LP Bug: 1370576 - Distro setup scripts need to remove files before downloading new ones
                 Key: TRAFODION-632
                 URL: https://issues.apache.org/jira/browse/TRAFODION-632
             Project: Apache Trafodion
          Issue Type: Bug
          Components: installer
            Reporter: Marvin Anderson
            Assignee: Amanda Moran
            Priority: Minor


This example is from the cloudera_setup script but it applies to ambari_setup as well.  If there are existing versions of files that the setup scripts download then the fresh newly downloaded files gets saved as <filename>.1 as seen in the example output below:

. . .
***INFO: Installing Cloudera, will need browser access to complete
--2014-09-17 08:19:45--  http://archive.cloudera.com/cm5/installer/latest/cloudera-manager-installer.bin
Resolving proxy.austin.hp.com... 16.85.175.150
Connecting to proxy.austin.hp.com|16.85.175.150|:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 510569 (499K) [application/octet-stream]
Saving to: “cloudera-manager-installer.bin.1”

100%[================================================================================================>] 510,569     1.09M/s   in 0.4s    

2014-09-17 08:19:46 (1.09 MB/s) - “cloudera-manager-installer.bin.1” saved [510569/510569]

--2014-09-17 08:19:46--  http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5/RPMS/x86_64/oracle-j2sdk1.7-1.7.0+update55-2.x86_64.rpm
Resolving proxy.austin.hp.com... 16.85.175.150
Connecting to proxy.austin.hp.com|16.85.175.150|:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 137885441 (131M) [application/x-redhat-package-manager]
Saving to: “oracle-j2sdk1.7-1.7.0+update55-2.x86_64.rpm.1”
. . .

before downloading the latest version of these files, the setup scripts should delete any existing ones because the existing ones might be of an older version than what was just downloaded.  The way it works now, the scripts will download the altest versions, which gets saved as <filename>.1 but then goes ahead and uses the older existing version <filename>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)