Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-3185

SPARK launch on Hadoop 2 in EC2 throws Tachyon exception when Formatting JOURNAL_FOLDER

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.0.2
    • None
    • EC2
    • None

    Description

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

      When I launch SPARK 1.0.2 on Hadoop 2 in a new EC2 cluster, the above tachyon exception is thrown when "Formatting JOURNAL_FOLDER".

      No exception occurs when I launch on Hadoop 1.

      Launch used:

      ./spark-ec2 -k spark_cluster -i /home/ec2-user/kagi/spark_cluster.ppk --zone=us-east-1a --hadoop-major-version=2 --spot-price=0.0165 -s 3 launch sparkProd
      
      ----log snippet----
      Formatting Tachyon Master @ ec2-54-80-49-244.compute-1.amazonaws.com
      Formatting JOURNAL_FOLDER: /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:246)
              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:54)
      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
      Killed 0 processes
      Killed 0 processes
      ec2-54-167-219-159.compute-1.amazonaws.com: Killed 0 processes
      ec2-54-198-198-17.compute-1.amazonaws.com: Killed 0 processes
      ec2-54-166-36-0.compute-1.amazonaws.com: Killed 0 processes
      ---end snippet---
      

      I don't have this problem when I launch without the "--hadoop-major-version=2" (which defaults to Hadoop 1.x).

      Attachments

        Activity

          People

            Unassigned Unassigned
            jeremy.chambers Jeremy Chambers
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: