Package | Description |
---|---|
org.apache.hadoop.hive.metastore | |
org.apache.hive.beeline |
Modifier and Type | Method and Description |
---|---|
String |
MetaStoreSchemaInfo.generateInitFileName(String toVersion)
Get the name of the script to initialize the schema for given version
|
List<String> |
MetaStoreSchemaInfo.getUpgradeScripts(String fromVersion)
Get the list of sql scripts required to upgrade from the give version to current
|
Constructor and Description |
---|
MetaStoreSchemaInfo(String hiveHome,
HiveConf hiveConf,
String dbType) |
Modifier and Type | Method and Description |
---|---|
void |
HiveSchemaTool.doInit()
Initialize the metastore schema to current version
|
void |
HiveSchemaTool.doInit(String toVersion)
Initialize the metastore schema
|
void |
HiveSchemaTool.doUpgrade()
Perform metastore schema upgrade.
|
void |
HiveSchemaTool.doUpgrade(String fromSchemaVer)
Perform metastore schema upgrade
|
static Connection |
HiveSchemaHelper.getConnectionToMetastore(String userName,
String password,
boolean printInfo,
HiveConf hiveConf)
Get JDBC connection to metastore db
|
void |
HiveSchemaTool.showInfo()
Print Hive version and schema version
|
void |
HiveSchemaTool.verifySchemaVersion()
check if the current schema version in metastore matches the Hive version
|
Constructor and Description |
---|
HiveSchemaTool(String dbType) |
HiveSchemaTool(String hiveHome,
HiveConf hiveConf,
String dbType) |
Copyright © 2016 The Apache Software Foundation. All rights reserved.