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

[ZEPPELIN-1038] Add Solr interpreter #1054

Closed
wants to merge 1 commit into from
Closed

[ZEPPELIN-1038] Add Solr interpreter #1054

wants to merge 1 commit into from

Conversation

mosuka
Copy link

@mosuka mosuka commented Jun 21, 2016

What is this PR for?

Solr 6.1.0 that supports the SQL has been released. I propose to add interpreter to Zeppelin.
It is a PR for facilitate the visualization and analysis of the index in Solr with Zeppelin.

What type of PR is it?

Feature

Todos

  • - PR
  • - Unit-test
  • - Document

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-1038

How should this be tested?

Added unit-tests, also manual testing with sample data.

$ mvn clean test -pl zeppelin-interpreter -pl solr
[INFO] Scanning for projects...

[...]

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.zeppelin.solr.SolrSqlInterpreterTest
Creating dataDir: /private/var/folders/99/p369dv7n5sqdl9rdvyx0vqzr0000gn/T/org.apache.zeppelin.solr.SolrSqlInterpreterTest_589C7DC8E23A0BDC-001/init-core-data-001
log4j:WARN No appenders could be found for logger (org.eclipse.jetty.util.log).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Jun 21, 2016 9:36:10 AM com.carrotsearch.randomizedtesting.ThreadLeakControl checkThreadLeaks
WARNING: Will linger awaiting termination of 1 leaked thread(s).
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.744 sec - in org.apache.zeppelin.solr.SolrSqlInterpreterTest

Results :

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [02:31 min]
[INFO] Zeppelin: Solr interpreter ......................... SUCCESS [ 19.532 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:51 min
[INFO] Finished at: 2016-06-21T09:36:11+09:00
[INFO] Final Memory: 57M/578M
[INFO] ------------------------------------------------------------------------

Screenshots (if appropriate)

solr-config

solr-enabling-interpreter

solr-sample

Questions:

  • Does this needs more detailed documention?

@mosuka
Copy link
Author

mosuka commented Jun 21, 2016

Interpreter to use the JDBC driver looks to be integrated into the JDBC Interpreter.
Close this issue.

@mosuka mosuka closed this Jun 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant