Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5580

The RowModel Data does not include the correct cell value type and some minor changes.

    XMLWordPrintableJSON

Details

    • Patch Available
    • Novice

    Description

      The hbase component create a row model from the passed endpoint configuration using the family/qualifier/etc information from the uri.

      This process currently does not extra the value type for value type n greater than 1. It currently uses the value type from the one defined for value 1. This is currently not a problem since this information is not being used within the hbase component but if we intend to use it the future this fix insures that it will extract the correct information for the row model.

      The extracted CellMappingStrategy within the HBaseConsumer is always going to return the same instance throughout the for loop. This has been moved outside of the for loop so that it is extract only once instead of multiple times.

      Added a check to the setValueType method of the HBaseCell class to sure that the passed value is non-null else raise an exception.

      Attachments

        1. hbase-patch-2.diffs
          6 kB
          Claudio Corsi

        Activity

          People

            davsclaus Claus Ibsen
            ccorsi Claudio Corsi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: