Apache Gora
  1. Apache Gora
  2. GORA-101

HBaseStore should properly support multiple tables in the mapping file.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: gora-hbase
    • Labels:
      None

      Description

      When a client requests a schema name with a prefix (Nutchgora is doing this with crawlid) then the family properties like compression and maxVersions are not properly read. Those are only set on the default table. I will fix this so that somehow all tables that share the same mapping definition all use the same family properties.

      1. GORA-101.patch
        12 kB
        Ferdy Galema
      2. GORA-101-part2.patch
        2 kB
        Ferdy Galema

        Activity

        Ferdy Galema created issue -
        Ferdy Galema made changes -
        Field Original Value New Value
        Component/s storage-hbase [ 12313872 ]
        Hide
        Ferdy Galema added a comment -

        Tested patch with both prefix and no prefix. This patch does not change compatibilty of the mapping file. (Though I was tempted to do this: I created a TODO for this.)

        Show
        Ferdy Galema added a comment - Tested patch with both prefix and no prefix. This patch does not change compatibilty of the mapping file. (Though I was tempted to do this: I created a TODO for this.)
        Ferdy Galema made changes -
        Attachment GORA-101.patch [ 12516686 ]
        Hide
        Hudson added a comment -

        Integrated in gora-trunk #164 (See https://builds.apache.org/job/gora-trunk/164/)
        GORA-101 HBaseStore should properly support multiple tables in the mapping file. (Revision 1295608)

        Result = FAILURE
        ferdy :
        Files :

        • /gora/trunk/CHANGES.txt
        • /gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseColumn.java
        • /gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseMapping.java
        • /gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
        Show
        Hudson added a comment - Integrated in gora-trunk #164 (See https://builds.apache.org/job/gora-trunk/164/ ) GORA-101 HBaseStore should properly support multiple tables in the mapping file. (Revision 1295608) Result = FAILURE ferdy : Files : /gora/trunk/CHANGES.txt /gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseColumn.java /gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseMapping.java /gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
        Hide
        Hudson added a comment -

        Integrated in gora-trunk #168 (See https://builds.apache.org/job/gora-trunk/168/)
        GORA-101 HBaseStore should properly support multiple tables in the mapping file. (part2) (Revision 1296607)

        Result = SUCCESS
        ferdy :
        Files :

        • /gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
        Show
        Hudson added a comment - Integrated in gora-trunk #168 (See https://builds.apache.org/job/gora-trunk/168/ ) GORA-101 HBaseStore should properly support multiple tables in the mapping file. (part2) (Revision 1296607) Result = SUCCESS ferdy : Files : /gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
        Ferdy Galema made changes -
        Attachment GORA-101-part2.patch [ 12516936 ]
        Ferdy Galema made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Gavin made changes -
        Workflow jira [ 12655477 ] no-reopen-closed, patch-avail [ 12735293 ]
        Hide
        Hudson added a comment -

        Integrated in goraOracle #6 (See https://builds.apache.org/job/goraOracle/6/)
        GORA-101 HBaseStore should properly support multiple tables in the mapping file. (Revision c066b1666df0db7872a062529de62fb206a3d91f)
        GORA-101 HBaseStore should properly support multiple tables in the mapping file. (part2) (Revision cea6c41780719d5cfff77d880b2519399b2e24e8)

        Result = FAILURE
        ferdy :
        Files :

        • gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
        • gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseMapping.java
        • CHANGES.txt
        • gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseColumn.java

        ferdy :
        Files :

        • gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
        Show
        Hudson added a comment - Integrated in goraOracle #6 (See https://builds.apache.org/job/goraOracle/6/ ) GORA-101 HBaseStore should properly support multiple tables in the mapping file. (Revision c066b1666df0db7872a062529de62fb206a3d91f) GORA-101 HBaseStore should properly support multiple tables in the mapping file. (part2) (Revision cea6c41780719d5cfff77d880b2519399b2e24e8) Result = FAILURE ferdy : Files : gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseMapping.java CHANGES.txt gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseColumn.java ferdy : Files : gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        2d 1h 43m 1 Ferdy Galema 03/Mar/12 12:47

          People

          • Assignee:
            Unassigned
            Reporter:
            Ferdy Galema
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development