GitHub user rajarajan-g opened a pull request:
https://github.com/apache/zeppelin/pull/1467
[ZEPPELIN-1488] JDBC Interpreter throws error while the interpreter is
downloading dependencies
### What is this PR for?
For first time, when we add dependencies for JDBC interpreter, dependencies
will start getting downloaded in background. During that time, if user runs a
paragraph of JDBC interpreter now user getting error , But instead paragraph
execution should be put on 'PENDING' state and wait for dependencies to get
downloaded and then run the paragraph
### What type of PR is it?
Bug Fix
### Todos
### What is the Jira issue?
[ZEPPELIN-1488] https://issues.apache.org/jira/browse/ZEPPELIN-1488
### How should this be tested?
prerequisites:
1. Any DB setup.(For my testing, i considered hive)
Steps:
1. Delete the local-repo folder under zeppelin project, if it exists
2. Go to interpreter settings page, provide hive connection details under
JDBC interprepreter
3. For hive interpreter to run, it needs some dependencies to be added in
interpreter settings page
For hive below dependencies needs to added
1. org.apache.hive:hive-jdbc:0.14.0
2. org.apache.hadoop:hadoop-common:2.6.0
4. Once the settings for JDBC interpreter is saved, dependencies will start
getting downloaded in background.
5. Run any paragraph with JDBC as interpreter, paragraph should not throw
error, status of the paragraph should change to 'pending' while the
dependencies are getting downloaded in background.
6. Once the downloading of dependencies is done, the paragraph which were
in pending will start executing in order depending on the execution mode of the
interpreter (i.e Shared, Scoped, Isolated)
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rajarajan-g/zeppelin ZEPPELIN-1488
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/1467.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1467
----
commit 4f7b9381713537a9e90e3cb1e90c128f2833be81
Author: rajarajan-g <[email protected]>
Date: 2016-09-27T15:17:02Z
code fix for ZEPPELIN-1488
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---