- 运行exmaple中示例错误1:
Exception in thread "main" org.apache.spark.SparkException: A master URL must be set in your configuration
VM options启动参数增加:
-Dspark.master=local
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if ! [ $# -eq 1 ]; then | |
echo "Usage: $0 <node-name>" | |
exit 1 | |
fi | |
# Directory where everything happens | |
DIR=~/work/virt-install | |
# The image downloaded from the http://fedoraproject.org/en/get-fedora#clouds site |