You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Russell Jurney (Created) (JIRA)" <ji...@apache.org> on 2011/12/21 04:03:33 UTC

[jira] [Created] (PIG-2441) rmf does not work in local mode

rmf does not work in local mode
-------------------------------

                 Key: PIG-2441
                 URL: https://issues.apache.org/jira/browse/PIG-2441
             Project: Pig
          Issue Type: Bug
          Components: grunt
    Affects Versions: 0.10
         Environment: Mac OS X 10.6.8
            Reporter: Russell Jurney


russell-jurneys-macbook-pro:Collecting-Data peyomp$ pig -l /tmp -v -x local
2011-12-20 18:58:54,074 [main] INFO  org.apache.pig.Main - Logging error messages to: /private/tmp/pig_1324436334061.log
2011-12-20 18:58:54,324 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
grunt> rmf '/tmp/mail_pairs.avro'
grunt> rmf '/tmp/mail_pairs.avro'
grunt> rm '/tmp/mail_pairs.avro' 
2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2997: Encountered IOException. File or directory '/tmp/mail_pairs.avro' does not exist.
2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.io.IOException: File or directory '/tmp/mail_pairs.avro' does not exist.
	at org.apache.pig.tools.grunt.GruntParser.processRemove(GruntParser.java:957)
	at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:430)
	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
	at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
	at org.apache.pig.Main.run(Main.java:523)
	at org.apache.pig.Main.main(Main.java:148)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:156)

Details also at logfile: /private/tmp/pig_1324436334061.log
grunt> ls /tmp/mail_pairs.avro
file:/tmp/mail_pairs.avro/part-m-00000.avro<r 1>	0
file:/tmp/mail_pairs.avro/part-m-00001.avro<r 1>	51024
file:/tmp/mail_pairs.avro/part-m-00002.avro<r 1>	66431
file:/tmp/mail_pairs.avro/part-m-00003.avro<r 1>	100130
file:/tmp/mail_pairs.avro/part-m-00004.avro<r 1>	141016
file:/tmp/mail_pairs.avro/part-m-00005.avro<r 1>	73522


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PIG-2441) rmf does not work in local mode

Posted by "Russell Jurney (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243839#comment-13243839 ] 

Russell Jurney commented on PIG-2441:
-------------------------------------

Should I edit this ticket to be about quoted paths not working - or close it?
                
> rmf does not work in local mode
> -------------------------------
>
>                 Key: PIG-2441
>                 URL: https://issues.apache.org/jira/browse/PIG-2441
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: 0.9.1, 0.9.2, 0.10
>         Environment: Mac OS X 10.6.8
>            Reporter: Russell Jurney
>            Priority: Critical
>              Labels: fun, grunt, happy, mac, osx, pants, pig, rm_rf
>
> $ pig -l /tmp -v -x local
> 2011-12-20 18:58:54,074 [main] INFO  org.apache.pig.Main - Logging error messages to: /private/tmp/pig_1324436334061.log
> 2011-12-20 18:58:54,324 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rm '/tmp/mail_pairs.avro' 
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2997: Encountered IOException. File or directory '/tmp/mail_pairs.avro' does not exist.
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.io.IOException: File or directory '/tmp/mail_pairs.avro' does not exist.
> 	at org.apache.pig.tools.grunt.GruntParser.processRemove(GruntParser.java:957)
> 	at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:430)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
> 	at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
> 	at org.apache.pig.Main.run(Main.java:523)
> 	at org.apache.pig.Main.main(Main.java:148)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
> Details also at logfile: /private/tmp/pig_1324436334061.log
> grunt> ls /tmp/mail_pairs.avro
> file:/tmp/mail_pairs.avro/part-m-00000.avro<r 1>	0
> file:/tmp/mail_pairs.avro/part-m-00001.avro<r 1>	51024
> file:/tmp/mail_pairs.avro/part-m-00002.avro<r 1>	66431
> file:/tmp/mail_pairs.avro/part-m-00003.avro<r 1>	100130
> file:/tmp/mail_pairs.avro/part-m-00004.avro<r 1>	141016
> file:/tmp/mail_pairs.avro/part-m-00005.avro<r 1>	73522

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (PIG-2441) rmf does not work in local mode

Posted by "Dmitriy V. Ryaboy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitriy V. Ryaboy resolved PIG-2441.
------------------------------------

    Resolution: Invalid

Please open a separate issue about quotes as per Daniel's request (otherwise it's totally confusing what the problem is, since the stated issue is not the real issue).
                
> rmf does not work in local mode
> -------------------------------
>
>                 Key: PIG-2441
>                 URL: https://issues.apache.org/jira/browse/PIG-2441
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: 0.9.1, 0.9.2, 0.10.0
>         Environment: Mac OS X 10.6.8
>            Reporter: Russell Jurney
>            Priority: Critical
>              Labels: fun, grunt, happy, mac, osx, pants, pig, rm_rf
>
> $ pig -l /tmp -v -x local
> 2011-12-20 18:58:54,074 [main] INFO  org.apache.pig.Main - Logging error messages to: /private/tmp/pig_1324436334061.log
> 2011-12-20 18:58:54,324 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rm '/tmp/mail_pairs.avro' 
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2997: Encountered IOException. File or directory '/tmp/mail_pairs.avro' does not exist.
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.io.IOException: File or directory '/tmp/mail_pairs.avro' does not exist.
> 	at org.apache.pig.tools.grunt.GruntParser.processRemove(GruntParser.java:957)
> 	at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:430)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
> 	at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
> 	at org.apache.pig.Main.run(Main.java:523)
> 	at org.apache.pig.Main.main(Main.java:148)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
> Details also at logfile: /private/tmp/pig_1324436334061.log
> grunt> ls /tmp/mail_pairs.avro
> file:/tmp/mail_pairs.avro/part-m-00000.avro<r 1>	0
> file:/tmp/mail_pairs.avro/part-m-00001.avro<r 1>	51024
> file:/tmp/mail_pairs.avro/part-m-00002.avro<r 1>	66431
> file:/tmp/mail_pairs.avro/part-m-00003.avro<r 1>	100130
> file:/tmp/mail_pairs.avro/part-m-00004.avro<r 1>	141016
> file:/tmp/mail_pairs.avro/part-m-00005.avro<r 1>	73522

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PIG-2441) rmf does not work in local mode

Posted by "Russell Jurney (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Russell Jurney updated PIG-2441:
--------------------------------

    Description: 
$ pig -l /tmp -v -x local
2011-12-20 18:58:54,074 [main] INFO  org.apache.pig.Main - Logging error messages to: /private/tmp/pig_1324436334061.log
2011-12-20 18:58:54,324 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
grunt> rmf '/tmp/mail_pairs.avro'
grunt> rmf '/tmp/mail_pairs.avro'
grunt> rm '/tmp/mail_pairs.avro' 
2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2997: Encountered IOException. File or directory '/tmp/mail_pairs.avro' does not exist.
2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.io.IOException: File or directory '/tmp/mail_pairs.avro' does not exist.
	at org.apache.pig.tools.grunt.GruntParser.processRemove(GruntParser.java:957)
	at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:430)
	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
	at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
	at org.apache.pig.Main.run(Main.java:523)
	at org.apache.pig.Main.main(Main.java:148)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:156)

Details also at logfile: /private/tmp/pig_1324436334061.log
grunt> ls /tmp/mail_pairs.avro
file:/tmp/mail_pairs.avro/part-m-00000.avro<r 1>	0
file:/tmp/mail_pairs.avro/part-m-00001.avro<r 1>	51024
file:/tmp/mail_pairs.avro/part-m-00002.avro<r 1>	66431
file:/tmp/mail_pairs.avro/part-m-00003.avro<r 1>	100130
file:/tmp/mail_pairs.avro/part-m-00004.avro<r 1>	141016
file:/tmp/mail_pairs.avro/part-m-00005.avro<r 1>	73522


  was:
russell-jurneys-macbook-pro:Collecting-Data peyomp$ pig -l /tmp -v -x local
2011-12-20 18:58:54,074 [main] INFO  org.apache.pig.Main - Logging error messages to: /private/tmp/pig_1324436334061.log
2011-12-20 18:58:54,324 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
grunt> rmf '/tmp/mail_pairs.avro'
grunt> rmf '/tmp/mail_pairs.avro'
grunt> rm '/tmp/mail_pairs.avro' 
2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2997: Encountered IOException. File or directory '/tmp/mail_pairs.avro' does not exist.
2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.io.IOException: File or directory '/tmp/mail_pairs.avro' does not exist.
	at org.apache.pig.tools.grunt.GruntParser.processRemove(GruntParser.java:957)
	at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:430)
	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
	at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
	at org.apache.pig.Main.run(Main.java:523)
	at org.apache.pig.Main.main(Main.java:148)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:156)

Details also at logfile: /private/tmp/pig_1324436334061.log
grunt> ls /tmp/mail_pairs.avro
file:/tmp/mail_pairs.avro/part-m-00000.avro<r 1>	0
file:/tmp/mail_pairs.avro/part-m-00001.avro<r 1>	51024
file:/tmp/mail_pairs.avro/part-m-00002.avro<r 1>	66431
file:/tmp/mail_pairs.avro/part-m-00003.avro<r 1>	100130
file:/tmp/mail_pairs.avro/part-m-00004.avro<r 1>	141016
file:/tmp/mail_pairs.avro/part-m-00005.avro<r 1>	73522


       Priority: Critical  (was: Major)
    
> rmf does not work in local mode
> -------------------------------
>
>                 Key: PIG-2441
>                 URL: https://issues.apache.org/jira/browse/PIG-2441
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: 0.9.1, 0.10, 0.9.2
>         Environment: Mac OS X 10.6.8
>            Reporter: Russell Jurney
>            Priority: Critical
>              Labels: fun, grunt, happy, mac, osx, pants, pig, rm_rf
>
> $ pig -l /tmp -v -x local
> 2011-12-20 18:58:54,074 [main] INFO  org.apache.pig.Main - Logging error messages to: /private/tmp/pig_1324436334061.log
> 2011-12-20 18:58:54,324 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rm '/tmp/mail_pairs.avro' 
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2997: Encountered IOException. File or directory '/tmp/mail_pairs.avro' does not exist.
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.io.IOException: File or directory '/tmp/mail_pairs.avro' does not exist.
> 	at org.apache.pig.tools.grunt.GruntParser.processRemove(GruntParser.java:957)
> 	at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:430)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
> 	at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
> 	at org.apache.pig.Main.run(Main.java:523)
> 	at org.apache.pig.Main.main(Main.java:148)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
> Details also at logfile: /private/tmp/pig_1324436334061.log
> grunt> ls /tmp/mail_pairs.avro
> file:/tmp/mail_pairs.avro/part-m-00000.avro<r 1>	0
> file:/tmp/mail_pairs.avro/part-m-00001.avro<r 1>	51024
> file:/tmp/mail_pairs.avro/part-m-00002.avro<r 1>	66431
> file:/tmp/mail_pairs.avro/part-m-00003.avro<r 1>	100130
> file:/tmp/mail_pairs.avro/part-m-00004.avro<r 1>	141016
> file:/tmp/mail_pairs.avro/part-m-00005.avro<r 1>	73522

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PIG-2441) rmf does not work in local mode

Posted by "Russell Jurney (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196607#comment-13196607 ] 

Russell Jurney commented on PIG-2441:
-------------------------------------

This was actually not working because the path was in single quotes.  Once the path is removed from single quotes, the rm works.

So, should I either close the ticket - or should rmf work with quotes? :)
                
> rmf does not work in local mode
> -------------------------------
>
>                 Key: PIG-2441
>                 URL: https://issues.apache.org/jira/browse/PIG-2441
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: 0.9.1, 0.9.2, 0.10
>         Environment: Mac OS X 10.6.8
>            Reporter: Russell Jurney
>            Priority: Critical
>              Labels: fun, grunt, happy, mac, osx, pants, pig, rm_rf
>
> $ pig -l /tmp -v -x local
> 2011-12-20 18:58:54,074 [main] INFO  org.apache.pig.Main - Logging error messages to: /private/tmp/pig_1324436334061.log
> 2011-12-20 18:58:54,324 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rm '/tmp/mail_pairs.avro' 
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2997: Encountered IOException. File or directory '/tmp/mail_pairs.avro' does not exist.
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.io.IOException: File or directory '/tmp/mail_pairs.avro' does not exist.
> 	at org.apache.pig.tools.grunt.GruntParser.processRemove(GruntParser.java:957)
> 	at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:430)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
> 	at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
> 	at org.apache.pig.Main.run(Main.java:523)
> 	at org.apache.pig.Main.main(Main.java:148)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
> Details also at logfile: /private/tmp/pig_1324436334061.log
> grunt> ls /tmp/mail_pairs.avro
> file:/tmp/mail_pairs.avro/part-m-00000.avro<r 1>	0
> file:/tmp/mail_pairs.avro/part-m-00001.avro<r 1>	51024
> file:/tmp/mail_pairs.avro/part-m-00002.avro<r 1>	66431
> file:/tmp/mail_pairs.avro/part-m-00003.avro<r 1>	100130
> file:/tmp/mail_pairs.avro/part-m-00004.avro<r 1>	141016
> file:/tmp/mail_pairs.avro/part-m-00005.avro<r 1>	73522

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PIG-2441) rmf does not work in local mode

Posted by "Russell Jurney (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13187550#comment-13187550 ] 

Russell Jurney commented on PIG-2441:
-------------------------------------

pig -secretDebugCmd -x local
Find hadoop at /Users/rjurney/hadoop-0.20.2/bin/hadoop
dry run:
HADOOP_CLASSPATH: /Users/rjurney/pig/bin/../conf:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/tools.jar:/Users/rjurney/pig/bin/../lib/automaton.jar:/Users/rjurney/pig/bin/../build/ivy/lib/Pig/jython-2.5.0.jar:/Users/rjurney/pig/bin/../pig-withouthadoop.jar:
HADOOP_OPTS: -Xmx1000m  -Dpig.log.dir=/Users/rjurney/pig/bin/../logs -Dpig.log.file=pig.log -Dpig.home.dir=/Users/rjurney/pig/bin/.. 
/Users/rjurney/hadoop-0.20.2/bin/hadoop jar /Users/rjurney/pig/bin/../pig-withouthadoop.jar -x local
                
> rmf does not work in local mode
> -------------------------------
>
>                 Key: PIG-2441
>                 URL: https://issues.apache.org/jira/browse/PIG-2441
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: 0.9.1, 0.9.2, 0.10
>         Environment: Mac OS X 10.6.8
>            Reporter: Russell Jurney
>            Priority: Critical
>              Labels: fun, grunt, happy, mac, osx, pants, pig, rm_rf
>
> $ pig -l /tmp -v -x local
> 2011-12-20 18:58:54,074 [main] INFO  org.apache.pig.Main - Logging error messages to: /private/tmp/pig_1324436334061.log
> 2011-12-20 18:58:54,324 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rm '/tmp/mail_pairs.avro' 
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2997: Encountered IOException. File or directory '/tmp/mail_pairs.avro' does not exist.
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.io.IOException: File or directory '/tmp/mail_pairs.avro' does not exist.
> 	at org.apache.pig.tools.grunt.GruntParser.processRemove(GruntParser.java:957)
> 	at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:430)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
> 	at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
> 	at org.apache.pig.Main.run(Main.java:523)
> 	at org.apache.pig.Main.main(Main.java:148)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
> Details also at logfile: /private/tmp/pig_1324436334061.log
> grunt> ls /tmp/mail_pairs.avro
> file:/tmp/mail_pairs.avro/part-m-00000.avro<r 1>	0
> file:/tmp/mail_pairs.avro/part-m-00001.avro<r 1>	51024
> file:/tmp/mail_pairs.avro/part-m-00002.avro<r 1>	66431
> file:/tmp/mail_pairs.avro/part-m-00003.avro<r 1>	100130
> file:/tmp/mail_pairs.avro/part-m-00004.avro<r 1>	141016
> file:/tmp/mail_pairs.avro/part-m-00005.avro<r 1>	73522

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PIG-2441) rmf does not work in local mode

Posted by "Daniel Dai (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196628#comment-13196628 ] 

Daniel Dai commented on PIG-2441:
---------------------------------

Yes rmf does not work with quotes right now. See http://mail-archives.apache.org/mod_mbox/pig-user/201108.mbox/%3CCAAZU44m9RhagOJu7hJFC-bGAXA8d8tmw+_u2kGeGKk9jqD=w7A@mail.gmail.com%3E
                
> rmf does not work in local mode
> -------------------------------
>
>                 Key: PIG-2441
>                 URL: https://issues.apache.org/jira/browse/PIG-2441
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: 0.9.1, 0.9.2, 0.10
>         Environment: Mac OS X 10.6.8
>            Reporter: Russell Jurney
>            Priority: Critical
>              Labels: fun, grunt, happy, mac, osx, pants, pig, rm_rf
>
> $ pig -l /tmp -v -x local
> 2011-12-20 18:58:54,074 [main] INFO  org.apache.pig.Main - Logging error messages to: /private/tmp/pig_1324436334061.log
> 2011-12-20 18:58:54,324 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rm '/tmp/mail_pairs.avro' 
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2997: Encountered IOException. File or directory '/tmp/mail_pairs.avro' does not exist.
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.io.IOException: File or directory '/tmp/mail_pairs.avro' does not exist.
> 	at org.apache.pig.tools.grunt.GruntParser.processRemove(GruntParser.java:957)
> 	at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:430)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
> 	at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
> 	at org.apache.pig.Main.run(Main.java:523)
> 	at org.apache.pig.Main.main(Main.java:148)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
> Details also at logfile: /private/tmp/pig_1324436334061.log
> grunt> ls /tmp/mail_pairs.avro
> file:/tmp/mail_pairs.avro/part-m-00000.avro<r 1>	0
> file:/tmp/mail_pairs.avro/part-m-00001.avro<r 1>	51024
> file:/tmp/mail_pairs.avro/part-m-00002.avro<r 1>	66431
> file:/tmp/mail_pairs.avro/part-m-00003.avro<r 1>	100130
> file:/tmp/mail_pairs.avro/part-m-00004.avro<r 1>	141016
> file:/tmp/mail_pairs.avro/part-m-00005.avro<r 1>	73522

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PIG-2441) rmf does not work in local mode

Posted by "Russell Jurney (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Russell Jurney updated PIG-2441:
--------------------------------

    Affects Version/s: 0.9.2
                       0.9.1
    
> rmf does not work in local mode
> -------------------------------
>
>                 Key: PIG-2441
>                 URL: https://issues.apache.org/jira/browse/PIG-2441
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: 0.9.1, 0.10, 0.9.2
>         Environment: Mac OS X 10.6.8
>            Reporter: Russell Jurney
>              Labels: fun, grunt, happy, mac, osx, pants, pig, rm_rf
>
> russell-jurneys-macbook-pro:Collecting-Data peyomp$ pig -l /tmp -v -x local
> 2011-12-20 18:58:54,074 [main] INFO  org.apache.pig.Main - Logging error messages to: /private/tmp/pig_1324436334061.log
> 2011-12-20 18:58:54,324 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rm '/tmp/mail_pairs.avro' 
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2997: Encountered IOException. File or directory '/tmp/mail_pairs.avro' does not exist.
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.io.IOException: File or directory '/tmp/mail_pairs.avro' does not exist.
> 	at org.apache.pig.tools.grunt.GruntParser.processRemove(GruntParser.java:957)
> 	at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:430)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
> 	at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
> 	at org.apache.pig.Main.run(Main.java:523)
> 	at org.apache.pig.Main.main(Main.java:148)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
> Details also at logfile: /private/tmp/pig_1324436334061.log
> grunt> ls /tmp/mail_pairs.avro
> file:/tmp/mail_pairs.avro/part-m-00000.avro<r 1>	0
> file:/tmp/mail_pairs.avro/part-m-00001.avro<r 1>	51024
> file:/tmp/mail_pairs.avro/part-m-00002.avro<r 1>	66431
> file:/tmp/mail_pairs.avro/part-m-00003.avro<r 1>	100130
> file:/tmp/mail_pairs.avro/part-m-00004.avro<r 1>	141016
> file:/tmp/mail_pairs.avro/part-m-00005.avro<r 1>	73522

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PIG-2441) rmf does not work in local mode

Posted by "Russell Jurney (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13173801#comment-13173801 ] 

Russell Jurney commented on PIG-2441:
-------------------------------------

Note: there is a workaround...

sh rm -rf '/tmp/mail_pairs.avro'
sh rm -rf '/tmp/sent_counts.avro'
                
> rmf does not work in local mode
> -------------------------------
>
>                 Key: PIG-2441
>                 URL: https://issues.apache.org/jira/browse/PIG-2441
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: 0.10
>         Environment: Mac OS X 10.6.8
>            Reporter: Russell Jurney
>              Labels: fun, grunt, happy, mac, osx, pants, pig, rm_rf
>
> russell-jurneys-macbook-pro:Collecting-Data peyomp$ pig -l /tmp -v -x local
> 2011-12-20 18:58:54,074 [main] INFO  org.apache.pig.Main - Logging error messages to: /private/tmp/pig_1324436334061.log
> 2011-12-20 18:58:54,324 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rm '/tmp/mail_pairs.avro' 
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2997: Encountered IOException. File or directory '/tmp/mail_pairs.avro' does not exist.
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.io.IOException: File or directory '/tmp/mail_pairs.avro' does not exist.
> 	at org.apache.pig.tools.grunt.GruntParser.processRemove(GruntParser.java:957)
> 	at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:430)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
> 	at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
> 	at org.apache.pig.Main.run(Main.java:523)
> 	at org.apache.pig.Main.main(Main.java:148)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
> Details also at logfile: /private/tmp/pig_1324436334061.log
> grunt> ls /tmp/mail_pairs.avro
> file:/tmp/mail_pairs.avro/part-m-00000.avro<r 1>	0
> file:/tmp/mail_pairs.avro/part-m-00001.avro<r 1>	51024
> file:/tmp/mail_pairs.avro/part-m-00002.avro<r 1>	66431
> file:/tmp/mail_pairs.avro/part-m-00003.avro<r 1>	100130
> file:/tmp/mail_pairs.avro/part-m-00004.avro<r 1>	141016
> file:/tmp/mail_pairs.avro/part-m-00005.avro<r 1>	73522

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PIG-2441) rmf does not work in local mode

Posted by "Harsh J (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178121#comment-13178121 ] 

Harsh J commented on PIG-2441:
------------------------------

Per your comments, looks like even rm/rmr looked at the wrong location, not just rmf.
                
> rmf does not work in local mode
> -------------------------------
>
>                 Key: PIG-2441
>                 URL: https://issues.apache.org/jira/browse/PIG-2441
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: 0.9.1, 0.10, 0.9.2
>         Environment: Mac OS X 10.6.8
>            Reporter: Russell Jurney
>              Labels: fun, grunt, happy, mac, osx, pants, pig, rm_rf
>
> russell-jurneys-macbook-pro:Collecting-Data peyomp$ pig -l /tmp -v -x local
> 2011-12-20 18:58:54,074 [main] INFO  org.apache.pig.Main - Logging error messages to: /private/tmp/pig_1324436334061.log
> 2011-12-20 18:58:54,324 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rm '/tmp/mail_pairs.avro' 
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2997: Encountered IOException. File or directory '/tmp/mail_pairs.avro' does not exist.
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.io.IOException: File or directory '/tmp/mail_pairs.avro' does not exist.
> 	at org.apache.pig.tools.grunt.GruntParser.processRemove(GruntParser.java:957)
> 	at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:430)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
> 	at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
> 	at org.apache.pig.Main.run(Main.java:523)
> 	at org.apache.pig.Main.main(Main.java:148)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
> Details also at logfile: /private/tmp/pig_1324436334061.log
> grunt> ls /tmp/mail_pairs.avro
> file:/tmp/mail_pairs.avro/part-m-00000.avro<r 1>	0
> file:/tmp/mail_pairs.avro/part-m-00001.avro<r 1>	51024
> file:/tmp/mail_pairs.avro/part-m-00002.avro<r 1>	66431
> file:/tmp/mail_pairs.avro/part-m-00003.avro<r 1>	100130
> file:/tmp/mail_pairs.avro/part-m-00004.avro<r 1>	141016
> file:/tmp/mail_pairs.avro/part-m-00005.avro<r 1>	73522

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PIG-2441) rmf does not work in local mode

Posted by "Daniel Dai (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243997#comment-13243997 ] 

