-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
ZEPPELIN-925 Merge HiveInterpreter into JDBCInterpreter #943
Conversation
@minahlee Could you please review this PR, especially setting dependencies? |
That failure is irrelevant to this PR.
|
re-trigger |
CI is failing by this test
@jongyoul could you please create a new JIRA issue with label Otherwise, converging interpreters to JDBC looks great to me! May be we should keep in docs somewhere a notice for Hive users, something like "If you want to use Hive - please use it though JDBC interpreter, configuring it like this ...", how do you think? So if somebody wants to use Zeppelin with Hive - he should be able to understand from the website\docs that it is indeed supported use-case, and he should be using JDBC (and not a special interpreter \w ThriftClient) |
@bzz What you have seen is different from the first error. Have you ever seen the first one before? I'll make a new issue for second error with And it's good to remain documentation about hive until - may be - 0.7.0 to guide that users use a JDBC interpreter to use hive. I'll update hive.md again. |
ORDER BY count ${order=DESC,DESC|ASC} | ||
LIMIT ${limit=10}; | ||
``` | ||
Hive Interpreter is merged into JDBC Interpreter. You can see JDBC Interpreter [here](./jdbc.html) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is common to use Zeppelin with hive and the configuration values and example might still be useful in documentation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@felixcheung I've also update an example to use hive in JDBC interpreter here Do you think it's better to remain them in this page? I also agree with you. I'll update it.
@felixcheung How about it? And another option is to remain hive.md originally and add message of moving it into JDBC Interpreter on the top of page. Which do you think is better? |
</tr> | ||
</table> | ||
### Dependencies | ||
<table> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jongyoul Could you change this line to <table class="table-configuration">
instead of <table>
?
re-trigger |
FROM retail_demo.order_lineitems_pxf | ||
GROUP BY ${group_by=product_id,product_id|product_name|customer_id|store_id} | ||
ORDER BY count ${order=DESC,DESC|ASC} | ||
LIMIT ${limit=10}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this example stoped working with the JDBC interpreter?
Otherwise it would be nice to keep it too, as that is something valuable to a user.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bzz JDBC Interpreter covers all of Hive Interpreter features. Then, how about adding a link and messages like that This is deprecated. You'd better use JDBC Interpreter
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since the dynamic form example isn't hive specific, maybe it is ok not to have it. though i agree it's generally nicer to have more documentation ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bzz @felixcheung OK. I'll revert hive.md and add some notification about how to move hive to jdbc. I also think it would be better and less confusion to existing users.
49c2152
to
b8821f9
Compare
Update documentation and rebase it from current master |
@felixcheung @bzz @minahlee @AhyoungRyu I've reverted hive.md and updated documentation. Please check it finally. |
Hi @jongyoul, great job with all integrations in the jdbc interpreter. |
@vgmartinez Now, Zeppelin enable load dependencies dynamically, thus if you set dependencies in your interpreter tab, it works. Thus, we don't have to include any dependencies any more. See an example below: |
@jongyoul ok ok, all external dependencies loaded them that way. I have been a time out...;) |
@jongyoul Yeah looks good :) |
Merging there's no more discussion |
This reverts commit e6822b6.
What is this PR for?
This removes hive module and adds example setting for using Hive in a JdbcInterpreter by using loading dynamic dependencies. It reduces Zeppelin's binary size.
There's no codes' modification except removing hive directory and remove the module from pom.xml
What type of PR is it?
[Feature]
Todos
What is the Jira issue?
How should this be tested?
Set the interpreter properties and test it
Screenshots (if appropriate)
Questions: