Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4002

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.3, 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: examples
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

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

      fs = FileSystem.get(context.getConfiguration());

      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.

      1. MAPREDUCE-4002.patch
        0.9 kB
        Bhallamudi Venkata Siva Kamesh

        Activity

        Bhallamudi Venkata Siva Kamesh created issue -
        Hide
        Bhallamudi Venkata Siva Kamesh added a comment -

        Attaching a patch, which gets path specific file system

        Show
        Bhallamudi Venkata Siva Kamesh added a comment - Attaching a patch, which gets path specific file system
        Bhallamudi Venkata Siva Kamesh made changes -
        Field Original Value New Value
        Attachment MAPREDUCE-4002.patch [ 12518184 ]
        Bhallamudi Venkata Siva Kamesh made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12518184/MAPREDUCE-4002.patch
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        -1 tests included. The patch doesn't appear to include any new or modified tests.
        Please justify why no new tests are needed for this patch.
        Also please list what manual steps were performed to verify this patch.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 eclipse:eclipse. The patch built with eclipse:eclipse.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        +1 core tests. The patch passed unit tests in .

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2046//testReport/
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2046//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12518184/MAPREDUCE-4002.patch against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed unit tests in . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2046//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2046//console This message is automatically generated.
        Hide
        Bhallamudi Venkata Siva Kamesh added a comment -

        As this is an examples related patch, I think testcase is not required. Please review it.

        Show
        Bhallamudi Venkata Siva Kamesh added a comment - As this is an examples related patch, I think testcase is not required. Please review it.
        Hide
        Ahmed Radwan added a comment -

        +1, change lgtm. Thanks!

        Show
        Ahmed Radwan added a comment - +1, change lgtm. Thanks!
        Todd Lipcon made changes -
        Assignee Bhallamudi Venkata Siva Kamesh [ kam_iitkgp ]
        Hide
        Todd Lipcon added a comment -

        Committed to branch-2 and trunk. Thanks, Bhallamudi.

        Show
        Todd Lipcon added a comment - Committed to branch-2 and trunk. Thanks, Bhallamudi.
        Todd Lipcon made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 2.0.1 [ 12321442 ]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #2272 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2272/)
        MAPREDUCE-4002. MultiFileWordCount job fails if the input path is not from default file system. Contributed by Bhallamudi Venkata Siva Kamesh. (Revision 1340630)

        Result = SUCCESS
        todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1340630
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/MultiFileWordCount.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #2272 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2272/ ) MAPREDUCE-4002 . MultiFileWordCount job fails if the input path is not from default file system. Contributed by Bhallamudi Venkata Siva Kamesh. (Revision 1340630) Result = SUCCESS todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1340630 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/MultiFileWordCount.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #2345 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2345/)
        MAPREDUCE-4002. MultiFileWordCount job fails if the input path is not from default file system. Contributed by Bhallamudi Venkata Siva Kamesh. (Revision 1340630)

        Result = SUCCESS
        todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1340630
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/MultiFileWordCount.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #2345 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2345/ ) MAPREDUCE-4002 . MultiFileWordCount job fails if the input path is not from default file system. Contributed by Bhallamudi Venkata Siva Kamesh. (Revision 1340630) Result = SUCCESS todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1340630 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/MultiFileWordCount.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #2290 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2290/)
        MAPREDUCE-4002. MultiFileWordCount job fails if the input path is not from default file system. Contributed by Bhallamudi Venkata Siva Kamesh. (Revision 1340630)

        Result = FAILURE
        todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1340630
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/MultiFileWordCount.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #2290 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2290/ ) MAPREDUCE-4002 . MultiFileWordCount job fails if the input path is not from default file system. Contributed by Bhallamudi Venkata Siva Kamesh. (Revision 1340630) Result = FAILURE todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1340630 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/MultiFileWordCount.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #1051 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1051/)
        MAPREDUCE-4002. MultiFileWordCount job fails if the input path is not from default file system. Contributed by Bhallamudi Venkata Siva Kamesh. (Revision 1340630)

        Result = SUCCESS
        todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1340630
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/MultiFileWordCount.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1051 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1051/ ) MAPREDUCE-4002 . MultiFileWordCount job fails if the input path is not from default file system. Contributed by Bhallamudi Venkata Siva Kamesh. (Revision 1340630) Result = SUCCESS todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1340630 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/MultiFileWordCount.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #1085 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1085/)
        MAPREDUCE-4002. MultiFileWordCount job fails if the input path is not from default file system. Contributed by Bhallamudi Venkata Siva Kamesh. (Revision 1340630)

        Result = SUCCESS
        todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1340630
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/MultiFileWordCount.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1085 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1085/ ) MAPREDUCE-4002 . MultiFileWordCount job fails if the input path is not from default file system. Contributed by Bhallamudi Venkata Siva Kamesh. (Revision 1340630) Result = SUCCESS todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1340630 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/MultiFileWordCount.java
        Hide
        Bhallamudi Venkata Siva Kamesh added a comment -

        Thanks Todd.

        Show
        Bhallamudi Venkata Siva Kamesh added a comment - Thanks Todd.
        Arun C Murthy made changes -
        Fix Version/s 2.0.2-alpha [ 12322471 ]
        Fix Version/s 2.1.0-alpha [ 12321442 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Allen Wittenauer made changes -
        Affects Version/s 2.0.0-alpha [ 12320354 ]
        Affects Version/s 0.24.0 [ 12317654 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        4m 13s 1 Bhallamudi Venkata Siva Kamesh 13/Mar/12 13:36
        Patch Available Patch Available Resolved Resolved
        67d 18h 6m 1 Todd Lipcon 20/May/12 08:42
        Resolved Resolved Closed Closed
        144d 10h 5m 1 Arun C Murthy 11/Oct/12 18:48

          People

          • Assignee:
            Bhallamudi Venkata Siva Kamesh
            Reporter:
            Bhallamudi Venkata Siva Kamesh
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development