README.rst 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. Welcome to Livy, the REST Spark Server
  2. ======================================
  3. Livy is an open source REST interface for interacting with a remote Spark Shell
  4. running locally or from inside YARN.
  5. Prerequisites
  6. =============
  7. To build Livy, you will need:
  8. Debian/Ubuntu:
  9. * mvn (from ``maven`` package or maven3 tarball)
  10. * openjdk-7-jdk (or Oracle Java7 jdk)
  11. Redhat/CentOS:
  12. * mvn (from ``maven`` package or maven3 tarball)
  13. * java-1.7.0-openjdk (or Oracle Java7 jdk)
  14. Building Livy
  15. =============
  16. Livy is normally built by the `Hue Build System`_, it can also be built on it's
  17. own (aka without any other Hue dependency) with `Apache Maven`_. To build, run:
  18. $ cd $HUE_HOME/apps/spark/java
  19. $ mvn -DskipTests clean package
  20. .. _Hue Build System: https://github.com/cloudera/hue/#getting-started
  21. .. _Apache Maven: http://maven.apache.org
  22. Running Tests
  23. =============
  24. In order to run the Livy Tests, first follow the instructions in `Building
  25. Livy`_. Then run:
  26. $ cd $HUE_HOME/apps/spark/java
  27. $ mvn test
  28. Community
  29. =========
  30. * User group: http://groups.google.com/a/cloudera.org/group/hue-user
  31. * Jira: https://issues.cloudera.org/browse/HUE
  32. * Reviews: https://review.cloudera.org/dashboard/?view=to-group&group=hue (repo 'hue-rw')
  33. License
  34. =======
  35. Apache License, Version 2.0
  36. http://www.apache.org/licenses/LICENSE-2.0