flume,应用,spark,redis等五分钟快照启动脚本

flume,应用,spark,redis等五分钟快照启动脚本,留存此处,以备他用!

#vim /usr/local/script/startAll.sh
echo "正在开启flume"
nohup flume-ng agent --conf-file  /usr/local/apache-flume-1.7.0-bin/conf/flume-conf-test-1.properties -c conf/ --name agent -Dflume.root.logger=DEBUG,console &
echo "已经开启flume"

echo "正在开启productXDR"
nohup sh /usr/local/data/xdr/productXDR.sh 1000 &
echo "已经开启"

echo "正在开启spark"
nohup spark-submit  --class com.AAAAAAnil.nile.core.mintaka.records.analytics.job.CustomerflowSparkStreamingMapReduceJob  --master yarn-cluster  --name CustomerflowSparkStreamingMapReduceJob  --driver-memory 2g --executor-memory 6g  --num-executors 3  --executor-cores 3 /root/nile-core-mintaka/mintaka-customerflow.jar test2-spark-streaming-customerflow-job-2min100.xml &
echo "已经开启"

echo "正在开启redis"
nohup sh /usr/local/script/getKeysShell/fetchRecord.sh &

你可能感兴趣的:(flume,#,shell,#,spark,flume,应用,spark,redis等五分钟快照启动脚本)