GitHub user meenakshisekar reopened a pull request: https://github.com/apache/zeppelin/pull/1548
[ZEPPELIN-917] Apply new mechanism to LensInterpreter ### What is this PR for? This handles replacing the registration of interpreter with static block by the interpreter-setting.json file ### What type of PR is it? [| Improvement | ### Todos Sub-Task ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-917 ### How should this be tested? here shouldn't be any warning like below on starting the server INFO [2016-09-29 00:25:46,247] ({main} LensInterpreter.java[<clinit>]:155) - Bootstrapping Cassandra Interpreter WARN [2016-09-29 00:25:46,250] ({main} Interpreter.java[register]:347) - Static initialization is deprecated for interpreter lens, You should change it to use interpreter-setting.json in your jar or interpreter/{interpreter}/interpreter-setting.json INFO [2016-09-29 00:25:46,250] ({main} InterpreterFactory.java[init]:204) - Inclass=org.apache.zeppelin.lens.LensInterpreter And ensure that the lens related paragraphs run without any error ### 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/meenakshisekar/zeppelin ZEPPELIN-917 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1548.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 #1548 ---- commit db2827f867199cdd5e3fe2bc05f614dd88e013f5 Author: meenakshisekar <meenakshi.chandrase...@imaginea.com> Date: 2016-10-21T09:59:38Z Commented the properties in interpreter file and added setting file. commit f94c8a3d44d441174fff2e89708e9ec62c1f5d22 Author: meenakshisekar <meenakshi.chandrase...@imaginea.com> Date: 2016-10-21T11:41:58Z Commented the properties in interpreter file and added setting file. commit ad3b83ca856c54727f1ffef324f187f69a276c83 Author: meenakshisekar <meenakshi.chandrase...@imaginea.com> Date: 2016-10-24T11:57:46Z Added indentation ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---