Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HWI does not work with hvie 0.12.0 #23

Open
kuhnen opened this issue Feb 24, 2014 · 8 comments
Open

HWI does not work with hvie 0.12.0 #23

kuhnen opened this issue Feb 24, 2014 · 8 comments

Comments

@kuhnen
Copy link

kuhnen commented Feb 24, 2014

Hello, I'm trying to use hwi with hive 0.12.0 but I get this error when I try to run any query

Caused by: java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.hive.ql.history.HiveHistory, but class was expected

It was working perfectly with hive 0.11.0, any idea on how to fix this ?
Thanks

@kuhnen
Copy link
Author

kuhnen commented Feb 24, 2014

I noticed that the problem is that the hive 0.12.0 has a interface HiveHistory and a class HiveHistoryImpl, I was able to compile changing this, but now I get a nullPoniterException

@pensz
Copy link
Contributor

pensz commented Feb 25, 2014

Could you show the stack info of null exception?

@kuhnen
Copy link
Author

kuhnen commented Feb 25, 2014

Thanks for your reply, that is the error that I get when I try to run a query
ERROR core.JobRunShell: Job hadoop.7 threw an unhandled Exception:
java.lang.NullPointerException
at org.apache.hadoop.hive.hwi.query.QueryRunner.queryToCmds(QueryRunner.java:153)
at org.apache.hadoop.hive.hwi.query.QueryRunner.runQuery(QueryRunner.java:117)
at org.apache.hadoop.hive.hwi.query.QueryRunner.execute(QueryRunner.java:76)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
14/02/25 11:48:53 ERROR core.ErrorLogger: Job (hadoop.7 threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
at org.quartz.core.JobRunShell.run(JobRunShell.java:224)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
Caused by: java.lang.NullPointerException
at org.apache.hadoop.hive.hwi.query.QueryRunner.queryToCmds(QueryRunner.java:153)
at org.apache.hadoop.hive.hwi.query.QueryRunner.runQuery(QueryRunner.java:117)
at org.apache.hadoop.hive.hwi.query.QueryRunner.execute(QueryRunner.java:76)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
... 1 more

@padmalcom
Copy link

Getting the same with Hive 0.13.0.

pensz added a commit to pensz/hwi that referenced this issue Apr 28, 2014
@pensz
Copy link
Contributor

pensz commented Apr 28, 2014

@padmalcom Try this branch: https://github.com/pensz/hwi/tree/fixissue23 .

@kuhnen
Copy link
Author

kuhnen commented Apr 29, 2014

Not working, need to fix the issue with HiveHistory interface and HiveHistoryImpl

sp3c73r2038 added a commit that referenced this issue Apr 29, 2014
@joshfg
Copy link

joshfg commented Jul 2, 2014

bump. Has anyone managed to fix the problem with HiveHistoryImpl?

@pensz
Copy link
Contributor

pensz commented Jul 3, 2014

We plan to fix it in next quarter.
Any pull request will be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants