Not Able to Execute Pig Script in Local or Mapreduce Mode


#1

Hi,

When I execute the Pig Script getting below error.

[chmayurnath3326@cxln4 weblog]$ pig -x mapreduce weblog.pig
Java HotSpot™ 64-Bit Server VM warning: Insufficient space for shared memory file:
9681
Try using the -Djava.io.tmpdir= option to select an alternate temp location.
Exception in thread “main” java.io.IOException: No space left on device
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:326)
at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:89)
at org.apache.hadoop.util.RunJar.unJar(RunJar.java:112)
at org.apache.hadoop.util.RunJar.unJar(RunJar.java:85)
at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
[chmayurnath3326@cxln4 weblog]$ pig -x local weblog.pig
Exception in thread “main” java.io.IOException: No space left on device
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:326)
at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:89)
at org.apache.hadoop.util.RunJar.unJar(RunJar.java:112)
at org.apache.hadoop.util.RunJar.unJar(RunJar.java:85)
at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:148)

[chmayurnath3326@cxln4 weblog]$ pig -x local weblog.pig
Exception in thread “main” java.io.IOException: No space left on device
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:326)
at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:89)
Thanks
Mayur


#2

Thank you for letting us. Looks like the disk of e.cloudxlab.com is full. Let me check it.


#3

We have cleared up the space. Can you try now?


#4

Its Working now. Thank You.