Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4046

WritableComparator's constructor should be protected instead of private

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.18.0
    • Fix Version/s: 0.18.1
    • Component/s: io
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently, it isn't possible to subclass WritableComparator in a meaningful way. We should make this constructor protected:

      private WritableComparator(Class keyClass, boolean createInstances)
      

        Attachments

        1. 4046-0.patch
          2 kB
          Chris Douglas

          Activity

            People

            • Assignee:
              chris.douglas Chris Douglas
              Reporter:
              owen.omalley Owen O'Malley
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: