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

Show better errors when a field is missing in HBase mapping

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.2, 0.2.1
    • Fix Version/s: 0.3
    • Component/s: gora-hbase
    • Labels:
      None
    • Environment:
      Ubuntu 12.04, avro 1.3.2, hbase 0.92.0, gora 0.2.1

      Description

      When a field is wrong typed or missing in gora-hbase-mapping.xml, a NullPointerException is raised in org.apache.gora.hbase.store.HBaseStore:235
      Just control this to know which field is missing/wrong.

        Attachments

        1. GORA-186.patch
          0.6 kB
          Alfonso Nishikawa
        2. GORA-186v2.patch
          1 kB
          Alfonso Nishikawa

          Activity

            People

            • Assignee:
              alfonso.nishikawa Alfonso Nishikawa
              Reporter:
              alfonso.nishikawa Alfonso Nishikawa
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: