Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-818

org.apache.hadoop.mapreduce.Counters.getGroup returns null if the group name doesnt exist.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.20.1
    • None
    • None
    • Reviewed
    • Fixed a bug in the new org.apache.hadoop.mapreduce.Counters.getGroup() method to return an empty group if group name doesn't exist, instead of null, thus making sure that it is in sync with the Javadoc.

    Description

      org.apache.hadoop.mapreduce.Counters.getGroup returns null if the group name doesnt exist. But the documentation says it returns an empty group if there is none with the specified name.

      Attachments

        1. patch-818.txt
          2 kB
          Amareshwari Sriramadasu

        Activity

          People

            amareshwari Amareshwari Sriramadasu
            amareshwari Amareshwari Sriramadasu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: