• 运行 jar


    rz
    rm -rf incoHive.jar
    >>spark-submit --queue=mr --class com.inco.hive.CNlawTOxml.Lge_SparkRead --master yarn --num-executors 10 --executor-memory 10g --total-executor-cores 100 --jars /opt/exlib/source-1.0.jar /home/liyingying/incoHive.jar

    >>nohup spark-submit --queue=mr --class com.inco.hive.CNlawTOxml.Lge_SparkRead --master yarn --num-executors 10 --executor-memory 10g --total-executor-cores 100 --jars /opt/exlib/source-1.0.jar /home/liyingying/incoHive.jar &

    --2.11
    >>nohup spark-submit --queue=mr --class com.inco.hive.CNlawTOxml.Lge_ReadNew --master yarn --num-executors 10 --executor-memory 10g --total-executor-cores 100 --jars /opt/exlib/source-1.0.jar /home/liyingying/incoHive.jar dim.pn_an_lawmid 中文XML生成 &

    //top
    >>
    nohup spark-submit --queue=mr --class com.inco.hive.CNlawTOxml.Lge_ReadNew --master yarn --num-executors 20 --conf spark.driver.maxResultSize=1024m --conf spark.yarn.executor.memoryOverhead=10g --executor-memory 10g --driver-memory 15g --jars /opt/exlib/source-1.0.jar /home/liyingying/incoHive.jar dim.pn_an_lawflag_id30_45 中文XML生成 &


    nohup spark-submit --queue=mr --class com.inco.hive.CNlawTOxml.Lge_oritype --master yarn --num-executors 10 --conf spark.driver.maxResultSize=1024m --conf spark.yarn.executor.memoryOverhead=10g --executor-memory 10g --driver-memory 15g --jars /opt/exlib/source-1.0.jar /home/liyingying/jarr/incoHive.jar dim.pn_an_law 中文XML生成 /home/liyingying/xml/Lawxml0906 &
    --pn_an_lawmid

    nohup spark-submit --queue=mr --class com.inco.hive.abxml.MySpark_Read --master yarn --num-executors 10 --executor-memory 10g --total-executor-cores 100 --jars /opt/exlib/source-1.0.jar /home/liyingying/incoHive.jar ods.abxml_lyytest &

    //清空
    echo "" > nohup.out
    //执行
    >>nohup
    >>tail -1000f nohup.out

    //进入到某个目录下
    >>cd /home/liyingying/xml/test
    //删除某个目录下的文件
    >>rm -rf /home/liyingying/xml/test0903/*

    后台进程:ps -ef | grep Lge
    杀死:kill -9 43884

  • 相关阅读:
    开工--行胜于言
    操作系统之内存管理
    C陷阱与缺陷读书笔记(一)
    关于复杂度的一些基本的定义
    归并排序
    快速排序
    前序中序后序非递归遍历
    直接插入排序
    冒泡排序
    程序内存映像
  • 原文地址:https://www.cnblogs.com/simly/p/11527238.html
Copyright © 2020-2023  润新知