hadoop - How yarn application id is generated
问题描述
I kick off a yarn application, it gives the id as application_1560618551799_4465795
But, I am supprised to find that 1560618551799 means Sun Jun 16 01:09:11 CST 2019
,which is about 3 months ago.
I have thought that the timestamp in the id will fall into today, I would ask whether I am able to figure out when the application kicks off from id?
Thanks
解决方案
不幸的是,不能从应用程序 ID 本身推断应用程序启动时间。的源代码ApplicationId
提供以下叙述:
标识符的全局唯一性是通过使用 集群时间戳(即开始时间)
ApplicationId
表示应用程序的全局唯一标识符。ResourceManager
以及应用程序的单调递增计数器来实现的
您可能需要getApplicationReport
使用YarnClient
, 并从那里提取开始时间。
推荐阅读
- jhipster - jhipster registry v5 无法获取记录器
- python - 根据值替换 xml 中的其他值
- c# - Automapper 转换为 Expandoobject - 带有语句体的 lambda 表达式不能转换为表达式树
- maven - Linux上的maven-assembly“无法创建目录或父目录”
- python - How can i fix 'Manager isn't accessible via Weekstaat instances'?
- mongodb - Get Highest Value By Hour in MongoDB for given Date Range?
- typo3 - 安装后如何解决typo3 9.7.5中的“连接已重置”问题
- ios - How to remove navigation bar items when a view controller is removed from navigation stack?
- javascript - Chrome/Firefox 中的多个空格溢出 textarea
- java - Java在List中获取数组