You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Ankit Modi (JIRA)" <ji...@apache.org> on 2010/02/03 00:06:18 UTC
[jira] Commented: (PIG-1154) local mode fails when hadoop config
directory is specified in classpath
[ https://issues.apache.org/jira/browse/PIG-1154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828822#action_12828822 ]
Ankit Modi commented on PIG-1154:
---------------------------------
It looks like the problem is caused by overwritten value of mapred.system.dir from mapred-default.xml and the path mentioned above "/mapredsystem/hadoop/mapredsystem/" may not exist.
This cannot be solved in local mode as it is not possible to change classpath at runtime.
I'll provide a patch which would
* Provide a warning whenever classpath contains mapred-site.xml or hdfs-site.xml.
* It'll exit pig with an error message if above case is encountered.
> local mode fails when hadoop config directory is specified in classpath
> -----------------------------------------------------------------------
>
> Key: PIG-1154
> URL: https://issues.apache.org/jira/browse/PIG-1154
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.7.0
> Reporter: Thejas M Nair
> Assignee: Ankit Modi
> Fix For: 0.7.0
>
>
> In local mode, the hadoop configuration should not be taken from the classpath .
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.