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

RPC code requires cellBlockCodecClass even though one is defined by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.95.1
    • 0.98.0, 0.95.2
    • IPC/RPC
    • None
    • Reviewed

    Description

      The protobuf definition provides a default value:

      // This is sent on connection setup after the connection preamble is sent.
      message ConnectionHeader {
        [...]
        optional string cellBlockCodecClass = 3 [default = "org.apache.hadoop.hbase.codec.KeyValueCodec"];
        // Compressor we will use if cell block is compressed.  Server will throw exception if not supported.
        // Class must implement hadoop's CompressionCodec Interface
        [...]
      }
      

      Yet if one doesn't explicitly set a value, the code was rejecting the connection.

      Attachments

        Activity

          People

            tsuna Benoit Sigoure
            tsuna Benoit Sigoure
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: