zoukankan      html  css  js  c++  java
  • 运行 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

  • 相关阅读:
    质量标准
    期权只是一张纸而已,但它的背后是心机
    Spring注解 @Resource和@Autowired
    Java7新语法 -try-with-resources
    Spring中Bean的命名问题及ref和idref之间的区别
    mybatis注解详解
    jquery ajax局部加载方法介绍
    SpringMVC批量上传
    【uploadify3.1使用二】批量文件、图片上传
    IE浏览器上传文件时本地路径变成”C:fakepath”的问题
  • 原文地址:https://www.cnblogs.com/simly/p/11527238.html
Copyright © 2011-2022 走看看