ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JaySenSharma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-18284) Ambari PigView stores the script in HDFS in non UTF-8 format
Date Wed, 31 Aug 2016 11:44:20 GMT

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

JaySenSharma updated AMBARI-18284:
----------------------------------
    Attachment:     (was: PigView_After-2.png)

> 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
>         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