You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Bhallamudi Venkata Siva Kamesh (Created) (JIRA)" <ji...@apache.org> on 2012/03/13 14:33:39 UTC

[jira] [Created] (MAPREDUCE-4002) MultiFileWordCount job fails if the input path is not from default file system

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