• 运行 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

  • 相关阅读:
    NumPy 基本语法汇总
    python自动化操作——excel刷新数据并截图发送微信
    datefram学习(持续更新)
    python——imap邮件自动下载附件和邮件正文
    ERP笔记1系统环境
    ERP笔记2善用SVN对系统环境进行配置和组织
    ERP笔记4SVN目录的权限分配
    ERP笔记3数据库的版本化
    DBCC CHECKCATALOG 错误
    非常棒的放礼花的源程序
  • 原文地址:https://www.cnblogs.com/simly/p/11527238.html
Copyright © 2020-2023  润新知