Brak opisu

Yiheng Wang f7961924e4 [LIVY-582][TESTS] Hostname in python-api test should be lower case to avoid test failures 5 lat temu
.github 328425d05a [MINOR] There is some typo in PULL_REQUEST_TEMPLATE 6 lat temu
api 50e4efe446 [BUILD] Bump master version to 0.7.0. 6 lat temu
assembly 07d216d33a [BUILD] Add "apache" prefix to release archives. 6 lat temu
bin 134713d705 [LIVY-494] Add thriftserver to Livy server 6 lat temu
client-common d5b27dd430 [DOCS] Fix Javadoc 8 errors. 6 lat temu
client-http 50e4efe446 [BUILD] Bump master version to 0.7.0. 6 lat temu
conf 954ec21204 [LIVY-508][SERVER] Support custom auth filter for livy server 6 lat temu
core 50e4efe446 [BUILD] Bump master version to 0.7.0. 6 lat temu
coverage 50e4efe446 [BUILD] Bump master version to 0.7.0. 6 lat temu
dev 07d216d33a [BUILD] Add "apache" prefix to release archives. 6 lat temu
docs 50e4efe446 [BUILD] Bump master version to 0.7.0. 6 lat temu
examples 50e4efe446 [BUILD] Bump master version to 0.7.0. 6 lat temu
integration-test 50e4efe446 [BUILD] Bump master version to 0.7.0. 6 lat temu
python-api f7961924e4 [LIVY-582][TESTS] Hostname in python-api test should be lower case to avoid test failures 5 lat temu
repl 50e4efe446 [BUILD] Bump master version to 0.7.0. 6 lat temu
rsc 5abc043708 [LIVY-563] Propagate RSC configuration when creating sessions. 6 lat temu
scala 50e4efe446 [BUILD] Bump master version to 0.7.0. 6 lat temu
scala-api 50e4efe446 [BUILD] Bump master version to 0.7.0. 6 lat temu
server 5abc043708 [LIVY-563] Propagate RSC configuration when creating sessions. 6 lat temu
test-lib 50e4efe446 [BUILD] Bump master version to 0.7.0. 6 lat temu
thriftserver 1c914a1f0f [LIVY-572] Avoid usage of spark classes in ColumnBuffer 6 lat temu
.gitignore ec8dffdaa2 [MINOR][BUILD] Improve release-build script 7 lat temu
.rat-excludes 06cfa7bce2 [MINOR] Fix travis builds 7 lat temu
.travis.yml 2240c715d3 [LIVY-557] Make Travis-CI logs less verbose 6 lat temu
DISCLAIMER cbed3b6a03 [MINOR] Add Incubating DISCLAIMER file 7 lat temu
LICENSE be3fe03457 [LIVY-384][DOCS] Added ability to build Livy Docs 7 lat temu
NOTICE f47b742cc4 [LIVY-440] Update copyright year to 2018 7 lat temu
README.md e5489d0e15 [MINOR] Fix instructions on how to build Livy. 6 lat temu
checkstyle-suppressions.xml 7d8fa69f18 [LIVY-491][LIVY-492][LIVY-493] Add Thriftserver module and implementation 6 lat temu
checkstyle.xml 412ccc8fcf LIVY-375. Change Livy code package name to org.apache.livy 7 lat temu
pom.xml 6ad9ae9607 [LIVY-603][BUILD] Upgrade build spark version to 2.4.3 5 lat temu
scalastyle.xml 412ccc8fcf LIVY-375. Change Livy code package name to org.apache.livy 7 lat temu

README.md

Apache Livy

Build Status

Apache Livy is an open source REST interface for interacting with Apache Spark from anywhere. It supports executing snippets of code or programs in a Spark context that runs locally or in Apache Hadoop YARN.

  • Interactive Scala, Python and R shells
  • Batch submissions in Scala, Java, Python
  • Multiple users can share the same server (impersonation support)
  • Can be used for submitting jobs from anywhere with REST
  • Does not require any code change to your programs

Pull requests are welcomed! But before you begin, please check out the Contributing section on the Community page of our website.

Online Documentation

Guides and documentation on getting started using Livy, example code snippets, and Livy API documentation can be found at livy.incubator.apache.org.

Before Building Livy

To build Livy, you will need:

Debian/Ubuntu:

  • mvn (from maven package or maven3 tarball)
  • openjdk-8-jdk (or Oracle JDK 8)
  • Python 2.7+
  • R 3.x

Redhat/CentOS:

  • mvn (from maven package or maven3 tarball)
  • java-1.8.0-openjdk (or Oracle JDK 8)
  • Python 2.7+
  • R 3.x

MacOS:

  • Xcode command line tools
  • Oracle's JDK 1.8
  • Maven (Homebrew)
  • Python 2.7+
  • R 3.x

Required python packages for building Livy:

  • cloudpickle
  • requests
  • requests-kerberos
  • flake8
  • flaky
  • pytest

To run Livy, you will also need a Spark installation. You can get Spark releases at https://spark.apache.org/downloads.html.

Livy requires Spark 2.2+. You can switch to a different version of Spark by setting the SPARK_HOME environment variable in the Livy server process, without needing to rebuild Livy.

Building Livy

Livy is built using Apache Maven. To check out and build Livy, run:

git clone https://github.com/apache/incubator-livy.git
cd incubator-livy
mvn package

By default Livy is built against Apache Spark 2.2.0, but the version of Spark used when running Livy does not need to match the version used to build Livy. Livy internally handles the differences between different Spark versions.

The Livy package itself does not contain a Spark distribution. It will work with any supported version of Spark without needing to rebuild.