yarn version

Prints the YARN version.

Syntax

yarn version

Output

$ yarn version
Hadoop 2.7.0-mapr-1808
 Subversion git@github.com:mapr/private-hadoop-common.git -r 286a35acc6daf3276ade21a51619dba30c0d5357
 Compiled by root on 2018-09-25T16:36Z
 Compiled with protoc 2.5.0
 From source with checksum f5eb7427d39f2e91e9f4a63c0a1d259
 This command was run using /opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/common/hadoop-common-2.7.0-mapr-1808.jar