mapreduce - Hadoop Input File Name Issue -
i facing issue below. input folder contains file named : /xyz/pqr/job_ip/output_upto_thu_apr_23_14:53:05_2015.log
when starting hadoop job job not able read input
if change name of file
mv /xyz/pqr/job_ip/output_upto_thu_apr_23_14:53:05_2015.log /xyz/pqr/job_ip/output_upto_thu_apr_23_145305_2015.log
then job runs fine...
the exception getting when keeping file name output_upto_thu_apr_23_14:53:05_2015.log :
caused by: java.lang.illegalargumentexception: java.net.urisyntaxexception: relative path in absolute uri: output_upto_thu_apr_23_14:53:05_2015.log @ org.apache.hadoop.fs.path.initialize(path.java:148) @ org.apache.hadoop.fs.path.<init>(path.java:126) @ org.apache.hadoop.fs.path.<init>(path.java:50) @ org.apache.hadoop.fs.rawlocalfilesystem.liststatus(rawlocalfilesystem.java:329) ... .. caused by: java.net.urisyntaxexception: relative path in absolute uri:output_upto_thu_apr_23_14:53:05_2015.log @ java.net.uri.checkpath(uri.java:1804) @ java.net.uri.<init>(uri.java:752) @ org.apache.hadoop.fs.path.initialize(path.java:145) .... .. .
can 1 address issue file name..
as error explicitly tells you, path invalid since contains symbol :
, used separate individual file paths in list of file paths.
Comments
Post a Comment