You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jayush Luniya (JIRA)" <ji...@apache.org> on 2015/09/01 07:14:45 UTC

[jira] [Commented] (AMBARI-12909) Existence of empty package folder in stack definition breaks the service

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

Jayush Luniya commented on AMBARI-12909:
----------------------------------------

Committed to Trunk
commit d145dd6dcaf354ba053ab36220d3271f1a9ca81e
Author: Jayush Luniya <jl...@hortonworks.com>
Date:   Mon Aug 31 22:13:40 2015 -0700

    AMBARI-12909: Existence of empty package folder in stack definition breaks the service (Nahappan Somasundaram via jluniya)

> Existence of empty package folder in stack definition breaks the service
> ------------------------------------------------------------------------
>
>                 Key: AMBARI-12909
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12909
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.2.0
>            Reporter: Nahappan Somasundaram
>            Assignee: Nahappan Somasundaram
>            Priority: Critical
>             Fix For: 2.2.0
>
>
> In a deployment, if somehow an empty package folder ended up in the folder "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package". This resulted in the creation of an empty archive.zip file. Its an easy repro - just create an empty folder and restart Ambari Server.
> The empty zip file is shipped to the agents where they fail trying to unzip the file.
> We should log an error and move on rather than failing.
> WARNING 2015-06-24 13:17:51,226 FileCache.py:144 - Error occured during cache update. Error tolerate setting is set to true, so ignoring this error and continuing with current cache. Error details: Can not unpack zip file to directory /var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package : File is not a zip file



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