avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sudhir Ranjan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-1451) Gett
Date Mon, 03 Feb 2014 13:16:09 GMT
Sudhir Ranjan created AVRO-1451:
-----------------------------------

             Summary: Gett
                 Key: AVRO-1451
                 URL: https://issues.apache.org/jira/browse/AVRO-1451
             Project: Avro
          Issue Type: Bug
          Components: java
    Affects Versions: 1.7.4
         Environment: avro-tools-1.7.4.jar
Hadoop 0.20.2-cdh3u5
java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
            Reporter: Sudhir Ranjan


java -jar ~/Documents/sudhir/AvroAnalysis/Avrojars/avro-tools-1.7.4.jar  totext hdfs://localhost:9000/home/hadoop/avro/part-m-00000.avro
hdfs://localhost:9000/home/hadoop/avroToText

Getting following exception :

Exception in thread "main" org.apache.hadoop.ipc.RPC$VersionMismatch: Protocol org.apache.hadoop.hdfs.protocol.ClientProtocol
version mismatch. (client = 61, server = 63)
	at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:401)
	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.ToTextTool.run(ToTextTool.java:63)
	at org.apache.avro.tool.Main.run(Main.java:84)
	at org.apache.avro.tool.Main.main(Main.java:73)


Please suggest the resolution.
Thanks,




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message