Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7215

Put, Delete, Increment, Result, all all HBase M/R classes still implement/use Writable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.95.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      This patch removes the following Public Evolving APIs:

      ImmutableBytesWritable Result#getBytes
      void Result#readFields(DataInput)
      long Result#getWritableSize()
      void Result#write(DataOutput)
      static long Result#getWriteArraySize(Result[])
      static void writeArray(DataOutput, Result[])
      static Result[] Result#readArray(DataInput)

      Writable in MR related classes have been replaced with the new Mutation abstract class.

      Show
      This patch removes the following Public Evolving APIs: ImmutableBytesWritable Result#getBytes void Result#readFields(DataInput) long Result#getWritableSize() void Result#write(DataOutput) static long Result#getWriteArraySize(Result[]) static void writeArray(DataOutput, Result[]) static Result[] Result#readArray(DataInput) Writable in MR related classes have been replaced with the new Mutation abstract class.

      Description

      Making blocker as suggested by Stack.

      At least the following still use Put/Delete as writables.

      • IdentityTableReduce.java
      • MultiPut.java
      • HRegionServer.checkAndMutate

        Attachments

        1. 7251-SKETCH.txt
          49 kB
          Lars Hofhansl
        2. 7215-v2.txt
          60 kB
          Lars Hofhansl
        3. 7215v3_mutableresult.txt
          7 kB
          stack
        4. MutableResult.java
          0.4 kB
          stack
        5. 7215v3.txt
          81 kB
          stack
        6. 7215v4.txt
          83 kB
          Lars Hofhansl
        7. 7215v5.txt
          85 kB
          Lars Hofhansl
        8. 7215v6.txt
          86 kB
          Lars Hofhansl
        9. 7215v7.txt
          85 kB
          Lars Hofhansl
        10. 7215v7.txt
          85 kB
          Lars Hofhansl

          Issue Links

            Activity

              People

              • Assignee:
                lhofhansl Lars Hofhansl
                Reporter:
                lhofhansl Lars Hofhansl
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: