java - FileNotFoundException with Pig -
java - FileNotFoundException with Pig -
i running shell script pig command
pig -param_file some-filename
getting next exception : filenotfoundexception
. checked , file exists @ given location. cause problem ?
error 2997: encountered ioexception. file some-file.properties not exist java.io.filenotfoundexception: file some-file.properties not exist @ org.apache.hadoop.fs.rawlocalfilesystem.getfilestatus(rawlocalfilesystem.java:520) @ org.apache.hadoop.fs.filterfilesystem.getfilestatus(filterfilesystem.java:398) @ org.apache.pig.impl.io.filelocalizer.fetchfilesinternal(filelocalizer.java:791) @ org.apache.pig.impl.io.filelocalizer.fetchfile(filelocalizer.java:735) @ org.apache.pig.main.fetchremoteparamfiles(main.java:756) @ org.apache.pig.main.run(main.java:408) @ org.apache.pig.main.main(main.java:157) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.apache.hadoop.util.runjar.main(runjar.java:212)
try ,
pig pathname/pig_file_name.pig
where pathname location have pig script file.
for illustration pig c:\users\ren\documents\scripts\weather_analysis.pig
java hadoop apache-pig
Comments
Post a Comment