Created
May 25, 2014 23:28
-
-
Save drazzib/263da2ec0dc46afac0d0 to your computer and use it in GitHub Desktop.
Gora 0.4 generate invalid Java code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$> ./bin/gora goracompiler record_with_bytes.avsc test/ | |
Compiling: /home/drazzib/incoming/apache-gora-0.4/record_with_bytes.avsc | |
Compiled into: /home/drazzib/incoming/apache-gora-0.4/test | |
Compiler executed SUCCESSFULL. | |
$> find test/ -name *.java | xargs javac -cp gora-core/target/classes/:gora-core/lib/avro-1.7.4.jar:gora-core/lib/jackson-core-asl-1.6.9.jar -d test/ | |
test/com/drazzib/com/RecordWityBytes.java:92: error: cannot find symbol | |
this.type = deepCopyToReadOnlyBuffer(value); | |
^ | |
symbol: method deepCopyToReadOnlyBuffer(ByteBuffer) | |
location: class RecordWityBytes | |
1 error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "RecordWityBytes", | |
"namespace": "com.drazzib.com", | |
"type": "record", | |
"fields": [ | |
{ | |
"name": "type", | |
"type": { | |
"name": "MyData", | |
"type": "bytes" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment