Set the address of the Spark service in the format of spark://+
(3) –executor-memory 10G
Allocates the memory, this attribute each worker will assign 10G, according to the actual situation assigns
(4) –total-executor-cores 10
Allocate running CPU cores, no more than the total number of cores
(5) Fielname
To run the file, relative path or absolute path can be, if it is a Python file must be able to run in the command line environment, requirment and package environment to be satisfied with the line, I generally is the project package to write a good setup.py first compiled in the Run the main program
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.