Skip to content

Commit c61b48c

Browse files
committed
updated to avro tools 1.7.7
1 parent 5987fbd commit c61b48c

File tree

2 files changed

+27
-18
lines changed

2 files changed

+27
-18
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM dockerfile/java:oracle-java8
22
MAINTAINER coderfi@gmail.com
33

4-
ENV AVRO_VERSION 1.6.3
4+
ENV AVRO_VERSION 1.7.7
55
ENV AVRO_TOOLS_JAR /usr/share/java/avro-tools-${AVRO_VERSION}.jar
66

77
RUN mkdir -p /share \

README.md

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Avro Tools Docker
22
=================
33

4-
Docker around the [Avro Tool](http://avro.apache.org/docs/1.6.3).
4+
Docker around the [Avro Tool](http://avro.apache.org/docs/1.7.7).
55

66
Example - Get Help:
77

88
docker run --rm -v `pwd`:/share coderfi/avro-tools
99

10-
Version 1.6.3 of Apache Avro
10+
Version 1.7.7 of Apache Avro
1111
Copyright 2010 The Apache Software Foundation
1212

1313
This product includes software developed at
@@ -18,21 +18,30 @@ Example - Get Help:
1818
available from http://www.digip.org/jansson/.
1919
----------------
2020
Available tools:
21-
compile Generates Java code for the given schema.
22-
fragtojson Renders a binary-encoded Avro datum as JSON.
23-
fromjson Reads JSON records and writes an Avro data file.
24-
fromtext Imports a text file into an avro data file.
25-
getmeta Prints out the metadata of an Avro data file.
26-
getschema Prints out schema of an Avro data file.
27-
idl Generates a JSON schema from an Avro IDL file
28-
induce Induce schema/protocol from Java class/interface via reflection.
29-
jsontofrag Renders a JSON-encoded Avro datum as binary.
30-
recodec Alters the codec of a data file.
31-
rpcreceive Opens an RPC Server and listens for one message.
32-
rpcsend Sends a single RPC message.
33-
tether Run a tethered mapreduce job.
34-
tojson Dumps an Avro data file as JSON, one record per line.
35-
totext Converts an Avro data file to a text file.
21+
cat extracts samples from files
22+
compile Generates Java code for the given schema.
23+
concat Concatenates avro files without re-compressing.
24+
fragtojson Renders a binary-encoded Avro datum as JSON.
25+
fromjson Reads JSON records and writes an Avro data file.
26+
fromtext Imports a text file into an avro data file.
27+
getmeta Prints out the metadata of an Avro data file.
28+
getschema Prints out schema of an Avro data file.
29+
idl Generates a JSON schema from an Avro IDL file
30+
idl2schemata Extract JSON schemata of the types from an Avro IDL file
31+
induce Induce schema/protocol from Java class/interface via reflection.
32+
jsontofrag Renders a JSON-encoded Avro datum as binary.
33+
random Creates a file with randomly generated instances of a schema.
34+
recodec Alters the codec of a data file.
35+
rpcprotocol Output the protocol of a RPC service
36+
rpcreceive Opens an RPC Server and listens for one message.
37+
rpcsend Sends a single RPC message.
38+
tether Run a tethered mapreduce job.
39+
tojson Dumps an Avro data file as JSON, record per line or pretty.
40+
totext Converts an Avro data file to a text file.
41+
totrevni Converts an Avro data file to a Trevni file.
42+
trevni_meta Dumps a Trevni file's metadata as JSON.
43+
trevni_random Create a Trevni file filled with random instances of a schema.
44+
trevni_tojson Dumps a Trevni file as JSON.
3645

3746
Example - Run the `idl` tool on `test.avdl`, outputting to STDOUT:
3847

0 commit comments

Comments
 (0)