org.apache.hadoop.ipc.RemoteException: Server IPC version 7 cannot communicate with client version 4

JIRA | Haoyuan Li [Administrator] | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    From Shivaram: I launched a Hadoop2 spark-ec2 cluster from the master branch and ran into the following error. Doesn't affect me as I am not using Tachyon right now, but would be good to fix. Command used: ./spark-ec2 -s 4 -i ~/.ssh/id_rsa -k lenovo-pub -t m1.xlarge -z us-east-1a --spot-price 0.40 launch sparkr-mnist-bench --hadoop-major-version=2 Error trace: Formatting Tachyon @ ec2-54-196-242-170.compute-1.amazonaws.com Deleting /root/tachyon/libexec/../journal/ Exception in thread "main" java.lang.RuntimeException: org.apache.hadoop.ipc.RemoteException: Server IPC version 7 cannot communicate with client version 4 at tachyon.util.CommonUtils.runtimeException(CommonUtils.java:247) at tachyon.UnderFileSystemHdfs.<init>(UnderFileSystemHdfs.java:73) at tachyon.UnderFileSystemHdfs.getClient(UnderFileSystemHdfs.java:53) at tachyon.UnderFileSystem.get(UnderFileSystem.java:53) at tachyon.Format.main(Format.java:47) Caused by: org.apache.hadoop.ipc.RemoteException: Server IPC version 7 cannot communicate with client version 4 at org.apache.hadoop.ipc.Client.call(Client.java:1070) at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225) at com.sun.proxy.$Proxy1.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:119) at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:238) at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:203) at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:89) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1386) at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1404) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:254) at org.apache.hadoop.fs.Path.getFileSystem(Path.java:187) at tachyon.UnderFileSystemHdfs.<init>(UnderFileSystemHdfs.java:69) ... 3 more

    JIRA | 3 years ago | Haoyuan Li [Administrator]
    org.apache.hadoop.ipc.RemoteException: Server IPC version 7 cannot communicate with client version 4
  2. 0

    From Shivaram: I launched a Hadoop2 spark-ec2 cluster from the master branch and ran into the following error. Doesn't affect me as I am not using Tachyon right now, but would be good to fix. Command used: ./spark-ec2 -s 4 -i ~/.ssh/id_rsa -k lenovo-pub -t m1.xlarge -z us-east-1a --spot-price 0.40 launch sparkr-mnist-bench --hadoop-major-version=2 Error trace: Formatting Tachyon @ ec2-54-196-242-170.compute-1.amazonaws.com Deleting /root/tachyon/libexec/../journal/ Exception in thread "main" java.lang.RuntimeException: org.apache.hadoop.ipc.RemoteException: Server IPC version 7 cannot communicate with client version 4 at tachyon.util.CommonUtils.runtimeException(CommonUtils.java:247) at tachyon.UnderFileSystemHdfs.<init>(UnderFileSystemHdfs.java:73) at tachyon.UnderFileSystemHdfs.getClient(UnderFileSystemHdfs.java:53) at tachyon.UnderFileSystem.get(UnderFileSystem.java:53) at tachyon.Format.main(Format.java:47) Caused by: org.apache.hadoop.ipc.RemoteException: Server IPC version 7 cannot communicate with client version 4 at org.apache.hadoop.ipc.Client.call(Client.java:1070) at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225) at com.sun.proxy.$Proxy1.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:119) at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:238) at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:203) at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:89) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1386) at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1404) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:254) at org.apache.hadoop.fs.Path.getFileSystem(Path.java:187) at tachyon.UnderFileSystemHdfs.<init>(UnderFileSystemHdfs.java:69) ... 3 more

    JIRA | 3 years ago | Haoyuan Li [Administrator]
    org.apache.hadoop.ipc.RemoteException: Server IPC version 7 cannot communicate with client version 4
  3. 0

    spark-ec2 and Tachyon hadoop version disparity

    Stack Overflow | 2 years ago | user3684014
    java.lang.RuntimeException: org.apache.hadoop.ipc.RemoteException: Server IPC version 7 cannot communicate with client version 4
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    tachyon0.8.2 deployed with hadoop2.6.0,but the IPC version are not matched

    Stack Overflow | 1 year ago | Inner Ac
    org.apache.hadoop.ipc.RemoteException: Server IPC version 9 cannot communicate with client version 4
  6. 0

    Tachyon 0.5.0 - Standalone (Works Fine) vs Cluster (Some Issue)

    Google Groups | 1 year ago | Naga Vijay
    org.apache.hadoop.ipc.RemoteException: Server IPC version 9 cannot communicate with client version 4

    11 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.hadoop.ipc.RemoteException

      Server IPC version 7 cannot communicate with client version 4

      at org.apache.hadoop.ipc.Client.call()
    2. Hadoop
      RPC$Invoker.invoke
      1. org.apache.hadoop.ipc.Client.call(Client.java:1070)
      2. org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225)
      2 frames
    3. com.sun.proxy
      $Proxy1.getProtocolVersion
      1. com.sun.proxy.$Proxy1.getProtocolVersion(Unknown Source)
      1 frame
    4. Hadoop
      RPC.getProxy
      1. org.apache.hadoop.ipc.RPC.getProxy(RPC.java:396)
      2. org.apache.hadoop.ipc.RPC.getProxy(RPC.java:379)
      2 frames
    5. Apache Hadoop HDFS
      DistributedFileSystem.initialize
      1. org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:119)
      2. org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:238)
      3. org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:203)
      4. org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:89)
      4 frames
    6. Hadoop
      Path.getFileSystem
      1. org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1386)
      2. org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
      3. org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1404)
      4. org.apache.hadoop.fs.FileSystem.get(FileSystem.java:254)
      5. org.apache.hadoop.fs.Path.getFileSystem(Path.java:187)
      5 frames
    7. Tachyon Project Core
      Format.main
      1. tachyon.UnderFileSystemHdfs.<init>(UnderFileSystemHdfs.java:69)
      2. tachyon.UnderFileSystemHdfs.getClient(UnderFileSystemHdfs.java:53)
      3. tachyon.UnderFileSystem.get(UnderFileSystem.java:53)
      4. tachyon.Format.main(Format.java:47)
      4 frames