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

Fail at the time of error logging if KeyClass in gora-hbase-mapping is not the same as the one in the data bean

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.8
    • gora-hbase
    • None

    Description

      In the current implementation, when reading the HBase mapping file, if the HBase mapping file does not have a matching key class and name to the data bean, it only logs that information.[1] It does not fail at the time of detecting it. It fails only at the time of building the mapper [2] when it detects the table name is null. It will be better if it can fail at the time of detecting that mapping file is missing the corresponding class.

      [1]. https://github.com/apache/gora/blob/master/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java#L797
      [2]. https://github.com/apache/gora/blob/master/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java#L815

      Attachments

        Issue Links

          Activity

            People

              nishadi.k Nishadi Kirielle
              nishadi Nishadi Kirielle
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: