Job executed through ftp file system is failing with "java.io.IOException: Seek
not supported"
----------------------------------------------------------------------------------------------
Key: MAPREDUCE-3364
URL: https://issues.apache.org/jira/browse/MAPREDUCE-3364
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: mrv2
Reporter: Ramgopal N
Instead of hdfs file as input to the job,i have given local file through ftp as
input and executed a job.The job is failing with ERROR
Error: java.io.IOException: Seek not supported
at org.apache.hadoop.fs.ftp.FTPInputStream.seek(FTPInputStream.java:60)
at
org.apache.hadoop.fs.FSDataInputStream.seek(FSDataInputStream.java:47)
at
org.apache.hadoop.mapreduce.lib.input.LineRecordReader.initialize(LineRecordReader.java:117)
at
org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.initialize(MapTask.java:484)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:710)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:328)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:147)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1152)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:142)
The same job is successfully getting executed in V1.
--
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