You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2009/12/15 19:53: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=12790880#action_12790880 ] 

Thejas M Nair commented on PIG-1154:
------------------------------------

It is difficult to identify the problem from the exception thrown -

Backend error message during job submission
-------------------------------------------
org.apache.hadoop.util.Shell$ExitCodeException: chmod: cannot access `/mapredsystem/hadoop/mapredsystem/job_local_0001': No such file or directory

        at org.apache.hadoop.util.Shell.runCommand(Shell.java:245)
        at org.apache.hadoop.util.Shell.run(Shell.java:172)
        at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:365)
        at org.apache.hadoop.util.Shell.execCommand(Shell.java:451)
        at org.apache.hadoop.util.Shell.execCommand(Shell.java:434)
        at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:481)
        at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:473)
        at org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:280)
        at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:261)
        at org.apache.hadoop.mapred.JobClient.configureCommandLineOptions(JobClient.java:573)
        at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:761)
        at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:730)
        at org.apache.hadoop.mapred.jobcontrol.Job.submit(Job.java:378)
        at org.apache.hadoop.mapred.jobcontrol.JobControl.startReadyJobs(JobControl.java:247)
        at org.apache.hadoop.mapred.jobcontrol.JobControl.run(JobControl.java:279)
        at java.lang.Thread.run(Thread.java:619)

Error before Pig is launched
----------------------------
ERROR 1951: Caught exception

org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1951: Caught exception
        at org.apache.pig.PigServer.genStorePlanAndExecute(PigServer.java:594)
        at org.apache.pig.PigServer.openInputStream(PigServer.java:511)
        at org.apache.pig.impl.logicalLayer.SQLParser.QueryProcessor.executeAndWriteToSTDOUT(QueryProcessor.java:251)
        at org.apache.pig.impl.logicalLayer.SQLParser.QueryProcessor.execute(QueryProcessor.java:203)
        at org.apache.pig.SQLDriver.execute(SQLDriver.java:56)
        at org.apache.pig.Main.processSQL(Main.java:465)
        at org.apache.pig.Main.main(Main.java:400)
Caused by: java.io.IOException: Job terminated with anomalous status FAILED
        at org.apache.pig.PigServer.genStorePlanAndExecute(PigServer.java:584)
        ... 6 more
================================================================================

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