You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2022/09/30 17:03:28 UTC

[GitHub] [hadoop] ayushtkn commented on pull request #4953: HADOOP-18401. No ARM binaries in branch-3.3.x releases.

ayushtkn commented on PR #4953:
URL: https://github.com/apache/hadoop/pull/4953#issuecomment-1263811306

   Java Home isn't getting set correctly in the release script.
   https://github.com/steveloughran/hadoop/blob/build/HADOOP-18401-arm-64-branch-3.3/dev-support/bin/create-release#L517
   
   I was able to repro the issue, changed the condition to include arm64 and then had to do a docker system prune -a, else this statement wasn't getting picked up, post that it worked. Do give a check if the statement is getting executed if you get the same error
   
   ```
   diff --git a/dev-support/bin/create-release b/dev-support/bin/create-release
   index 73af023390e..a93dc77fba9 100755
   --- a/dev-support/bin/create-release
   +++ b/dev-support/bin/create-release
   @@ -514,7 +514,8 @@ function dockermode
    
        # we always force build with the OpenJDK JDK
        # but with the correct version
   -    if [ "$CPU_ARCH" = "aarch64" ]; then
   +
   +    if [[ "$CPU_ARCH" = "aarch64"  || "$CPU_ARCH" = "arm64" ]]; then
          echo "ENV JAVA_HOME /usr/lib/jvm/java-${JVM_VERSION}-openjdk-arm64"
        else
          echo "ENV JAVA_HOME /usr/lib/jvm/java-${JVM_VERSION}-openjdk-amd64"
   ```


-- 
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: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org