spark-shell Questions

1

I am trying to run on of my scala file from spark-shell. This file calling some other jar files which have already been loaded into spark-context The problem is if something fails, it only prints...
Tver asked 6/5, 2020 at 14:7

2

Solved

The only two way I know to run Scala based spark code is to either compile a Scala program into a jar file and run it with spark-submit, or run a Scala script by using :load inside the spark-shell....
Whereat asked 21/2, 2020 at 15:23

4

Solved

I have a Scala program that I want to execute using Spark shell, now when I copy paste into spark shell it doesn't work, I have to copy line by line inside. How should I copy all the program insid...
Quintero asked 19/9, 2019 at 10:19

3

Need to execute the scala script through spark-shell with silent mode. When I am using spark-shell -i "file.scala", after the execution, I am getting into the scala interactive mode. I don't want t...
Honourable asked 28/8, 2019 at 7:10

2

How to run a Spark-shell with hive.exec.dynamic.partition.mode=nonstrict? I try (as suggested here) export SPARK_MAJOR_VERSION=2; spark-shell --conf "hive.exec.dynamic.partition.mode=nonstrict" ...
Nazarene asked 30/10, 2019 at 21:15

1

Solved

Day_Date,timeofday_desc,Timeofday_hour,Timeofday_minute,Timeofday_second,value 2017-12-18,12:21:02 AM,0,21,2,“1.779209040E+08” 2017-12-19,12:21:02 AM,0,21,2,“1.779209040E+08” 2017-12-20,12:30...
Claudetteclaudia asked 30/4, 2019 at 5:58

1

Solved

When I was trying to implement an algorithm in Graphx with Scala, I didn't find it possible to activate all the vertices in the next ietration.. How can I send a message to all my graph vertices? ...
Joaquinajoash asked 29/11, 2018 at 10:48

2

Solved

So i was trying to load the csv file inferring custom schema but everytime i end up with the following errors: Project_Bank.csv is not a Parquet file. expected magic number at tail [80, 65, 82, 49...
Devaney asked 22/5, 2017 at 19:3
1

© 2022 - 2024 — McMap. All rights reserved.