ayushtkn opened a new pull request, #5327: URL: https://github.com/apache/hadoop/pull/5327
### Description of PR Add compile platform in the output of hadoop version ### How was this patch tested? Deployed and tried on x86 & aarch64 (Mac & linux(docker)) **x86** ``` bin/hadoop version Hadoop 3.4.0-SNAPSHOT Source code repository https://gitbox.apache.org/repos/asf/hadoop.git -r 2aa503aa8ea2705d458e52452ae94321034c8852 Compiled by ayushsaxena on 2023-01-27T04:54Z Compiled on platform osx-x86_64 Compiled with protoc 3.7.1 From source with checksum 6fa3cad8913c823e3064b599e682f2 This command was run using /Users/ayushsaxena/code/hadoop-code/osCode/hadoop/hadoop-dist/target/hadoop-3.4.0-SNAPSHOT/share/hadoop/common/hadoop-common-3.4.0-SNAPSHOT.jar bin/hadoop version Hadoop 3.4.0-SNAPSHOT Source code repository https://gitbox.apache.org/repos/asf/hadoop.git -r 2aa503aa8ea2705d458e52452ae94321034c8852 Compiled by ayushsaxena on 2023-01-27T05:36Z Compiled on platform linux-x86_64 Compiled with protoc 3.7.1 From source with checksum 483b39feb93d2fcac066661bcd29e876 This command was run using /home/ayushsaxena/hadoop/hadoop-dist/target/hadoop-3.4.0-SNAPSHOT/share/hadoop/common/hadoop-common-3.4.0-SNAPSHOT.jar ``` **Aarch64** ``` hadoop-3.4.0-SNAPSHOT % bin/hadoop version Hadoop 3.4.0-SNAPSHOT Source code repository [email protected]:apache/hadoop.git -r 468135a4d99ad334a545127bd144c46c23e0ac3b Compiled by ayushsaxena on 2023-01-27T07:52Z Compiled on platform osx-aarch_64 Compiled with protoc 3.7.1 From source with checksum 483b39feb93d2fcac066661bcd29e876 This command was run using /Users/ayushsaxena/code/hadoop/hadoop-dist/target/hadoop-3.4.0-SNAPSHOT/share/hadoop/common/hadoop-common-3.4.0-SNAPSHOT.jar bin/hadoop version Hadoop 3.4.0-SNAPSHOT Source code repository https://gitbox.apache.org/repos/asf/hadoop.git -r 2aa503aa8ea2705d458e52452ae94321034c8852 Compiled by ayushsaxena on 2023-01-27T05:36Z Compiled on platform linux-x86_64 Compiled with protoc 3.7.1 From source with checksum 483b39feb93d2fcac066661bcd29e876 This command was run using /home/ayushsaxena/hadoop/hadoop-dist/target/hadoop-3.4.0-SNAPSHOT/share/hadoop/common/hadoop-common-3.4.0-SNAPSHOT.jar ``` ### For code changes: - [ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')? - [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation? - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
