You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@amoro.apache.org by "baiyangtx (via GitHub)" <gi...@apache.org> on 2024/09/24 06:31:22 UTC
[PR] [Improvement] Support env.sh and add HADOOP_CONF_DIR and HIVE_CONF_DIR to CLASSPATH [amoro]
baiyangtx opened a new pull request, #3222:
URL: https://github.com/apache/amoro/pull/3222
## Why are the changes needed?
HiveConf can load the existing hive-site.xml from the classpath during initialization.
So Amoro should support adding some directories to the classpath at startup.
In addition, user-defined environment variable configuration files need to be supported.
## Brief change log
- Add a env.sh in ${AMORO_CONF_DIR}
- If exists env variables HADOOP_CONF_DIR and HIVE_CONF_DIR, add them to CLASSPATH
- Support add additional directories by env variable AMORO_ADDITION_CLASSPATH.
- Print all env variables and their value at startup.
## How was this patch tested?
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
- [ ] Add screenshots for manual tests if appropriate
- [ ] Run test locally before making a pull request
## Documentation
- Does this pull request introduce a new feature? (no)
- If yes, how is the feature documented? (not documented)
--
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@amoro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Improvement] Support env.sh and add HADOOP_CONF_DIR and HIVE_CONF_DIR to CLASSPATH [amoro]
Posted by "baiyangtx (via GitHub)" <gi...@apache.org>.
baiyangtx commented on PR #3222:
URL: https://github.com/apache/amoro/pull/3222#issuecomment-2373036344
> If we can export hadoop's classpath, do we still need to package the hadoop client into amoro?
I think we can release binary packages without Hadoop/Hive dependencies
--
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@amoro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Improvement] Support env.sh and add HADOOP_CONF_DIR and HIVE_CONF_DIR to CLASSPATH [amoro]
Posted by "czy006 (via GitHub)" <gi...@apache.org>.
czy006 commented on PR #3222:
URL: https://github.com/apache/amoro/pull/3222#issuecomment-2372832468
> If we can export hadoop's classpath, do we still need to package the hadoop client into amoro?
If it's configured, we really don't need it. But users have to manually deploy the dependencies of environments like Hadoop and Hive. This might become an optional replacement.
--
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@amoro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Improvement] Support env.sh and add HADOOP_CONF_DIR and HIVE_CONF_DIR to CLASSPATH [amoro]
Posted by "huyuanfeng2018 (via GitHub)" <gi...@apache.org>.
huyuanfeng2018 commented on PR #3222:
URL: https://github.com/apache/amoro/pull/3222#issuecomment-2370960856
If we can export hadoop's classpath, do we still need to package the hadoop client into amoro?
--
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@amoro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org