You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "DIPAYAN BHOWMICK (JIRA)" <ji...@apache.org> on 2016/02/29 06:34:18 UTC

[jira] [Commented] (AMBARI-15216) New Files view: Error on concatenating and downloading multiple files

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

DIPAYAN BHOWMICK commented on AMBARI-15216:
-------------------------------------------

This issue will occur when downloading large number of files as well. The issue is that we are inserting into database the names of the files that has to be downloaded. This happens in the generate-link call and the data goes into viewinstancedata table which has length of the value column to be 2000. Now when there is large number of files, the length of the string crosses 2000 and hence the insertion fails.


> New Files view: Error on concatenating and downloading multiple files
> ---------------------------------------------------------------------
>
>                 Key: AMBARI-15216
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15216
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.2.0
>            Reporter: DIPAYAN BHOWMICK
>            Assignee: DIPAYAN BHOWMICK
>             Fix For: 2.2.2
>
>
> Concatenating multiple files fails "Data truncation: Data too long for column 'value' at row 1".
> Getting same error on select all and download.



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