avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandor Kollar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1991) Java concat tool -appendToFirst option doesn't work with local filesystem
Date Thu, 29 Jun 2017 13:34:00 GMT

    [ https://issues.apache.org/jira/browse/AVRO-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16068341#comment-16068341
] 

Nandor Kollar commented on AVRO-1991:
-------------------------------------

[~busbey] I think I just found a reference to this feature! Here it is: AVRO-1856. It seems
it is still an open item waiting for review.

> Java concat tool -appendToFirst option doesn't work with local filesystem
> -------------------------------------------------------------------------
>
>                 Key: AVRO-1991
>                 URL: https://issues.apache.org/jira/browse/AVRO-1991
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.9.0
>            Reporter: Sean Busbey
>
> We should either make it work (e.g. by switching to RawLocalFilesytem instead of LocalFileSystem)
or update the cli help.
> {code}
>  java -jar lang/java/tools/target/avro-tools-1.9.0-SNAPSHOT.jar concat -appendToFirst
~/Downloads/append.0.avro '/Users/busbey/Downloads/example.*.avro'
> log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> Exception in thread "main" java.io.IOException: Not supported
> 	at org.apache.hadoop.fs.ChecksumFileSystem.append(ChecksumFileSystem.java:352)
> 	at org.apache.hadoop.fs.FileSystem.append(FileSystem.java:1161)
> 	at org.apache.avro.tool.Util.createFromFS(Util.java:150)
> 	at org.apache.avro.tool.Util.fileOrStdout(Util.java:76)
> 	at org.apache.avro.tool.ConcatTool.run(ConcatTool.java:76)
> 	at org.apache.avro.tool.Main.run(Main.java:87)
> 	at org.apache.avro.tool.Main.main(Main.java:76)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message