XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      The org.apache.hadoop.mapreduce
      Class Mapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT>

      has an example with
      public void map(Object key, Text value, Context context)

      But, "Any type which is to be used as a key in the Hadoop Map-Reduce framework should implement this interface."
      org.apache.hadoop.io
      Interface WritableComparable<T>

      The example has Object for key type. Object doesn't implement WritableComparable.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dvohra DeepakVohra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: