Idea by Massoud Mazar · · mssqlhive-metastorerestartupgrade
During upgrade, if Hive Metastore is using MSSQL server, the step which tries to restart metastore fails with this error:
resource_management.core.exceptions.ExecutionFailed: Execution of 'cp /usr/hdp/3.0.1.0-187/hive/lib/None /usr/hdp/3.1.0.0-78/hive/lib' returned 1. cp: cannot stat '/usr/hdp/3.0.1.0-187/hive/lib/None': No such file or directory
Workaround: Copy the JDBC driver manually and create a dummy file so script can continue:
sudo cp /usr/hdp/3.0.1.0-187/hive/lib/mssql-jdbc-7.0.0.jre8.jar /usr/hdp/3.1.0.0-78/hive/lib sudo touch /usr/hdp/3.0.1.0-187/hive/lib/None
Help us make things better. Share your great idea for improving Unity or vote for other people's.
This website uses cookies for analytics, personalisation and advertising. To learn more or change your cookie settings, please read our Cookie Policy. By continuing to browse, you agree to our use of cookies.
HCC Guidelines | HCC FAQs | HCC Privacy Policy | Privacy Policy | Terms of Service
© 2011-2019 Hortonworks Inc. All Rights Reserved.
Hadoop, Falcon, Atlas, Sqoop, Flume, Kafka, Pig, Hive, HBase, Accumulo, Storm, Solr, Spark, Ranger, Knox, Ambari, ZooKeeper, Oozie and the Hadoop elephant logo are trademarks of the Apache Software Foundation.