ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitiraj Singh Rathore (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-18584) For Upload Table on hive view, upload fails when file extension is .json
Date Thu, 13 Oct 2016 09:08:20 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-18584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nitiraj Singh Rathore updated AMBARI-18584:
-------------------------------------------
    Status: Patch Available  (was: Open)

Patch submitted with following fix : 

Earlier GsonJsonProvider was trying to convert uploaded InputStream because the content type
that was coming was application/json for files with extension .json
Now the GsonJsonProvider will ignore conversion of object of InputStream.

> For Upload Table on hive view, upload fails when file extension is .json
> ------------------------------------------------------------------------
>
>                 Key: AMBARI-18584
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18584
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.5.0
>            Reporter: Anusha Bilgi
>            Assignee: Nitiraj Singh Rathore
>            Priority: Blocker
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18584_branch-2.5.patch
>
>
> Uploading .json file throws server exception on server log
> hive-view log doesnot show any exception
> But ambari-server log shows 
> ServletHandler:620 - 
> javax.servlet.ServletException: com.sun.jersey.api.container.ContainerException: Exception
obtaining parameters



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

Mime
View raw message