zhangbutao commented on PR #5884: URL: https://github.com/apache/hive/pull/5884#issuecomment-3015035125
> @zhangbutao , the patch that you have sent above is not what I meant regarding add-opens. Let me rephrase, It seems HADOOP_OPTS are not picked up for starting hive services no matter where you set them i.e. `bin/hive.sh`, `bin/hive-config.sh`,`bin/ext/hiveserver2.sh`, etc or atleast I couldn't make them work. Confirmed from `ps -ef | grep -i hiveserver2` output. > > In [HIVE-26473](https://issues.apache.org/jira/browse/HIVE-26473), all the add-opens were appended in HADOOP_CLIENT_OPTS, that's why I changed from HADOOP_OPTS => HADOOP_CLIENT_OPTS in `hive-env.sh.template` file. Yes, I understand what you mean. I just don't understand why `HADOOP_OPTS` no longer takes effect after HIVE-26473 was merged. For me, using `HADOOP_CLIENT_OPTS` at present is acceptable, but I think, in the future, there might be users who are confused about the issue of `HADOOP_OPTS` being ineffective. Maybe we can address this issue later. -- 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-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org