hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ankit Modi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-1154) local mode fails when hadoop config directory is specified in classpath
Date Tue, 02 Feb 2010 23:06:18 GMT

    [ 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.


Mime
View raw message