Skip to content

Commit

Permalink
AVRO-2557: Fix Java example user.avsc file address error (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeshuai007 authored and blachniet committed Sep 29, 2019
1 parent ea1ee73 commit 410b00a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

public class GenericMain {
public static void main(String[] args) throws IOException {
Schema schema = new Parser().parse(new File("/home/skye/code/cloudera/avro/doc/examples/user.avsc"));
Schema schema = new Parser().parse(new File("./../user.avsc"));

GenericRecord user1 = new GenericData.Record(schema);
user1.put("name", "Alyssa");
Expand Down

0 comments on commit 410b00a

Please sign in to comment.