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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.98.3
    • Fix Version/s: 0.99.0, 0.98.4
    • Component/s: Client
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: