MultiFileWordCount job fails if the input path is not from default file system
------------------------------------------------------------------------------

                 Key: MAPREDUCE-4002
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4002
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: examples
    Affects Versions: 0.24.0, 0.23.3
            Reporter: Bhallamudi Venkata Siva Kamesh


In the MultiFileWordCount#CombineFileLineRecordReader, filesystem object has 
been initialized in the following way

{noformat}fs = FileSystem.get(context.getConfiguration());{noformat}

This causes, *fs* to be initialized with default filesystem. Therefore *fs* 
searchs for the input files on the default file system, which fails if the 
input path is from different source.

--
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

        

Reply via email to