[
https://issues.apache.org/jira/browse/PIG-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944356#comment-13944356
]
Aniket Mokashi commented on PIG-3801:
-------------------------------------
Committed to trunk. Thanks [~julienledem] for the review.
> 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)