Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-12720

Spark streaming pipeline fails on the MapR 5.2 cluster.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 4.3.1
    • Fix Version/s: None
    • Component/s: Pipelines, Spark
    • Labels:
      None
    • Rank:
      1|i008mv:

      Description

      Spark streaming pipeline fails on the MapR 5.2 with following exception

      Caused by: java.lang.NoSuchMethodError: scala.collection.immutable.$colon$colon.hd$1()Ljava/lang/Object;
      	at org.apache.spark.deploy.yarn.ClientArguments.parseArgs(ClientArguments.scala:141) ~[na:na]
      	at org.apache.spark.deploy.yarn.ClientArguments.<init>(ClientArguments.scala:58) ~[na:na]
      	at org.apache.spark.deploy.yarn.Client$.main(Client.scala:1076) ~[na:na]
      	at org.apache.spark.deploy.yarn.Client.main(Client.scala) ~[na:na]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75]
      	at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75]
      

      Spark version on the cluster is 1.6.1 and scala version is 2.10

      However it appears that the scala 2.11 gets picked up which is coming from hbase

      [root@mapr-test-release28310-1000 container_1507748806881_0010_01_000002]# find / -name scala-library-2.11.8.jar
      /data/mapr/hbase/hbase-1.1.8/lib/scala-library-2.11.8.jar
      

      which is causing streaming pipelines to fail.

        Attachments

          Activity

            People

            • Assignee:
              sagar Sagar Kapare
              Reporter:
              sagar Sagar Kapare
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: