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

   > @abstractdog, I am not able to repro this on hive master branch. in a 
fresh setup I ran:
   > 
   > ```
   > schematool -dbType mysql -initSchema
   > ```
   > 
   > and started HS2 and HMS services and then ran
   > 
   > ```
   > schematool -dbType hive -initSchema -metaDbType mysql
   > ```
   > 
   > but the "CREATE DATABASE IF NOT EXISTS SYS" didn't went to HS2 like it 
happened based on the logs attached in the JIRA. I suspect schematool is 
running with embedded mode in my case. What am I missing?
   
   the logs are confusing, I was shocked to see things like 
"HiveServer2-Background-Pool" in a metastore log or metastore-related log, but 
I guess as long as the hive executable runs, it will utilize a Hive CLI call to 
do things, and for that, the Driver is the entrypoint (so it runs the hooks 
too), and that process doesn't have the same classpath as a fully fledged HS2 
process
   on a Cloudera Manager based cluster, the tez-protobuf-history-plugin jar is 
already added for HS2 classpath, that's why we haven't hit that problem there
   
   I'm wondering what's the classpath when you call schematool and if you 
actually hit the Driver classpath with the hooks


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