Hi,
I'm exploring the human-readable avro options in the avro-tools jar, namely
`tojson` and `totext`.
`tojson` works fine, but I try `totext` with:
`$ java -jar avro-tools-1.7.6.jar totext twitter.avro twitter.txt`,
then twitter.txt is empty and I get this error:
Jul 13, 2014 8:41:19 PM org.apache.hadoop.util.NativeCodeLoader <clinit>
WARNING: Unable to load native-hadoop library for your platform... using
builtin-java classes where applicable
Avro file is not generic text schema
What am I doing wrong?
Thanks for looking,
-Julian
PS (Looking into the source, it looks like this error is thrown when the
schema in the datafile is not equal to the string "\"bytes"\", but I have a
hard time understanding why the datafile's schema would ever be that.)
I'm exploring the human-readable avro options in the avro-tools jar, namely
`tojson` and `totext`.
`tojson` works fine, but I try `totext` with:
`$ java -jar avro-tools-1.7.6.jar totext twitter.avro twitter.txt`,
then twitter.txt is empty and I get this error:
Jul 13, 2014 8:41:19 PM org.apache.hadoop.util.NativeCodeLoader <clinit>
WARNING: Unable to load native-hadoop library for your platform... using
builtin-java classes where applicable
Avro file is not generic text schema
What am I doing wrong?
Thanks for looking,
-Julian
PS (Looking into the source, it looks like this error is thrown when the
schema in the datafile is not equal to the string "\"bytes"\", but I have a
hard time understanding why the datafile's schema would ever be that.)