GitHub user alfonsonishikawa opened a pull request:
https://github.com/apache/gora/pull/135
Goraexplorer needed changes
This set of commits implements the following functionalities:
- Compile schemas from Strings and not only from files.
- Allow to configure the mapping
Github user alfonsonishikawa commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222505739
--- Diff:
gora-compiler/src/main/java/org/apache/gora/compiler/GoraCompiler.java ---
@@ -86,6 +88,31 @@ public static void compileSchema(File[]
Github user alfonsonishikawa commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222508076
--- Diff:
gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java ---
@@ -80,15 +81,20 @@
* DataStore for HBase. Thread safe.
Github user alfonsonishikawa commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222505121
--- Diff: bin/compile-examples.sh ---
@@ -36,8 +36,57 @@ DIR=$GORA_HOME/$MODULE/src/examples/avro/
OUTDIR=$GORA_HOME/$MODULE/src/examples/java
Github user alfonsonishikawa commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222506186
--- Diff:
gora-compiler/src/main/velocity/org/apache/gora/compiler/templates/record.vm ---
@@ -180,6 +180,11 @@ public class
Github user alfonsonishikawa commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222506447
--- Diff:
gora-core/src/main/java/org/apache/gora/mapreduce/GoraRecordWriter.java ---
@@ -76,4 +76,26 @@ public void write(K key, T value) throws
Github user alfonsonishikawa commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222508755
--- Diff: pom.xml ---
@@ -757,9 +758,9 @@
gora-maven-plugin
gora-mongodb
gora-solr
+gora-aerospike
--- End diff
Github user alfonsonishikawa commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222507887
--- Diff:
gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java ---
@@ -80,15 +81,20 @@
* DataStore for HBase. Thread safe.
Github user alfonsonishikawa commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222510709
--- Diff:
gora-pig/src/test/java/org/apache/gora/pig/GoraStorageTest.java-disabled ---
@@ -0,0 +1,352 @@
+package org.apache.gora.pig;
---
[
https://issues.apache.org/jira/browse/GORA-535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16637825#comment-16637825
]
ASF GitHub Bot commented on GORA-535:
-
Github user lewismc commented on the issue:
Github user lewismc commented on the issue:
https://github.com/apache/gora/pull/134
@djkevincr @carlosrmng is this ready to merge?
---
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222541246
--- Diff:
gora-core/src/examples/java/org/apache/gora/examples/generated/package-info.java
---
@@ -1,20 +0,0 @@
-/**
--- End diff --
Why
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222542987
--- Diff:
gora-pig/src/main/java/org/apache/gora/pig/StorageConfiguration.java ---
@@ -0,0 +1,140 @@
+package org.apache.gora.pig;
--- End diff --
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222542461
--- Diff:
gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStoreMetadataAnalyzer.java
---
@@ -0,0 +1,75 @@
+package org.apache.gora.hbase.store;
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222542089
--- Diff:
gora-goraci/src/main/java/org/apache/gora/goraci/generated/package-info.java ---
@@ -1,21 +0,0 @@
-/**
--- End diff --
Why remove?
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222541419
--- Diff:
gora-core/src/main/java/org/apache/gora/persistency/Persistent.java ---
@@ -113,4 +118,13 @@
* @return a new instance of the object
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222543383
--- Diff:
gora-pig/src/main/java/org/apache/gora/pig/util/PersistentUtils.java ---
@@ -0,0 +1,147 @@
+package org.apache.gora.pig.util;
--- End diff
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222543248
--- Diff:
gora-pig/src/main/java/org/apache/gora/pig/udf/MapDeleteElements.java ---
@@ -0,0 +1,67 @@
+package org.apache.gora.pig.udf;
--- End diff --
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222542231
--- Diff:
gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java ---
@@ -80,15 +81,20 @@
* DataStore for HBase. Thread safe.
*
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222543177
--- Diff:
gora-pig/src/main/java/org/apache/gora/pig/mapreduce/PigGoraOutputFormat.java
---
@@ -0,0 +1,86 @@
+package org.apache.gora.pig.mapreduce;
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222543621
--- Diff: gora-pig/src/test/resources/gora.properties ---
@@ -0,0 +1,4 @@
+gora.datastore.default=org.apache.gora.hbase.store.HBaseStore
--- End diff
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222543455
--- Diff: gora-pig/src/test/examples/README.txt ---
@@ -0,0 +1,9 @@
+
--- End diff --
Can you make this an .md file?
---
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222542930
--- Diff:
gora-pig/src/main/java/org/apache/gora/pig/ResourceFieldSchemaWithIndex.java ---
@@ -0,0 +1,31 @@
+package org.apache.gora.pig;
--- End diff
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222540948
--- Diff:
gora-compiler/src/main/java/org/apache/gora/compiler/GoraCompiler.java ---
@@ -86,6 +88,31 @@ public static void compileSchema(File[] srcFiles, File
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222541609
--- Diff:
gora-core/src/main/java/org/apache/gora/store/DataStoreFactory.java ---
@@ -251,6 +254,70 @@ D getDataStore( Class dataStoreClass, Class
keyClass,
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222543584
--- Diff: gora-pig/src/test/examples/example.pig ---
@@ -0,0 +1,4 @@
+set job.name 'GoraStorage test' ;
+register gora/*.jar ;
+webpage = LOAD '.'
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222543479
--- Diff: gora-pig/src/test/examples/example.pig ---
@@ -0,0 +1,4 @@
+set job.name 'GoraStorage test' ;
--- End diff --
License header if
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222543835
--- Diff: pom.xml ---
@@ -1546,6 +1553,40 @@
${orientqb.version}
+
+
+ org.apache.pig
+
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222543728
--- Diff: pom.xml ---
@@ -832,6 +833,12 @@
1.0.1
2.5
+
+0.16.0
+1.11-8
--- End diff --
Is this
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222542415
--- Diff:
gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java ---
@@ -734,14 +756,13 @@ private void setField(T persistent, Field field, List
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222543239
--- Diff:
gora-pig/src/main/java/org/apache/gora/pig/mapreduce/PigGoraOutputFormat.java
---
@@ -0,0 +1,86 @@
+package org.apache.gora.pig.mapreduce;
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222542669
--- Diff: gora-pig/pom.xml ---
@@ -0,0 +1,180 @@
+
+http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd;
+
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222541705
--- Diff:
gora-core/src/main/java/org/apache/gora/store/DataStoreFactory.java ---
@@ -412,7 +484,7 @@ public static String getMappingFile(Properties
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222541077
--- Diff:
gora-compiler/src/main/velocity/org/apache/gora/compiler/templates/record.vm ---
@@ -180,6 +180,11 @@ public class
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222543267
--- Diff: gora-pig/src/main/java/org/apache/gora/pig/udf/MapMerge.java ---
@@ -0,0 +1,33 @@
+package org.apache.gora.pig.udf;
--- End diff --
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222541967
--- Diff:
gora-core/src/main/java/org/apache/gora/store/DataStoreMetadataFactory.java ---
@@ -0,0 +1,93 @@
+/**
+ * Licensed to the Apache Software
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222542624
--- Diff: gora-pig/pom.xml ---
@@ -0,0 +1,180 @@
+
--- End diff --
License header.
---
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222540708
--- Diff: bin/compile-examples.sh ---
@@ -36,8 +36,57 @@ DIR=$GORA_HOME/$MODULE/src/examples/avro/
OUTDIR=$GORA_HOME/$MODULE/src/examples/java
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222543677
--- Diff: pom.xml ---
@@ -757,9 +758,9 @@
gora-maven-plugin
gora-mongodb
gora-solr
+gora-aerospike
--- End diff --
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/gora/pull/135#discussion_r222542504
--- Diff:
gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseTableMetadata.java ---
@@ -0,0 +1,27 @@
+package org.apache.gora.hbase.store;
---
40 matches
Mail list logo