You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Akhil S Naik (JIRA)" <ji...@apache.org> on 2017/11/21 12:15:00 UTC

[jira] [Commented] (AMBARI-22490) Uploading a Zero KB file to HDFS via File View Fails and no message is shown

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

Akhil S Naik commented on AMBARI-22490:
---------------------------------------

In Upload-File.js fileLoaded function , we are unncesarly checking for whether file is empty and not allow to upload to HDFS if the file is empty.
This is not required as HDFS allowed empty file to be present i HDFS.

Attached patch for the changes.



> Uploading a Zero KB file to HDFS via File View Fails and no message is shown
> ----------------------------------------------------------------------------
>
>                 Key: AMBARI-22490
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22490
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.5.2
>            Reporter: Akhil S Naik
>            Priority: Minor
>         Attachments: AMBARI-22490.patch
>
>
> When We Try to upload a File of Zero KB ( empty File)  File View Doesnt upload the file.
> But in HDFS i can upload the same file using command.
> Ambari doesn't show any errors but yet the file is not uploaded.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)