gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-174) GORA compiler does not handle ["string", "null"] unions in the AVRO schema
Date Fri, 14 Jun 2013 01:40:20 GMT

    [ https://issues.apache.org/jira/browse/GORA-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682996#comment-13682996
] 

Hudson commented on GORA-174:
-----------------------------

Integrated in gora-trunk #749 (See [https://builds.apache.org/job/gora-trunk/749/])
    GORA-174 GORA compiler does not handle [string, null] unions in the AVRO schema (Revision
1492920)

     Result = SUCCESS
lewismc : http://svn.apache.org/viewvc/gora/trunk/?view=rev&rev=1492920
Files : 
* /gora/trunk/CHANGES.txt
* /gora/trunk/gora-accumulo/src/main/java/org/apache/gora/accumulo/store/AccumuloStore.java
* /gora/trunk/gora-accumulo/src/test/resources/gora-accumulo-mapping.xml
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraColumn.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraResult.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraRow.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSubColumn.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/serializers/GoraSerializerTypeInferer.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraMapping.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraMappingManager.java
* /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java
* /gora/trunk/gora-cassandra/src/test/conf/gora-cassandra-mapping.xml
* /gora/trunk/gora-cassandra/src/test/java/org/apache/gora/cassandra/store/TestCassandraStore.java
* /gora/trunk/gora-core/src/examples/avro/employee.json
* /gora/trunk/gora-core/src/examples/avro/webpage.json
* /gora/trunk/gora-core/src/examples/java/org/apache/gora/examples/WebPageDataCreator.java
* /gora/trunk/gora-core/src/examples/java/org/apache/gora/examples/generated/Employee.java
* /gora/trunk/gora-core/src/examples/java/org/apache/gora/examples/generated/Metadata.java
* /gora/trunk/gora-core/src/examples/java/org/apache/gora/examples/generated/TokenDatum.java
* /gora/trunk/gora-core/src/examples/java/org/apache/gora/examples/generated/WebPage.java
* /gora/trunk/gora-core/src/examples/java/org/apache/gora/examples/mapreduce/WordCount.java
* /gora/trunk/gora-core/src/main/java/org/apache/gora/compiler/GoraCompiler.java
* /gora/trunk/gora-core/src/main/java/org/apache/gora/persistency/impl/PersistentBase.java
* /gora/trunk/gora-core/src/test/java/org/apache/gora/mapreduce/MapReduceTestUtils.java
* /gora/trunk/gora-core/src/test/java/org/apache/gora/store/DataStoreTestBase.java
* /gora/trunk/gora-core/src/test/java/org/apache/gora/store/DataStoreTestUtil.java
* /gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
* /gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/util/HBaseByteInterface.java
* /gora/trunk/gora-hbase/src/test/conf/gora-hbase-mapping.xml
* /gora/trunk/gora-hbase/src/test/java/org/apache/gora/hbase/store/TestHBaseStore.java
* /gora/trunk/gora-tutorial/conf/gora.properties
* /gora/trunk/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/MetricDatum.java
* /gora/trunk/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/Pageview.java
* /gora/trunk/pom.xml

                
> GORA compiler does not handle ["string", "null"] unions in the AVRO schema
> --------------------------------------------------------------------------
>
>                 Key: GORA-174
>                 URL: https://issues.apache.org/jira/browse/GORA-174
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: schema
>    Affects Versions: 0.2.1
>            Reporter: Julien Nioche
>            Assignee: Alfonso Nishikawa
>            Priority: Blocker
>             Fix For: 0.4
>
>         Attachments: GORA-174_over_r1462580.patch, GORA-174.patch, GORA-174.patch, GORA-174.patch,
GORA-174.patch, GORA-174-test.patch
>
>
> See NUTCH-1477 for description. 
> We are getting NPE when using the DataFileAvroStore, in order to avoid that I modified
the schema to allow for null values on some fields e.g.    {"name": "baseUrl", "type": ["string",
"null"] }
> however when generating the code for the schema the accessors are not generated by GORA
which prevents Nutch from compiling 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message