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

Zoe Johnson commented on AMBARI-13773:
--------------------------------------

I also encounter some problems, and after a brief investigation have come up 
with the following observations.  This might be useful when testing the bug fix:
- If the file is less than 1KB, the upload method seems to append as many NULLs 
until it reaches 1KB.
- If the file is more than 1KB, the upload method seems to duplicate the last 
lines of data until the file size reaches the nearest KB.

Hope this helps.

> Ambari views file upload corruption
> -----------------------------------
>
>                 Key: AMBARI-13773
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13773
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.1.0
>         Environment: HDP 2.3.0.0-2557 sandbox loaded by VirtualBox 5 hosted 
> by Windows 7 Pro.
> 4 cores, 8 Go RAM.
>            Reporter: Régis GARMY
>
> When uploading text files (csv), files are corrupted.
> It affects Ambari HDFS Files view and Ambari Local Files view.
> When I upload a 100 rows csv file located on NTFS W7 filesystem, the file is 
> transferred without error. But the file is bigger on both HDFS and CentOs 
> storage : they've got 102 rows, the end of the file has been filled with 
> extra datas. It looks like data block filling.
> File is correctly uploaded with Hue File manager.
> File size reported by HDFS web UI is always integer while using Ambari for 
> upload (61 KB), float using Hue (60.04 KB),



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

Reply via email to