Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-394

Erroneous 'Error: KeyClass in gora-hbase-mapping is not the same as the one in the databean.' log when reading HBase mapping

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.4, 0.5, 0.6, 0.7, 0.6.1
    • 0.8
    • gora-hbase

    Description

      When reading the <class> mapping in gora-hbase in HBaseStore, it keeps iterating all <class> tags until finds the one for the datastore generic parameters (key and value matches).

      For that, this else block is erroneous because we expect the if to be true only once and false serveral times, depending the number of entities defined in the mapping file.

      The error log "KeyClass in gora-hbase-mapping is not the same as the one in the databean." must only be shown after finishing traversing all <class> elements and finding no match.

      Attachments

        Issue Links

          Activity

            People

              nishadi.k Nishadi Kirielle
              alfonsonishikawa Alfonso Nishikawa Muñumer
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: