Uploaded image for project: 'Kite SDK (READ-ONLY)'
  1. Kite SDK (READ-ONLY)
  2. KITE-447

HBase key mapping can cause ClassCastException.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.14.0
    • Fix Version/s: None
    • Component/s: Data Module, HBase Module
    • Labels:
      None

      Description

      This was exposed when looking into CDK-441, where the key deserialization was correctly producing Utf8 objects, but the SpecificData record expected a String. The fix is to copy the field's schema into the key schema for all identity partitioners, but this won't always work. If the record has fields with java-class properties, GenericData will not instantiate those objects correctly to be used to reconstruct entities. This is also another reason why it's a good idea not to allow records in the key.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              blue Ryan Blue
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: