Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HADOOP-18604. Add compile platform in the hadoop version output. #5327

Merged
merged 1 commit into from
Jan 28, 2023

Conversation

ayushtkn
Copy link
Member

@ayushtkn ayushtkn commented Jan 27, 2023

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 git@github.com: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


hadoop-3.4.0-SNAPSHOT$ bin/hadoop version
Hadoop 3.4.0-SNAPSHOT
Source code repository git@github.com:apache/hadoop.git -r 468135a4d99ad334a545127bd144c46c23e0ac3b
Compiled by ayushsaxena on 2023-01-27T08:05Z
Compiled on platform linux-aarch_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?
  • If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 49s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 1s codespell was not available.
+0 🆗 detsecrets 0m 1s detect-secrets was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1 💚 mvninstall 47m 41s trunk passed
+1 💚 compile 25m 21s trunk passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04
+1 💚 compile 21m 32s trunk passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08
+1 💚 checkstyle 1m 6s trunk passed
+1 💚 mvnsite 1m 37s trunk passed
-1 ❌ javadoc 1m 8s /branch-javadoc-hadoop-common-project_hadoop-common-jdkUbuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.txt hadoop-common in trunk failed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.
+1 💚 javadoc 0m 41s trunk passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08
+1 💚 spotbugs 2m 46s trunk passed
+1 💚 shadedclient 28m 21s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+1 💚 mvninstall 1m 7s the patch passed
+1 💚 compile 24m 37s the patch passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04
+1 💚 javac 24m 37s the patch passed
+1 💚 compile 21m 44s the patch passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08
+1 💚 javac 21m 44s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 1m 0s /results-checkstyle-hadoop-common-project_hadoop-common.txt hadoop-common-project/hadoop-common: The patch generated 1 new + 10 unchanged - 0 fixed = 11 total (was 10)
+1 💚 mvnsite 1m 35s the patch passed
-1 ❌ javadoc 0m 59s /patch-javadoc-hadoop-common-project_hadoop-common-jdkUbuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.txt hadoop-common in the patch failed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.
+1 💚 javadoc 0m 40s the patch passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08
+1 💚 spotbugs 2m 42s the patch passed
+1 💚 shadedclient 28m 37s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 18m 11s hadoop-common in the patch passed.
+1 💚 asflicense 0m 53s The patch does not generate ASF License warnings.
232m 49s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5327/1/artifact/out/Dockerfile
GITHUB PR #5327
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets
uname Linux ed4c8b248494 4.15.0-200-generic #211-Ubuntu SMP Thu Nov 24 18:16:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 6d10dac
Default Java Private Build-1.8.0_352-8u352-ga-1~20.04-b08
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_352-8u352-ga-1~20.04-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5327/1/testReport/
Max. process+thread count 1239 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5327/1/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@cnauroth cnauroth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Thank you, @ayushtkn !

@ayushtkn ayushtkn merged commit 952d707 into apache:trunk Jan 28, 2023
asfgit pushed a commit that referenced this pull request Jan 28, 2023
…). Contributed by Ayush Saxena.

Signed-off-by: Chris Nauroth <cnauroth@apache.org>
ferdelyi pushed a commit to ferdelyi/hadoop that referenced this pull request May 26, 2023
…che#5327). Contributed by Ayush Saxena.

Signed-off-by: Chris Nauroth <cnauroth@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants