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

Hadoop QA commented on AMBARI-17593:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12816457/rb49711.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
                        Please justify why no new tests are needed for this 
patch.
                        Also please list what manual steps were performed to 
verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in 
ambari-server.

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/7709//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/7709//console

This message is automatically generated.

> Ambari server backup error - failure if backup size exceeds 4GB
> ---------------------------------------------------------------
>
>                 Key: AMBARI-17593
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17593
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Nahappan Somasundaram
>            Assignee: Nahappan Somasundaram
>             Fix For: 2.5.0
>
>         Attachments: rb49711.patch
>
>
> *PROBLEM:* 
> When " ambari-server backup " is run it tries to zip the following 
> directories:
> {code}
> /etc/ 
> /var/lib/ambari-server/resources
> /var/run/ambari-server/stack-recommendations/1/
> {code}
> And by any chance if the aggregated data in above directories exceeds 4gb you 
> get the following error:
> {code}
> A problem occurred while unzipping. Details: Zipfile size would require ZIP64 
> extensions 
> Could not create zip file. Details: Zipfile size would require ZIP64 
> extensions
> {code}
> *STEPS TO REPRODUCE :* 
> 1)Exceed the Directory size greater than 4gb
> 2)Run ambari-server backup
> *EXPECTED RESULT :* Backup should be successful and give something like:
> {code:java}
> [root@sandbox ~]# ambari-server backup
> Using python  /usr/bin/python
> Backing up Ambari File System state... *this will not backup the server 
> database*
> Backup requested.
> No path specified. Will use /var/lib/ambari-server/Ambari_State_Backup.zip
> Backup process initiated.
> Creating zip file...
> Zip file created at /var/lib/ambari-server/Ambari_State_Backup.zip
> Backup complete.
> Ambari Server 'backup' completed successfully.
> {code}
> *ACTUAL RESULT :* Backup fails with error:
> {code:java}
> [root@sandbox ~]# ambari-server backup
> Using python /usr/bin/python
> Backing up Ambari File System state... *this will not backup the server 
> database* 
> No path specified. Will use /var/lib/ambari-server/Ambari_State_Backup.zip
> Backup requested. 
> Backup process initiated. 
> Creating zip file... 
> A problem occurred while unzipping. Details: Zipfile size would require ZIP64 
> extensions 
> Could not create zip file. Details: Zipfile size would require ZIP64 
> extensions 
> {code}
> *SOLUTION/WORKAROUND:*
> In the script 
> :/usr/lib/python2.6/site-packages/ambari_server/BackupRestore.py 
> Comment out the line : 
> {code}
> zipf = zipfile.ZipFile(self.zip_folder_path + self.zipname, 'w')
> {code}
> And add: 
> {code}
> zipf = zipfile.ZipFile(self.zip_folder_path + self.zipname, 'w',allowZip64 = 
> True) 
> {code}



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

Reply via email to