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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.95.0
    • None
    • None
    • Reviewed
    • 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. 7215v7.txt
          85 kB
          Lars Hofhansl
        2. 7215v7.txt
          85 kB
          Lars Hofhansl
        3. 7215v6.txt
          86 kB
          Lars Hofhansl
        4. 7215v5.txt
          85 kB
          Lars Hofhansl
        5. 7215v4.txt
          83 kB
          Lars Hofhansl
        6. 7215v3.txt
          81 kB
          Michael Stack
        7. MutableResult.java
          0.4 kB
          Michael Stack
        8. 7215v3_mutableresult.txt
          7 kB
          Michael Stack
        9. 7215-v2.txt
          60 kB
          Lars Hofhansl
        10. 7251-SKETCH.txt
          49 kB
          Lars Hofhansl

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              larsh Lars Hofhansl
              larsh Lars Hofhansl
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: