Aggarwal-Raghav commented on PR #5859:
URL: https://github.com/apache/hive/pull/5859#issuecomment-2980590785
Thanks @ayushtkn, for provinding the repro.
@abstractdog, I debugged and found the reason why it is not happening in my
setup.
**Setting `set -x` in schematool.sh is not the right way to identify the
classpath**. I modified the _HiveSchemaTool#main()_ to include
```
String classpath = System.getProperty("java.class.path");
System.out.println("Classpath: " + classpath);
```
there I can see the tez-protobuf-history-plugin jar. This is coming because
in my setup I have set the following in `$HADOOP_HOME/etc/hadoop/hadoop-env.sh`
```export
HADOOP_CLASSPATH=${TEZ_CONF_DIR}:${TEZ_JARS}/*:${TEZ_JARS}/lib/*:$HADOOP_CLASSPATH```
Attaching updated classpath for reference:
[classpath.txt](https://github.com/user-attachments/files/20777364/classpath.txt)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]