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

Add docs to the new API Partitioner on how to access Job Configuration data

    Details

    • Hadoop Flags:
      Reviewed
    • Release Note:
      Improve the Partitioner interface's docs to help fetch Job Configuration objects.
    • Tags:
      docs

      Description

      The new Partitioner interface does not extend Configurable classes as the old one and thus need to carry a tip on how to implement a custom partitioner that needs to feed off the Job Configuration data to work.

      Attaching a patch that adds in the javadoc fix.

        Activity

        Hide
        Harsh J added a comment -

        Doc-fix patch.

        Show
        Harsh J added a comment - Doc-fix patch.
        Hide
        Harsh J added a comment -

        Marking as P-A.

        Show
        Harsh J added a comment - Marking as P-A.
        Hide
        Hadoop QA added a comment -

        +1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12478260/MAPREDUCE-2474.r1.diff
        against trunk revision 1099590.

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

        +0 tests included. The patch appears to be a documentation patch that doesn't require tests.

        +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 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 core unit tests.

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

        +1 system test framework. The patch passed system test framework compile.

        Test results: https://builds.apache.org/hudson/job/PreCommit-MAPREDUCE-Build/219//testReport/
        Findbugs warnings: https://builds.apache.org/hudson/job/PreCommit-MAPREDUCE-Build/219//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
        Console output: https://builds.apache.org/hudson/job/PreCommit-MAPREDUCE-Build/219//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/12478260/MAPREDUCE-2474.r1.diff against trunk revision 1099590. +1 @author. The patch does not contain any @author tags. +0 tests included. The patch appears to be a documentation patch that doesn't require tests. +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 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 core unit tests. +1 contrib tests. The patch passed contrib unit tests. +1 system test framework. The patch passed system test framework compile. Test results: https://builds.apache.org/hudson/job/PreCommit-MAPREDUCE-Build/219//testReport/ Findbugs warnings: https://builds.apache.org/hudson/job/PreCommit-MAPREDUCE-Build/219//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/hudson/job/PreCommit-MAPREDUCE-Build/219//console This message is automatically generated.
        Hide
        Todd Lipcon added a comment -

        +1, looks good to me

        Show
        Todd Lipcon added a comment - +1, looks good to me
        Hide
        Todd Lipcon added a comment -

        Committed to trunk

        Show
        Todd Lipcon added a comment - Committed to trunk
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #657 (See https://builds.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/657/)
        MAPREDUCE-2474. Add docs to the new API Partitioner on how to access the Job Configuration. Contributed by Harsh J Chouraria.

        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #657 (See https://builds.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/657/ ) MAPREDUCE-2474 . Add docs to the new API Partitioner on how to access the Job Configuration. Contributed by Harsh J Chouraria.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #671 (See https://builds.apache.org/hudson/job/Hadoop-Mapreduce-trunk/671/)
        MAPREDUCE-2474. Add docs to the new API Partitioner on how to access the Job Configuration. Contributed by Harsh J Chouraria.

        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #671 (See https://builds.apache.org/hudson/job/Hadoop-Mapreduce-trunk/671/ ) MAPREDUCE-2474 . Add docs to the new API Partitioner on how to access the Job Configuration. Contributed by Harsh J Chouraria.

          People

          • Assignee:
            Harsh J
            Reporter:
            Harsh J
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1m
              1m
              Remaining:
              Remaining Estimate - 1m
              1m
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development