You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/08/31 11:35:22 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=15451983#comment-15451983 ]
Hadoop QA commented on AMBARI-18284:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12826321/PigView_After-2.png
against trunk revision .
{color:red}-1 patch{color}. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/8538//console
This message is automatically generated.
> 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, PigView_After-1.png, PigView_After-2.png
>
>
> - 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)