Pig 0.8.0 in Windows fails if the scripts is specified with a full path
starting with c:
----------------------------------------------------------------------------------------
Key: PIG-1901
URL: https://issues.apache.org/jira/browse/PIG-1901
Project: Pig
Issue Type: Bug
Affects Versions: 0.8.0
Environment: windows xp, pig 0.8.0, cygwin
Reporter: Alexander Lehmann
Priority: Minor
When the script name is passed as a complete windows path, the pig script
cannot be copied to a temp dir:
2011-03-13 04:05:42,375 [main] ERROR org.apache.pig.Main - ERROR 101: Could not
copy c:/projects/hadoop/testscript.pig to local destination C:\Dokumente und
Einstellungen\alex\pig688296045930353187tmp\testscript.pig
with a path not containing c: or with a slash before it works, the same command
line worked with pig 0.7.0
fails:
./pig-0.8.0/bin/pig -x local c:/projects/hadoop/testscript.pig
works:
./pig-0.8.0/bin/pig -x local /projects/hadoop/testscript.pig
./pig-0.7.0/bin/pig -x local c:/projects/hadoop/testscript.pig
./pig-0.8.0/bin/pig -x local /c:/projects/hadoop/testscript.pig
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira