You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by "dengzhhu653 (via GitHub)" <gi...@apache.org> on 2023/09/11 03:15:54 UTC

[GitHub] [hive] dengzhhu653 opened a new pull request, #4680: HIVE-27670: Failed to build the image locally on Apple silicon

dengzhhu653 opened a new pull request, #4680:
URL: https://github.com/apache/hive/pull/4680

   <!--
   Thanks for sending a pull request!  Here are some tips for you:
     1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute
     2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira/projects/HIVE/summary
     3. Ensure you have added or run the appropriate tests for your PR: 
     4. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP]HIVE-XXXXX:  Your PR title ...'.
     5. Be sure to keep the PR description updated to reflect all changes.
     6. Please write your PR title to summarize what this PR proposes.
     7. If possible, provide a concise example to reproduce the issue for a faster review.
   
   -->
   
   ### What changes were proposed in this pull request?
   <!--
   Please clarify what changes you are proposing. The purpose of this section is to outline the changes and how this PR fixes the issue. 
   If possible, please consider writing useful notes for better and faster reviews in your PR. See the examples below.
     1. If you refactor some codes with changing classes, showing the class hierarchy will help reviewers.
     2. If you fix some SQL features, you can provide some references of other DBMSes.
     3. If there is design documentation, please add the link.
     4. If there is a discussion in the mailing list, please add the link.
   -->
   
   
   ### Why are the changes needed?
   <!--
   Please clarify why the changes are needed. For instance,
     1. If you propose a new API, clarify the use case for a new API.
     2. If you fix a bug, you can clarify why it is a bug.
   -->
   
   
   ### Does this PR introduce _any_ user-facing change?
   Introduce an env variable SCHEMA_COMMAND for Hive 3, usage:
   docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 --env SCHEMA_COMMAND= upgradeSchema  --name hive3 apache/hive:3.1.3
   <!--
   Note that it means *any* user-facing change including all aspects such as the documentation fix.
   If yes, please clarify the previous behavior and the change this PR proposes - provide the console output, description, screenshot and/or a reproducable example to show the behavior difference if possible.
   If possible, please also clarify if this is a user-facing change compared to the released Hive versions or within the unreleased branches such as master.
   If no, write 'No'.
   -->
   
   ### Is the change a dependency upgrade?
   No
   <!--
   If yes, please attach a file with output from mvn dependency:tree to validate a complete upgrade of dependency.
   If no, write 'No'.
   -->
   
   
   ### How was this patch tested?
   Build the image and run the container successfully on my M1 laptop.
   <!--
   If tests were added, say they were added here. Please make sure to add some test cases that check the changes thoroughly including negative and positive cases if possible.
   If it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future.
   If tests were not added, please describe why they were not added and/or why it was difficult to add.
   -->
   


-- 
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: gitbox-unsubscribe@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] sonarcloud[bot] commented on pull request #4680: HIVE-27670: Failed to build the image locally on Apple silicon

Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #4680:
URL: https://github.com/apache/hive/pull/4680#issuecomment-1715272746

   Kudos, SonarCloud Quality Gate passed!&nbsp; &nbsp; [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=apache_hive&pullRequest=4680)
   
   [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=BUG)  
   [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=VULNERABILITY)  
   [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4680&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4680&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4680&resolved=false&types=SECURITY_HOTSPOT)  
   [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=CODE_SMELL)
   
   [![No Coverage information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png 'No Coverage information')](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=4680&metric=coverage&view=list) No Coverage information  
   [![No Duplication information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png 'No Duplication information')](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=4680&metric=duplicated_lines_density&view=list) No Duplication information
   
   ![warning](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/message_warning-16px.png 'warning') The version of Java (11.0.8) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
   Read more [here](https://docs.sonarcloud.io/appendices/scanner-environment/)
   
   
   


-- 
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: gitbox-unsubscribe@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


Re: [PR] HIVE-27670: Failed to build the image locally on Apple silicon [hive]

Posted by "bkyryliuk (via GitHub)" <gi...@apache.org>.
bkyryliuk commented on PR #4680:
URL: https://github.com/apache/hive/pull/4680#issuecomment-1751587300

   Thanks ! that worked


-- 
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: gitbox-unsubscribe@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


Re: [PR] HIVE-27670: Failed to build the image locally on Apple silicon [hive]

Posted by "bkyryliuk (via GitHub)" <gi...@apache.org>.
bkyryliuk commented on PR #4680:
URL: https://github.com/apache/hive/pull/4680#issuecomment-1749897362

   I am still getting 
   ```
   + : derby
   + SKIP_SCHEMA_INIT=false
   + export HIVE_CONF_DIR=/opt/hive/conf
   + HIVE_CONF_DIR=/opt/hive/conf
   + '[' -d '' ']'
   + export 'HADOOP_CLIENT_OPTS= -Xmx1G '
   + HADOOP_CLIENT_OPTS=' -Xmx1G '
   + [[ false == \f\a\l\s\e ]]
   + initialize_hive
   + COMMAND=-initOrUpgradeSchema
   ++ echo 3.1.3
   ++ cut -d . -f1
   + '[' 3 -lt 4 ']'
   + COMMAND=-upgradeSchema
   + /opt/hive/bin/schematool -dbType derby -upgradeSchema
   SLF4J: Class path contains multiple SLF4J bindings.
   SLF4J: Found binding in [jar:file:/opt/hive/lib/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   SLF4J: Found binding in [jar:file:/opt/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
   SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
   Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V
   	at org.apache.hadoop.conf.Configuration.set(Configuration.java:1357)
   	at org.apache.hadoop.conf.Configuration.set(Configuration.java:1338)
   	at org.apache.hadoop.mapred.JobConf.setJar(JobConf.java:518)
   	at org.apache.hadoop.mapred.JobConf.setJarByClass(JobConf.java:536)
   	at org.apache.hadoop.mapred.JobConf.<init>(JobConf.java:430)
   	at org.apache.hadoop.hive.conf.HiveConf.initialize(HiveConf.java:5144)
   	at org.apache.hadoop.hive.conf.HiveConf.<init>(HiveConf.java:5107)
   	at org.apache.hive.beeline.HiveSchemaTool.<init>(HiveSchemaTool.java:96)
   	at org.apache.hive.beeline.HiveSchemaTool.main(HiveSchemaTool.java:1473)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.apache.hadoop.util.RunJar.run(RunJar.java:318)
   	at org.apache.hadoop.util.RunJar.main(RunJar.java:232)
   + '[' 1 -eq 0 ']'
   + echo 'Schema initialization failed!'
   ```
   
   When running 
   ```
   docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 --env SCHEMA_COMMAND= upgradeSchema --name hive3 apache/hive:3.1.3
   ```
   Are there any other settings / gotchas needed to run hive:3.1.3 in docker?


-- 
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: gitbox-unsubscribe@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] zratkai commented on pull request #4680: HIVE-27670: Failed to build the image locally on Apple silicon

Posted by "zratkai (via GitHub)" <gi...@apache.org>.
zratkai commented on PR #4680:
URL: https://github.com/apache/hive/pull/4680#issuecomment-1713750957

   I run into the same issue with missing \ in build.sh. So LGTM.


-- 
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: gitbox-unsubscribe@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


Re: [PR] HIVE-27670: Failed to build the image locally on Apple silicon [hive]

