ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-18284) Ambari PigView stores the script in HDFS in non UTF-8 format
Date Tue, 13 Sep 2016 18:13:21 GMT

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

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

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #25 (See [https://builds.apache.org/job/Ambari-branch-2.5/25/])
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=fa6e1792f051500bef20b367bcb9614aa2f8e3c8])
* (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)

Mime
View raw message