[
https://issues.apache.org/jira/browse/HADOOP-18604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17681306#comment-17681306
]
ASF GitHub Bot commented on HADOOP-18604:
-----------------------------------------
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?
> Add compile platform in the hadoop version output
> -------------------------------------------------
>
> Key: HADOOP-18604
> URL: https://issues.apache.org/jira/browse/HADOOP-18604
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Ayush Saxena
> Assignee: Ayush Saxena
> Priority: Major
>
> Hadoop releases support both x86 and Aarch64, good to have a line indicating
> this in the hadoop version output.
> Inspired by: HDDS-7783
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]