You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "diqiu50 (via GitHub)" <gi...@apache.org> on 2024/08/08 06:49:42 UTC
[PR] [#4424] Improvement (trino-connector): Upgrade the Hive image version for the Trino tester. [gravitino]
diqiu50 opened a new pull request, #4436:
URL: https://github.com/apache/gravitino/pull/4436
### What changes were proposed in this pull request?
Upgrade the Hive image version to 0.1.13 for the Trino tester.
### Why are the changes needed?
Fix: #4424
### Does this PR introduce _any_ user-facing change?
NO
### How was this patch tested?
NO
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#4424] Improvement (trino-connector): Upgrade the Hive image version for the Trino tester. [gravitino]
Posted by "diqiu50 (via GitHub)" <gi...@apache.org>.
diqiu50 commented on code in PR #4436:
URL: https://github.com/apache/gravitino/pull/4436#discussion_r1710860169
##########
integration-test/trino-it/init/hive/init.sh:
##########
@@ -19,6 +19,6 @@
#
IP=$(hostname -I | awk '{print $1}')
-sed -i "s|<value>hdfs://localhost:9000|<value>hdfs://${IP}:9000|g" /usr/local/hive/conf/hive-site.xml
+sed -i "s|<value>hdfs://__REPLACE__HOST_NAME:9000|<value>hdfs://${IP}:9000|g" ${HIVE_TMP_CONF_DIR}/hive-site.xml
Review Comment:
The Trino need to replace the host name to the IP address. The next command cannot be replaced because it cannot find `__REPLACE__HOST_NAME`
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#4424] Improvement (trino-connector): Upgrade the Hive image version for the Trino tester. [gravitino]
Posted by "mchades (via GitHub)" <gi...@apache.org>.
mchades commented on code in PR #4436:
URL: https://github.com/apache/gravitino/pull/4436#discussion_r1710781086
##########
integration-test/trino-it/init/hive/init.sh:
##########
@@ -19,6 +19,6 @@
#
IP=$(hostname -I | awk '{print $1}')
-sed -i "s|<value>hdfs://localhost:9000|<value>hdfs://${IP}:9000|g" /usr/local/hive/conf/hive-site.xml
+sed -i "s|<value>hdfs://__REPLACE__HOST_NAME:9000|<value>hdfs://${IP}:9000|g" ${HIVE_TMP_CONF_DIR}/hive-site.xml
Review Comment:
The sed command seems unnecessary since the `start.sh` already did the replace:
https://github.com/apache/gravitino/blob/1ea4860e8abe047f5469ed39b3f43da2d28cd7e5/dev/docker/hive/start.sh#L35
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#4424] Improvement (trino-connector): Upgrade the Hive image version for the Trino tester. [gravitino]
Posted by "diqiu50 (via GitHub)" <gi...@apache.org>.
diqiu50 closed pull request #4436: [#4424] Improvement (trino-connector): Upgrade the Hive image version for the Trino tester.
URL: https://github.com/apache/gravitino/pull/4436
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#4424] Improvement (trino-connector): Upgrade the Hive image version for the Trino tester. [gravitino]
Posted by "diqiu50 (via GitHub)" <gi...@apache.org>.
diqiu50 commented on PR #4436:
URL: https://github.com/apache/gravitino/pull/4436#issuecomment-2282990095
@mchades I have verified the uploaded log. It's okay.
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#4424] Improvement (trino-connector): Upgrade the Hive image version for the Trino tester. [gravitino]
Posted by "mchades (via GitHub)" <gi...@apache.org>.
mchades merged PR #4436:
URL: https://github.com/apache/gravitino/pull/4436
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#4424] Improvement (trino-connector): Upgrade the Hive image version for the Trino tester. [gravitino]
Posted by "diqiu50 (via GitHub)" <gi...@apache.org>.
diqiu50 commented on code in PR #4436:
URL: https://github.com/apache/gravitino/pull/4436#discussion_r1710860169
##########
integration-test/trino-it/init/hive/init.sh:
##########
@@ -19,6 +19,6 @@
#
IP=$(hostname -I | awk '{print $1}')
-sed -i "s|<value>hdfs://localhost:9000|<value>hdfs://${IP}:9000|g" /usr/local/hive/conf/hive-site.xml
+sed -i "s|<value>hdfs://__REPLACE__HOST_NAME:9000|<value>hdfs://${IP}:9000|g" ${HIVE_TMP_CONF_DIR}/hive-site.xml
Review Comment:
The Trino need to replace the host name to the IP address
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#4424] Improvement (trino-connector): Upgrade the Hive image version for the Trino tester. [gravitino]
Posted by "mchades (via GitHub)" <gi...@apache.org>.
mchades commented on PR #4436:
URL: https://github.com/apache/gravitino/pull/4436#issuecomment-2277359562
Overall LGTM. Do you want to take another look? @yuqi1129
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org