Daniel Dai commented on PIG-2441:
---------------------------------

You can open a new ticket about quoted paths. This ticket is becoming long and confusing.
                
> rmf does not work in local mode
> -------------------------------
>
>                 Key: PIG-2441
>                 URL: https://issues.apache.org/jira/browse/PIG-2441
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: 0.9.1, 0.9.2, 0.10
>         Environment: Mac OS X 10.6.8
>            Reporter: Russell Jurney
>            Priority: Critical
>              Labels: fun, grunt, happy, mac, osx, pants, pig, rm_rf
>
> $ pig -l /tmp -v -x local
> 2011-12-20 18:58:54,074 [main] INFO  org.apache.pig.Main - Logging error messages to: /private/tmp/pig_1324436334061.log
> 2011-12-20 18:58:54,324 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rm '/tmp/mail_pairs.avro' 
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2997: Encountered IOException. File or directory '/tmp/mail_pairs.avro' does not exist.
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.io.IOException: File or directory '/tmp/mail_pairs.avro' does not exist.
> 	at org.apache.pig.tools.grunt.GruntParser.processRemove(GruntParser.java:957)
> 	at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:430)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
> 	at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
> 	at org.apache.pig.Main.run(Main.java:523)
> 	at org.apache.pig.Main.main(Main.java:148)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
> Details also at logfile: /private/tmp/pig_1324436334061.log
> grunt> ls /tmp/mail_pairs.avro
> file:/tmp/mail_pairs.avro/part-m-00000.avro<r 1>	0
> file:/tmp/mail_pairs.avro/part-m-00001.avro<r 1>	51024
> file:/tmp/mail_pairs.avro/part-m-00002.avro<r 1>	66431
> file:/tmp/mail_pairs.avro/part-m-00003.avro<r 1>	100130
> file:/tmp/mail_pairs.avro/part-m-00004.avro<r 1>	141016
> file:/tmp/mail_pairs.avro/part-m-00005.avro<r 1>	73522

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PIG-2441) rmf does not work in local mode

Posted by "Daniel Dai (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178132#comment-13178132 ] 

Daniel Dai commented on PIG-2441:
---------------------------------

Seems I have trouble reproduce the issue. Can you tell me which version of Pig you are using? And can you do "pig -secretDebugCmd -x local", and paste the output?
                
> rmf does not work in local mode
> -------------------------------
>
>                 Key: PIG-2441
>                 URL: https://issues.apache.org/jira/browse/PIG-2441
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: 0.9.1, 0.10, 0.9.2
>         Environment: Mac OS X 10.6.8
>            Reporter: Russell Jurney
>            Priority: Critical
>              Labels: fun, grunt, happy, mac, osx, pants, pig, rm_rf
>
> $ pig -l /tmp -v -x local
> 2011-12-20 18:58:54,074 [main] INFO  org.apache.pig.Main - Logging error messages to: /private/tmp/pig_1324436334061.log
> 2011-12-20 18:58:54,324 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rmf '/tmp/mail_pairs.avro'
> grunt> rm '/tmp/mail_pairs.avro' 
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2997: Encountered IOException. File or directory '/tmp/mail_pairs.avro' does not exist.
> 2011-12-20 18:59:02,968 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.io.IOException: File or directory '/tmp/mail_pairs.avro' does not exist.
> 	at org.apache.pig.tools.grunt.GruntParser.processRemove(GruntParser.java:957)
> 	at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:430)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
> 	at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
> 	at org.apache.pig.Main.run(Main.java:523)
> 	at org.apache.pig.Main.main(Main.java:148)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
> Details also at logfile: /private/tmp/pig_1324436334061.log
> grunt> ls /tmp/mail_pairs.avro
> file:/tmp/mail_pairs.avro/part-m-00000.avro<r 1>	0
> file:/tmp/mail_pairs.avro/part-m-00001.avro<r 1>	51024
> file:/tmp/mail_pairs.avro/part-m-00002.avro<r 1>	66431
> file:/tmp/mail_pairs.avro/part-m-00003.avro<r 1>	100130
> file:/tmp/mail_pairs.avro/part-m-00004.avro<r 1>	141016
> file:/tmp/mail_pairs.avro/part-m-00005.avro<r 1>	73522

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira