You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ayush Saxena (Jira)" <ji...@apache.org> on 2021/09/29 04:47:00 UTC

[jira] [Created] (HIVE-25571) Fix Metastore script for Oracle Database

Ayush Saxena created HIVE-25571:
-----------------------------------

             Summary: Fix Metastore script for Oracle Database
                 Key: HIVE-25571
                 URL: https://issues.apache.org/jira/browse/HIVE-25571
             Project: Hive
          Issue Type: Bug
            Reporter: Ayush Saxena
            Assignee: Ayush Saxena


Error:1
{noformat}
354/359      CREATE UNIQUE INDEX DBPRIVILEGEINDEX ON DC_PRIVS (AUTHORIZER,NAME,PRINCIPAL_NAME,PRINCIPAL_TYPE,DC_PRIV,GRANTOR,GRANTOR_TYPE);
Error: ORA-00955: name is already used by an existing object (state=42000,code=955)
Aborting command set because "force" is false and command failed: "CREATE UNIQUE INDEX DBPRIVILEGEINDEX ON DC_PRIVS (AUTHORIZER,NAME,PRINCIPAL_NAME,PRINCIPAL_TYPE,DC_PRIV,GRANTOR,GRANTOR_TYPE);"
[ERROR] 2021-09-29 09:18:59.075 [main] MetastoreSchemaTool - Schema initialization FAILED! Metastore state would be inconsistent!
Schema initialization FAILED! Metastore state would be inconsistent!{noformat}
Error:2
{noformat}
Error: ORA-00900: invalid SQL statement (state=42000,code=900)
Aborting command set because "force" is false and command failed: "=======
-- HIVE-24396
-- Create DataCo{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)