博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
spark执行命令 监控执行命令
阅读量:5985 次
发布时间:2019-06-20

本文共 2725 字,大约阅读时间需要 9 分钟。

#!/bin/bash#/usr/hdp/current/flume-server/bin/flume-ng agent -c conf/ -f /usr/hdp/current/flume-server/Cold_TestConf/spooldircsv1.conf -n a1 -Dflume.root.logger=WARN,console 2>&1 & #sleep 1#/usr/hdp/current/flume-server/bin/flume-ng agent -c conf/ -f /usr/hdp/current/flume-server/Cold_TestConf/spooldircsv3.conf -n a1 -Dflume.root.logger=WARN,console 2>&1 &#sleep 1#/usr/hdp/current/spark2-client/bin/spark-submit --class cold_test.realTimeEtl.application.RealtimeEtl --master yarn --deploy-mode client --queue streaming --driver-memory 4g --num-executors 10 --executor-memory 2g --executor-cores 1 --driver-java-options="-Djava.security.auth.login.config=/home/a133_a_daaas005/guo_test/jaas.conf" --conf "spark.executor.extraJavaOptions=-Djava.security.auth.login.config=/home/a133_a_daaas005/guo_test/jaas.conf" --jars /usr/hdp/current/spark2-client/jars/ojdbc6.jar,/usr/hdp/current/spark2-client/jars/config-1.3.1.jar /home/a133_a_daaas005/guo_test/Cold_Test_RealTimeETLCsv1-1.0-SNAPSHOT.jar &#/usr/hdp/current/spark2-client/bin/spark-submit --class app.Cold_test_Csv3 --master local[*] --driver-memory 8g --num-executors 8 --executor-memory 2g --executor-cores 1 --driver-java-options="-Djava.security.auth.login.config=/home/a133_a_daaas005/guo_test/jaas.conf" --conf "spark.executor.extraJavaOptions=-Djava.security.auth.login.config=/home/a133_a_daaas005/guo_test/jaas.conf" --jars /usr/hdp/current/spark2-client/jars/ojdbc6.jar,/usr/hdp/current/spark2-client/jars/config-1.3.1.jar /home/a133_a_daaas005/guo_test/WORKTEST-1.0-OFFICIA.jar#FlumeStartShell     /usr/hdp/current/flume-serverbin/flume-ng agent -c conf/ -f /usr/hdp/current/flume-server/Cold_TestConf/spooldircsv1.conf -n a1 -Dflume.root.logger=WARN,console >>./ColdTestFlume/run.log 2>&1 &#SparkStreamingStartShell    /home/a133_a_daaas005/guo_test/usr/hdp/current/spark2-client/bin/spark-submit --class cold_test.realTimeEtl.application.RealtimeEtl --master yarn --deploy-mode client --queue ETL --driver-memory 10g --num-executors 30 --executor-memory 2g --executor-cores 1 --driver-java-options="-Djava.security.auth.login.config=jaas.conf" --conf "spark.executor.extraJavaOptions=-Djava.security.auth.login.config=jaas.conf" --files "./jaas.conf#jaas.conf,./kafka.service.keytab#kafka.service.keytab" --jars /usr/hdp/current/spark2-client/jars/ojdbc6.jar,/usr/hdp/current/spark2-client/jars/config-1.3.1.jar /home/a133_a_daaas005/guo_test/Cold_Test_RealTimeETLCsv1-1.0-SNAPSHOT.jar#MointorStartShell    source activate rmfile       /data/landing_zone/BBAC/Cold_Test/script/java -classpath Cold_Test.MonitorFileAndPutOracle-1.0-SNAPSHOT.jar cold_test.application.MonitorFile >>monitorrun.log 2>&1 &

 

转载于:https://www.cnblogs.com/Bread-Wang/p/9929034.html

你可能感兴趣的文章
商业模式中问题描述的重要性
查看>>
Cling旨在提供一款高性能的C++ REPL
查看>>
Linus 发文宣布Linux Kernel 5.0 正式发布
查看>>
不仅仅是手机,MWC现全球首例 5G NR 商用部署
查看>>
AWS再迎大师加盟:Java之父James Gosling决定效力
查看>>
Spark、Flink、CarbonData技术实践最佳案例解析
查看>>
Jenkins集成Docker镜像实现自动发布
查看>>
Java MVC 1.0规范开始进入公开评审阶段
查看>>
RPC框架的可靠性设计
查看>>
数人云工程师手记 | 双剑合璧,分布式部署两步走
查看>>
workerman 简要分析
查看>>
(翻译) MongoDB(14) 在 Debian 上安装MongoDB社区版
查看>>
MAT(java 内存分析工具简单使用)
查看>>
Git如何检出指定目录或文件
查看>>
WeX5中input拍照上传图片方法分享,可单图与多图
查看>>
android servicemanager与binder源码分析二 ------ servicemanager服务提供者
查看>>
React Router中NamedComponent与Params使用
查看>>
href的那些事
查看>>
RecyclerView中Adapter和ViewHolder的封装
查看>>
xcache 源码包编译安装
查看>>