Yarn常用命令总结

1>.查看任务列表

[root@storage101 ~]# yarn application -list
19/02/08 11:51:02 INFO client.RMProxy: Connecting to ResourceManager at storage101.aggrx/10.1.3.101:8032
Total number of applications (application-types: [] and states: [SUBMITTED, ACCEPTED, RUNNING]):2
Application-Id Application-Name Application-Type User Queue State Final-State Progress Tracking-URL
application_1549585395672_0005 com.sarrs.streaming.BlackUserStreamingNew5 SPARK root root.users.root RUNNING UNDEFINED 10% http://10.1.3.113:36517
application_1549585395672_0006 doc_join_mapreduce MAPREDUCE root root.users.root ACCEPTED UNDEFINED 0% N/A
[root@storage101 ~]#

[root@storage101 ~]# yarn application -list

[root@storage101 ~]# yarn application -list -appStates ALL
19/02/08 12:08:22 INFO client.RMProxy: Connecting to ResourceManager at storage101.aggrx/10.1.3.101:8032
Total number of applications (application-types: [] and states: [NEW, NEW_SAVING, SUBMITTED, ACCEPTED, RUNNING, FINISHED, FAILED, KILLED]):6
Application-Id Application-Name Application-Type User Queue State Final-State Progress Tracking-URL
application_1549585395672_0001 com.sarrs.streaming.BlackUserStreamingNew5 SPARK root root.users.root KILLED KILLED 100% http://storage101.aggrx:8088/cluster/app/application_1549585395672_0001
application_1549585395672_0002 doc_join_mapreduce MAPREDUCE root root.users.root FINISHED SUCCEEDED 100% http://storage101.aggrx:19888/jobhistory/job/job_1549585395672_0002
application_1549585395672_0005 com.sarrs.streaming.BlackUserStreamingNew5 SPARK root root.users.root RUNNING UNDEFINED 10% http://10.1.3.113:36517
application_1549585395672_0006 doc_join_mapreduce MAPREDUCE root root.users.root ACCEPTED UNDEFINED 0% N/A
application_1549585395672_0003 com.sarrs.streaming.BlackUserStreamingNew5 SPARK root root.users.root FINISHED SUCCEEDED 100% http://storage101.aggrx:18088/history/application_1549585395672_0003/1
application_1549585395672_0004 doc_join_mapreduce MAPREDUCE root root.users.root FINISHED SUCCEEDED 100% http://storage101.aggrx:19888/jobhistory/job/job_1549585395672_0004
[root@storage101 ~]#

[root@storage101 ~]# yarn application -list -appStates ALL

2>.查看yarn的日志

3>.

未完待续.....

Yarn常用命令总结的更多相关文章

  1. npm与yarn常用命令对比

    最近在用yarn,但是命令老是记不住,在此记录,方便日后翻看 图片截取自:http://yuanhehe.cn/2017/06/11/npm-%E4%B8%8E-Yarn-%E5%B8%B8%E7%9 ...

  2. yarn 常用命令(基于vue框架)

    初始化项目 yarn add init 安装vue yarn add vue 安装webpack,webpack-dev-server(是一个小型的Node.js Express服务器) yarn a ...

  3. yarn 常用命令

    1.安装 yarn npm install yarn -g 2.卸载yarn npm uninstall yarn -g

  4. 一图一知-NPM&YARN常用命令

  5. [sqoop1.99.7] sqoop入门-下载、安装、运行和常用命令

    一.简介 Apache Sqoop is a tool designed for efficiently transferring data betweeen structured, semi-str ...

  6. npm常用命令及版本号浅析

    npm 包管理器的常用命令 测试环境为node>=8.1.3&&npm>=5.0.3 1, 首先是安装命令 //全局安装 npm install 模块名 -g //本地安装 ...

  7. Hadoop学习之路(七)Hadoop集群shell常用命令

    Hadoop常用命令 启动HDFS集群 [hadoop@hadoop1 ~]$ start-dfs.sh Starting namenodes on [hadoop1] hadoop1: starti ...

  8. ReactNative常用命令

    常用命令整理备忘 创建项目: react-native init myProject 安装RN初始化命令: yarn add react-native-cli 引用组件: npm install re ...

  9. hadoop伪分布模式的配置和一些常用命令

    大数据的发展历史 3V:volume.velocity.variety(结构化和非结构化数据).value(价值密度低) 大数据带来的技术挑战 存储容量不断增加 获取有价值的信息的难度:搜索.广告.推 ...

随机推荐

  1. Ubuntu16.04系统美化、常用软件安装等,长期更新

    Ubuntu16.04系统美化.常用软件安装等,长期更新 IT之家啊 18-09-0915:00 因为我个人偏向于玩VPS.服务器之类的东西,所以一般我都是用CentOS.不过对于桌面版的Linux, ...

  2. java代码自动下载Spring Boot用户手册

    本示例演示Spring Boot 1.5.9.RELEASE版本的用户手册下载 pom.xml <?xml version="1.0" encoding="UTF- ...

  3. 双击jar文件运行程序

    Java应用程序jar文件可以由 JVM(Java虚拟机)直接执行,只要操作系统安装了JVM便可以运行作为Java应用程序的jar文件.可是,很多朋友遇到一个难题,那就是下载了jar文件以后在Wind ...

  4. int,String转换

    int -> String 第一种方法:s=i+""; //会产生两个String对象 第二种方法:s=String.valueOf(i); //直接使用String类的静态 ...

  5. VM磁盘映射共享方法,要求文件系统必须一致

    如果主机是window系统,那么虚拟机也应该是Windows系统,不然不起作用

  6. 洛谷P1897电梯里的爱情题解

    题目 这个题是一个搜索题,可以先算出最高楼层,并算出不重复的楼层的个数,要注意的一点就是一定不要把0楼算在内. 代码 #include<iostream> #include<cstr ...

  7. 初略 异步IO

    import asyncio asyncio.coroutine() from concurrent.futures import ThreadPoolExecutor def task(): pri ...

  8. 使用IDEA部署项目到远程服务器

    1.选择Tools -> Deployment -> Configuration... 2.配置连接信息,Linux服务器一般都选择SFTP 3.配置本地上传文件路径.远程上传文件路径 4 ...

  9. @ResponseBody注解

    作用 @ResponseBody注解表示该方法的返回结果直接写入HTTP response body中 原理 在使用此注解之后跳过视图处理器,将返回的对象通过适当的转换器转换为指定的格式之后,直接将数 ...

  10. mysql 2006错误 导入时

    导入数据库报此错误 1.找到my.ini (免安装版的是由于你自己创建的) (安装版的在 C:\ProgramData\MySQL\MySQL Server 8.0   你安装的盘位置) 2.修改参数 ...