ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-18275) Ambari server upgrade script deletes all .pyc files
Date Wed, 31 Aug 2016 01:50:20 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-18275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15450748#comment-15450748
] 

Hudson commented on AMBARI-18275:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #5604 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5604/])
AMBARI-18275. Ambari server upgrade script deletes all .pyc files (smohanty: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f45e9054d724e53f78cc3dd8768da6587909c8f4])
* (edit) ambari-server/conf/unix/install-helper.sh


> Ambari server upgrade script deletes all .pyc files
> ---------------------------------------------------
>
>                 Key: AMBARI-18275
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18275
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>            Priority: Critical
>             Fix For: 2.4.1, 2.5.0
>
>         Attachments: AMBARI-18275.patch
>
>
> We are trying upgrade Ambari from 2.2.2 to Ambari 2.4 with the latest packages (1226).
> https://issues.apache.org/jira/browse/AMBARI-15947 - "Upgrading Ambari should delete
any pyc files"
> The patch contains the following two lines
> {code}
> AMBARI_SERVER="${ROOT}/usr/lib/python2.6/site-packages/ambari_server"
> find $AMBARI_SEVER/ -name *.pyc -exec rm {} \;
> {code}
> The AMBARI_SEVER typo basically executes "find / -name *.pyc -exec rm {} \;"
> on the root directory and deletes ALL pyc files from the ambari server machine.



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

Mime
View raw message