abstractdog commented on PR #5859:
URL: https://github.com/apache/hive/pull/5859#issuecomment-2976514465

   > > > Yes, that is correct. After setting the 
`hive.hook.proto.base-directory `, i found another issue, which I filed under 
[HIVE-29012](https://issues.apache.org/jira/browse/HIVE-29012) but even after 
the potential fix in the respective PR, I am not seeing NoClassDefFoundError 😅.
   > > > 
[updated_schemtool_logs.txt](https://github.com/user-attachments/files/20756399/updated_schemtool_logs.txt)
   > > 
   > > 
   > > hm, in this case, one of the jars on the classpath must contain 
DatePartitionedLogger, otherwise it should fail, can you please check that?
   > 
   > hmm, the following line in logs in schematool as well confirms that post 
hooks is getting triggered but in the classpath (attached above), using the 
find command with jar tvf , I am not able to find tez-protobuf-history-plugin 
jar or DatePartitionedLogger.class:
   > 
   > ```
   > 2025-06-16 17:34:20,489 INFO ql.Driver: Executing 
command(queryId=raghav_20250616173420_39d18e25-c007-483c-b692-0f6dfc39832f): 
SELECT t.SCHEMA_VERSION from VERSION t
   > 2025-06-16 17:34:20,489 INFO hooks.HiveProtoLoggingHook: Received pre-hook 
notification for: raghav_20250616173420_39d18e25-c007-483c-b692-0f6dfc39832f
   > 2025-06-16 17:34:20,490 INFO hooks.HiveProtoLoggingHook: Received 
post-hook notification for: 
raghav_20250616173420_39d18e25-c007-483c-b692-0f6dfc39832f
   > 2025-06-16 17:34:20,490 INFO metadata.Hive: Dumping metastore api call 
timing information for : execution phase
   > ```
   > 
   > I will also debug and see how schematool is working or if something else 
is happening altogether, **but if you can request someone as well to test on 
hive4 setup that will be great, it will eliminate setup issues if any.**
   
   We could only test and encounter this issue on a downstream cluster, which 
has diverged from Hive 4.
   
   In this case, I can only rely on the fact that this patch resolved the 
problem in our environment, but I agree—a reproducible case on Hive master 
would definitely make the patch more trustworthy.


-- 
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

Reply via email to