You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/09/13 11:22:20 UTC

[jira] [Commented] (AMBARI-18284) Ambari PigView stores the script in HDFS in non UTF-8 format

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

Hudson commented on AMBARI-18284:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #5657 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5657/])
AMBARI-18284. Ambari PigView stores the script in HDFS in non UTF-8 (pallav.kul: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e82d03c8a66100ec9c2ceb91d4c5a9cc6e427847])
* (edit) contrib/views/pig/src/main/java/org/apache/ambari/view/pig/resources/files/FileService.java


> Ambari PigView stores the script in HDFS in non UTF-8 format
> ------------------------------------------------------------
>
>                 Key: AMBARI-18284
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18284
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: trunk
>         Environment: All
>            Reporter: JaySenSharma
>            Assignee: JaySenSharma
>              Labels: patch-available
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18284.patch
>
>
> - In Ambari PigView if we have a script like following containing some special characters like 'á'
> {code}
> STOCK_A = LOAD '/user/admin/dummy.csv' USING PigStorage('á'); 
> DESCRIBE STOCK_A;
> {code}
> Then after executing the script we see that in the HDFS it is stored as following:
> {code}
> hdfs dfs -cat /user/admin/pig/scripts/testlatin-2016-08-30_12-15.pig
> STOCK_A = LOAD '/user/admin/dummy.csv' USING PigStorage('?'); 
> DESCRIBE STOCK_A;
> {code}
> *Notice:*  the 'á' is converted to '?'



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