Giter VIP home page Giter VIP logo

ztools's Introduction

ZTools

JetBrains incubator project

Wrapper for scala interpreter for use with Apache Zeppelin server to provide values of variables between paragraphs execution.

Used to provide variable view functionality for Jetbrains Big Data Tools plugin.

How it works

The library allows us to access the current state of scala REPL and save the values of variables as JSON.

Some computations may be performed for some types to save state that is not accessible readily as a set of fields (for example, this is the case for the number of partitions for RDD).

These values can then be of use, in particular in Apache Zeppelin integration for Big Data Tools plugin we can show the collected values in variables view panel - an alternative to debugger evaluation in spark runtime.

Usage

To use ZTools with Big Data Tools you need to do 2 things.

  1. In Zeppelin connection settings in BDT plugin please click to Enable ZTools Integration (Experimental) and save settings.

  2. You need to install the ZTools jar to the Zeppelin server. You can do it in auto and manual ways. The automatic way is to click to Install ZTools... in a bubble that appears after enabling ZTools integration in settings. The library will be download from maven repo https://repo.labs.intellij.net/big-data-ide. During this operation, the repository and the dependency on the Zeppelin interpreter will be added.

If you do not have the permissions to add repositories and dependencies to Zeppelin interpreters you need to ask the administrators to do it manually. You can add dependency as a file jar (https://dl.bintray.com/jetbrains/zeppelin-dependencies/org/jetbrains/ztools/ztools-spark-all/0.0.13/ztools-spark-all-0.0.13.jar) or add to Zeppelin maven repo (https://jetbrains.bintray.com/zeppelin-dependencies) and maven artifact (org.jetbrains.ztools:ztools-spark-all:0.0.13).

After install, you need to run any paragraph in a Zeppelin notebook to collect data from the server.

For stand-alone usage see org.jetbrains.ztools.spark.Tools.init method for initialization and Tools.getEnv to get current state.

Resources

If you need support: Our Slack channel

Apache Zeppelin (https://zeppelin.apache.org/)

Big Data Tools (https://plugins.jetbrains.com/plugin/12494-big-data-tools)

License

Apache v2.

ztools's People

Contributors

jamesbrain avatar nashikhmin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.