First of all, you have to make sure that you use this command correctly,
Usage: start-slave.sh <worker#> <spark-master-URL>
where <worker#>is the work number that you want to run on the computer on which this script is running.
<spark-master-URL>looks likespark://localhost:7077
source
share