1 | ./dev/make-distribution.sh --name "hadoop2-without-hive" --tgz "-Pyarn,hadoop-provided,hadoop-2.7,parquet-provided,orc-provided,-Pflume,-Pkubernetes" |
1 | !/usr/bin/env bash |
mvn
1 | Determine the current working directory |
shell变量分为global和local两种。
global默认作用域为整个脚本,除非显式删除。
local作用域为函数内部,且在同名时优先。
curl和wget均可用于访问网页内容,但curl可以自定义请求参数等,擅长模拟浏览器活动;而wget支持ftp和Recursive,擅长文件下载。
stop-yarn.sh
1 | !/usr/bin/env bash |
start-master.sh
1 | Starts the master on the machine this script is executed on. |
spark-daemon.sh
1 | !/usr/bin/env bash |