pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aniket Mokashi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-3801) Auto local mode does not call storeSchema
Date Sun, 23 Mar 2014 06:48:43 GMT

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

Aniket Mokashi updated PIG-3801:
--------------------------------

    Fix Version/s: 0.13.0

> Auto local mode does not call storeSchema
> -----------------------------------------
>
>                 Key: PIG-3801
>                 URL: https://issues.apache.org/jira/browse/PIG-3801
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Aniket Mokashi
>            Assignee: Aniket Mokashi
>             Fix For: 0.13.0
>
>         Attachments: PIG-3801.patch
>
>
> https://github.com/apache/pig/blob/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/MapReduceLauncher.java#L481
> Pig code explicitly runs PigOutputCommitter.storeCleanup for local jobs. We also need
to add this for auto-local jobs.
> To repro this problem, run-
> >  a = load '2.txt' as (a0:chararray, a1:int);
> >  store a into 'a' using PigStorage(',','-schema');
> This creates .pig_schema file in pig -x local mode, but does not create .pig_schema file
in auto-local mode.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message