Posted by "bkyryliuk (via GitHub)" <gi...@apache.org>.
bkyryliuk commented on PR #4680:
URL: https://github.com/apache/hive/pull/4680#issuecomment-1751057082

   I realized that there is a need to export env variable with hadoop version, not only pass it to the build script. However it is still not working :( Here are the repro steps:
   
   ```
   export HADOOP_VERSION=3.1.0
   export HIVE_VERSION=3.1.3
   export TEZ_VERSION=0.10.1
   ./build.sh -hadoop 3.1.0 -tez 0.10.1 -hive 3.1.3
   docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 --env SCHEMA_COMMAND=upgradeSchema --name hive3 apache/hive:3.1.3
   docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 --env SCHEMA_COMMAND=upgradeSchema --name hive3 apache/hive:3.1.3
   docker logs e9e09f7e580f3575fba91531227fd077194d0b009b86aa875db178bd915be6b9
   ```
   
   And there is still and error msg, however a new one:
   
   ```org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema version, Cause:Table/View 'VERSION' does not exist.
   Use --verbose for detailed stacktrace.
   *** schemaTool failed ***
   + '[' 1 -eq 0 ']'
   + echo 'Schema initialization failed!'
   + exit 1
   Schema initialization failed!```


-- 
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: gitbox-unsubscribe@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


Re: [PR] HIVE-27670: Failed to build the image locally on Apple silicon [hive]

Posted by "dengzhhu653 (via GitHub)" <gi...@apache.org>.
dengzhhu653 commented on PR #4680:
URL: https://github.com/apache/hive/pull/4680#issuecomment-1750266579

   > I am still getting
   > 
   > ```
   > + : derby
   > + SKIP_SCHEMA_INIT=false
   > + export HIVE_CONF_DIR=/opt/hive/conf
   > + HIVE_CONF_DIR=/opt/hive/conf
   > + '[' -d '' ']'
   > + export 'HADOOP_CLIENT_OPTS= -Xmx1G '
   > + HADOOP_CLIENT_OPTS=' -Xmx1G '
   > + [[ false == \f\a\l\s\e ]]
   > + initialize_hive
   > + COMMAND=-initOrUpgradeSchema
   > ++ echo 3.1.3
   > ++ cut -d . -f1
   > + '[' 3 -lt 4 ']'
   > + COMMAND=-upgradeSchema
   > + /opt/hive/bin/schematool -dbType derby -upgradeSchema
   > SLF4J: Class path contains multiple SLF4J bindings.
   > SLF4J: Found binding in [jar:file:/opt/hive/lib/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   > SLF4J: Found binding in [jar:file:/opt/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
   > SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
   > Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V
   > 	at org.apache.hadoop.conf.Configuration.set(Configuration.java:1357)
   > 	at org.apache.hadoop.conf.Configuration.set(Configuration.java:1338)
   > 	at org.apache.hadoop.mapred.JobConf.setJar(JobConf.java:518)
   > 	at org.apache.hadoop.mapred.JobConf.setJarByClass(JobConf.java:536)
   > 	at org.apache.hadoop.mapred.JobConf.<init>(JobConf.java:430)
   > 	at org.apache.hadoop.hive.conf.HiveConf.initialize(HiveConf.java:5144)
   > 	at org.apache.hadoop.hive.conf.HiveConf.<init>(HiveConf.java:5107)
   > 	at org.apache.hive.beeline.HiveSchemaTool.<init>(HiveSchemaTool.java:96)
   > 	at org.apache.hive.beeline.HiveSchemaTool.main(HiveSchemaTool.java:1473)
   > 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   > 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   > 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   > 	at java.lang.reflect.Method.invoke(Method.java:498)
   > 	at org.apache.hadoop.util.RunJar.run(RunJar.java:318)
   > 	at org.apache.hadoop.util.RunJar.main(RunJar.java:232)
   > + '[' 1 -eq 0 ']'
   > + echo 'Schema initialization failed!'
   > ```
   > 
   > When running
   > 
   > ```
   > docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 --env SCHEMA_COMMAND= upgradeSchema --name hive3 apache/hive:3.1.3
   > ```
   > 
   > Are there any other settings / gotchas needed to run hive:3.1.3 in docker?
   
   I guess there are different versions of guava in HMS classpath, what's the Hadoop version of the Docker? the default hadoop version in Hive 3.1.3 is 3.1.0.


-- 
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: gitbox-unsubscribe@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


Re: [PR] HIVE-27670: Failed to build the image locally on Apple silicon [hive]

Posted by "ayushtkn (via GitHub)" <gi...@apache.org>.
ayushtkn commented on PR #4680:
URL: https://github.com/apache/hive/pull/4680#issuecomment-1751069145

   Did you try the already published image: 
   https://hub.docker.com/layers/apache/hive/3.1.3/images/sha256-d102ba29ad07e93c303894896203a80b903c0001d80221f1cb9fea92dcac06e4?context=explore


-- 
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: gitbox-unsubscribe@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


Re: [PR] HIVE-27670: Failed to build the image locally on Apple silicon [hive]

Posted by "simhadri-g (via GitHub)" <gi...@apache.org>.
simhadri-g commented on PR #4680:
URL: https://github.com/apache/hive/pull/4680#issuecomment-1751088573

   We haven't pushed arm64 based images for 3.1.3 to docker hub.


-- 
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: gitbox-unsubscribe@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


Re: [PR] HIVE-27670: Failed to build the image locally on Apple silicon [hive]

Posted by "dengzhhu653 (via GitHub)" <gi...@apache.org>.
dengzhhu653 commented on PR #4680:
URL: https://github.com/apache/hive/pull/4680#issuecomment-1751557272

   > I realized that there is a need to export env variable with hadoop version, not only pass it to the build script. However it is still not working :( Here are the repro steps:
   > 
   > ```
   > export HADOOP_VERSION=3.1.0
   > export HIVE_VERSION=3.1.3
   > export TEZ_VERSION=0.10.1
   > ./build.sh -hadoop 3.1.0 -tez 0.10.1 -hive 3.1.3
   > docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 --env SCHEMA_COMMAND=upgradeSchema --name hive3 apache/hive:3.1.3
   > docker logs e9e09f7e580f3575fba91531227fd077194d0b009b86aa875db178bd915be6b9
   > ```
   > 
   > And there is still and error msg, however a new one:
   > 
   > ```
   > org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema version, Cause:Table/View 'VERSION' does not exist.
   > Use --verbose for detailed stacktrace.
   > *** schemaTool failed ***
   > + '[' 1 -eq 0 ']'
   > + echo 'Schema initialization failed!'
   > + exit 1
   > Schema initialization failed!
   > ```
   
   I think this failure is due to no hive schema is here for upgrading, please try with "--env SCHEMA_COMMAND= initSchema" or just ignore this argument, for example:
   ```
   docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 --name hive3 apache/hive:3.1.3


-- 
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: gitbox-unsubscribe@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] sonarcloud[bot] commented on pull request #4680: HIVE-27670: Failed to build the image locally on Apple silicon

Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #4680:
URL: https://github.com/apache/hive/pull/4680#issuecomment-1713167933

   Kudos, SonarCloud Quality Gate passed!&nbsp; &nbsp; [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=apache_hive&pullRequest=4680)
   
   [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=BUG)  
   [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=VULNERABILITY)  
   [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4680&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4680&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4680&resolved=false&types=SECURITY_HOTSPOT)  
   [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4680&resolved=false&types=CODE_SMELL)
   
   [![No Coverage information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png 'No Coverage information')](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=4680&metric=coverage&view=list) No Coverage information  
   [![No Duplication information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png 'No Duplication information')](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=4680&metric=duplicated_lines_density&view=list) No Duplication information
   
   ![warning](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/message_warning-16px.png 'warning') The version of Java (11.0.8) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
   Read more [here](https://docs.sonarcloud.io/appendices/scanner-environment/)
   
   
   


-- 
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: gitbox-unsubscribe@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] dengzhhu653 commented on pull request #4680: HIVE-27670: Failed to build the image locally on Apple silicon

Posted by "dengzhhu653 (via GitHub)" <gi...@apache.org>.
dengzhhu653 commented on PR #4680:
URL: https://github.com/apache/hive/pull/4680#issuecomment-1714993347

   > Thanx @dengzhhu653 I think we should mention the `SCHEMA_COMMAND` as part of the docker readme as well here: https://github.com/apache/hive/blob/master/packaging/src/docker/README.md
   > 
   > We do have a quick start here as well: https://github.com/apache/hive-site/blob/main/content/Developement/quickStart.md
   > 
   > I can update that later once this is merged
   
   Done


-- 
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: gitbox-unsubscribe@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] dengzhhu653 merged pull request #4680: HIVE-27670: Failed to build the image locally on Apple silicon

Posted by "dengzhhu653 (via GitHub)" <gi...@apache.org>.
dengzhhu653 merged PR #4680:
URL: https://github.com/apache/hive/pull/4680


-- 
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: gitbox-unsubscribe@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org