[ 
https://issues.apache.org/jira/browse/ATLAS-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shwetha G S updated ATLAS-448:
------------------------------
    Attachment: ATLAS-448-v2.patch

> Hive IllegalArgumentException with Atlas hook enabled on SHOW TRANSACTIONS 
> AND SHOW COMPACTIONS
> -----------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-448
>                 URL: https://issues.apache.org/jira/browse/ATLAS-448
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.5-incubating
>            Reporter: Shwetha G S
>            Assignee: Shwetha G S
>             Fix For: trunk
>
>         Attachments: ATLAS-448-v2.patch, ATLAS-448.patch
>
>
> SHOW TRANSACTIONS;
> SHOW COMPACTIONS;
> explode with an exception like the following:
> {noformat}
> 2015-10-10 00:50:49,683 ERROR [HiveServer2-Background-Pool: Thread-273]: 
> ql.Driver (SessionState.java:printError(960)) - FAILED: Hi
> ve Internal Error: java.lang.IllegalArgumentException(No enum constant 
> org.apache.hadoop.hive.ql.plan.HiveOperation.SHOW TRANSACTIO
> NS)
> java.lang.IllegalArgumentException: No enum constant 
> org.apache.hadoop.hive.ql.plan.HiveOperation.SHOW TRANSACTIONS
>         at java.lang.Enum.valueOf(Enum.java:238)
>         at 
> org.apache.hadoop.hive.ql.plan.HiveOperation.valueOf(HiveOperation.java:23)
>         at org.apache.atlas.hive.hook.HiveHook.run(HiveHook.java:151)
>         at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1522)
>         at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1195)
>         at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1059)
>         at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1054)
>         at 
> org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:154)
>         at 
> org.apache.hive.service.cli.operation.SQLOperation.access$100(SQLOperation.java:71)
>         at 
> org.apache.hive.service.cli.operation.SQLOperation$1$1.run(SQLOperation.java:206)
>         at java..AccessController.doPrivileged(Native Method)
>         at javax..auth.Subject.doAs(Subject.java:422)
>         at 
> org.apache.hadoop..UserGroupInformation.doAs(UserGroupInformation.java:1657)
>         at 
> org.apache.hive.service.cli.operation.SQLOperation$1.run(SQLOperation.java:218)
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
> {noformat}



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

Reply via email to