You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2010/01/15 07:22:54 UTC

[jira] Resolved: (PIG-417) Local Mode is broken

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

Alan Gates resolved PIG-417.
----------------------------

    Resolution: Won't Fix

Local mode has been replaced by Hadoop's LocalJobRunner in 0.6.

> Local Mode is broken
> --------------------
>
>                 Key: PIG-417
>                 URL: https://issues.apache.org/jira/browse/PIG-417
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.2.0
>            Reporter: Shravan Matthur Narayanamurthy
>            Priority: Minor
>
> When we use pig in local mode and also have some config files that point to cluster (in the form of hadoop-site.xml) in the classpath, the local mode errs out saying it can't find the input file. This is because, when the local execution engine is being created, a new Configuration object is being created which takes properties from hadoop-site.xml while initializing. Because of this from then on it tries to connect to the settings in the hadoop-site.xml and fails to find the local files.
> However, as we are in local mode we want this new Configuration to contain only properties from our pigContext. Currently, the configuration object doesn't support such a thing. We would actually want to initialize the Configuration with properties in hadoop-default.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.