avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-1453) Release version of avro-tools compiled against hadoop2
Date Tue, 07 Jul 2015 10:32:04 GMT

     [ https://issues.apache.org/jira/browse/AVRO-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tom White updated AVRO-1453:
----------------------------
    Resolution: Duplicate
      Assignee:     (was: Doug Cutting)
        Status: Resolved  (was: Patch Available)

Fixed by AVRO-1586.

> Release version of avro-tools compiled against hadoop2
> ------------------------------------------------------
>
>                 Key: AVRO-1453
>                 URL: https://issues.apache.org/jira/browse/AVRO-1453
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.7.6
>         Environment: CDH4.4.0
>            Reporter: Andrew Ash
>             Fix For: 1.7.8
>
>         Attachments: AVRO-1453.patch
>
>
> When attempting to use avro-tools-1.7.6.jar against my CDH4.4.0 cluster I get this error:
> {code}
> Feb 06, 2014 9:57:13 PM org.apache.hadoop.util.NativeCodeLoader <clinit>
> WARNING: Unable to load native-hadoop library for your platform... using builtin-java
classes where applicable
> Exception in thread "main" org.apache.hadoop.ipc.RemoteException: Server IPC version
7 cannot communicate with client version 4
>         at org.apache.hadoop.ipc.Client.call(Client.java:1066)
>         at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225)
>         at com.sun.proxy.$Proxy6.getProtocolVersion(Unknown Source)
>         at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:396)
>         at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:379)
>         at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:118)
>         at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:222)
>         at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:187)
>         at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:89)
>         at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1328)
>         at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:65)
>         at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1346)
>         at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:244)
>         at org.apache.hadoop.fs.Path.getFileSystem(Path.java:187)
>         at org.apache.avro.tool.Util.openFromFS(Util.java:88)
>         at org.apache.avro.tool.Util.fileOrStdin(Util.java:60)
>         at org.apache.avro.tool.ConcatTool.run(ConcatTool.java:69)
>         at org.apache.avro.tool.Main.run(Main.java:84)
>         at org.apache.avro.tool.Main.main(Main.java:73)
> {code}
> I believe that the version released on maven is compiled against hadoop 1, and I'm running
hadoop 2.  Can we release a version that's compiled against hadoop2?
> https://search.maven.org/#artifactdetails%7Corg.apache.avro%7Cavro-tools%7C1.7.6%7Cjar
> Thanks!
> Andrew



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message