sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Mujumdar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SENTRY-489) Sentry DB upgrade fails on Oracle with "ORA-00905: missing keyword"
Date Sat, 04 Oct 2014 02:50:33 GMT
Prasad Mujumdar created SENTRY-489:
--------------------------------------

             Summary: Sentry DB upgrade fails on Oracle with "ORA-00905: missing keyword"
                 Key: SENTRY-489
                 URL: https://issues.apache.org/jira/browse/SENTRY-489
             Project: Sentry
          Issue Type: Bug
    Affects Versions: 1.5.0
            Reporter: Prasad Mujumdar
            Assignee: Prasad Mujumdar
             Fix For: 1.5.0


Schema Upgrade from 1.4 to 1.5 fails for Oracle backend

{noformat}
Error: ORA-00905: missing keyword (state=42000,code=905)
org.apache.sentry.SentryUserException: Upgrade FAILED! Metastore state would be inconsistent
!!
org.apache.sentry.SentryUserException: Upgrade FAILED! Metastore state would be inconsistent
!!
	at org.apache.sentry.provider.db.tools.SentrySchemaTool.doUpgrade(SentrySchemaTool.java:272)
	at org.apache.sentry.provider.db.tools.SentrySchemaTool.doUpgrade(SentrySchemaTool.java:240)
	at org.apache.sentry.provider.db.tools.SentrySchemaTool$CommandImpl.run(SentrySchemaTool.java:555)
	at org.apache.sentry.SentryMain.main(SentryMain.java:94)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
Caused by: java.io.IOException: Schema script failed, errorcode 2
	at org.apache.sentry.provider.db.tools.SentrySchemaTool.runBeeLine(SentrySchemaTool.java:414)
	at org.apache.sentry.provider.db.tools.SentrySchemaTool.runBeeLine(SentrySchemaTool.java:387)
	at org.apache.sentry.provider.db.tools.SentrySchemaTool.doUpgrade(SentrySchemaTool.java:267)
	... 8 more
*** Sentry schemaTool failed ***
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message