Member since
07-02-2019
3
Posts
0
Kudos Received
0
Solutions
08-20-2019
04:52 AM
Thank you Benjamin.. This has fixed the issue. I would take a note on upgrade point. thanks Romesh
... View more
08-20-2019
02:19 AM
Thank you .... this has not been setup by that command. [root@sxd-cdh-nn sbin]# /usr/sbin/alternatives --set spark-submit "/opt/cloudera/parcels/SPARK2-2.2.0.cloudera1-1.cdh5.12.0.p0.142354/bin/spark2-submit" /opt/cloudera/parcels/SPARK2-2.2.0.cloudera1-1.cdh5.12.0.p0.142354/bin/spark2-submit has not been configured as an alternative for spark-submit [root@sxd-cdh-nn sbin]# /usr/sbin/alternatives --display spark-submit spark-submit - status is auto. link currently points to /opt/cloudera/parcels/CDH-6.1.1-1.cdh6.1.1.p0.875250/bin/spark-submit /opt/cloudera/parcels/CDH-6.1.1-1.cdh6.1.1.p0.875250/bin/spark-submit - priority 10 Current `best' version is /opt/cloudera/parcels/CDH-6.1.1-1.cdh6.1.1.p0.875250/bin/spark-submit. [root@sxd-cdh-nn sbin]# /usr/sbin/alternatives --display spark2-submit spark2-submit - status is auto. link currently points to /opt/cloudera/parcels/SPARK2-2.2.0.cloudera1-1.cdh5.12.0.p0.142354/bin/spark2-submit /opt/cloudera/parcels/SPARK2-2.2.0.cloudera1-1.cdh5.12.0.p0.142354/bin/spark2-submit - priority 10 Current `best' version is /opt/cloudera/parcels/SPARK2-2.2.0.cloudera1-1.cdh5.12.0.p0.142354/bin/spark2-submit. [root@sxd-cdh-nn sbin]# we did not pre-configured Spark2 while installing CDH and now we have installed spark 2.2 via parcels method. thanks Romesh
... View more
08-20-2019
01:06 AM
[root@sxd-cdh-nn parcels]# spark-submit --version Welcome to ____ __ / __/__ ___ _____/ /__ _\ \/ _ \/ _ `/ __/ '_/ /___/ .__/\_,_/_/ /_/\_\ version 2.4.0-cdh6.1.1 /_/ Using Scala version 2.11.12, Java HotSpot(TM) 64-Bit Server VM, 1.8.0_201 Branch HEAD Compiled by user jenkins on 2019-02-08T07:10:49Z Revision HEAD Url Type --help for more information.
we have on top of this installed spark2 with 2.2
[root@sxd-cdh-nn parcels]# spark2-submit --version Welcome to ____ __ / __/__ ___ _____/ /__ _\ \/ _ \/ _ `/ __/ '_/ /___/ .__/\_,_/_/ /_/\_\ version 2.2.0.cloudera1 /_/ Using Scala version 2.11.8, Java HotSpot(TM) 64-Bit Server VM, 1.8.0_201 Branch HEAD Compiled by user jenkins on 2017-07-13T00:28:58Z Revision 39f5a2b89d29d5d420d88ce15c8c55e2b45aeb2e Url git://github.mtv.cloudera.com/CDH/spark.git Type --help for more information.
Could you please let me know how to uninstall spark-submit --version to 2.4?
we only want spark2 with 2.2 version
thanks
Romesh
... View more
Labels:
- Labels:
-
Apache Spark