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

hbase-client should not require Jackson for pure HBase queries be executed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.98.3
    • 0.99.0, 0.98.4
    • Client
    • None
    • Reviewed

    Description

      Including the hbase-client module dependency and excluding Jackson dependencies causes the pure HBase query (run with HTableInterface) fail with Jackson ObjectMapper ClassNotFoundException.

      This is due to org.apache.hadoop.hbase.client.Operation having ObjectMapper statically initialized.

      Moving ObjectMapper to a dedicated utility will help. The patch will be attached.

      Attachments

        1. diff.txt
          3 kB
          Sergey Beryozkin

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            sergey_beryozkin Sergey Beryozkin
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: