Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.0.0
Description
In HIVE-21298 MetastoreSchemaTool was moved from org.apache.hadoop.hive.metastore.tools.MetastoreSchemaTool to org.apache.hadoop.hive.metastore.tools.schematool.MetastoreSchemaTool, but it seems like schemaTool.sh was not updated.
This results in the following error being raised when invoking the shell script:
/stackable/apache-hive-metastore-4.0.0-bin $ bin/base --service schemaTool Exception in thread "main" java.lang.ClassNotFoundException: org.apache.hadoop.hive.metastore.tools.MetastoreSchemaTool at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:594) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:398) at org.apache.hadoop.util.RunJar.run(RunJar.java:321) at org.apache.hadoop.util.RunJar.main(RunJar.java:241)
Attachments
Issue Links
- links to