[ https://issues.apache.org/jira/browse/YARN-9401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16806357#comment-16806357 ]
Yufei Gu commented on YARN-9401: -------------------------------- Thank [~jiwq] for working on this. Looking more deeply, the hdfs command just uses VersionInfo. This is never a big issue likely due to YARN and HDFS never be released separately. Besides, I didn't see why we need the class YarnVersionInfo. Hi [~wangda], do you happen to know why we need class YarnVersionInfo? > Fix `yarn version` print the version info is the same as `hadoop version` > ------------------------------------------------------------------------- > > Key: YARN-9401 > URL: https://issues.apache.org/jira/browse/YARN-9401 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn > Reporter: Wanqiang Ji > Assignee: Wanqiang Ji > Priority: Minor > Attachments: YARN-9401.001.patch, YARN-9401.002.patch > > > It's caused by in `yarn` shell used `org.apache.hadoop.util.VersionInfo` > instead of `org.apache.hadoop.yarn.util.YarnVersionInfo` as the > `HADOOP_CLASSNAME` by mistake. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org