Livy is a wrapper
around spark-submit
to expose Spark as a REST service for integration with external applications.
As it is still in beta, it is not included in the CDH bundle (as of CDH 5.5.1). This scripts in this repo creates both a Livy parcel and CSD for deploying it with Cloudera Manager.
Cloudera publishes a tool for making CM parcels. Install it on your workstation like so:
mkdir -p ~/github/cloudera; cd ~/github/cloudera
git clone git@github.com:cloudera/cm_ext.git; cd cm_ext
mvn package
./build_parcel.sh <Version> <Distro>
. Example: ./build_parcel.sh 1.0 wheezy
./serve-parcel.sh
Remote Parcel Repository URLs
and click Check for New Parcels
../build_csd.sh <Version>
. Example: ./build_csd.sh 1.0
. The CSD version is independent of the
parcel version.LIVY-1.0.jar
) to CM host at /opt/cloudera/csd/
and change the ownership of the jar to
cloudera-scm:cloudera-scm
/etc/init.d/cloudera-scm-server restart
Note: Step 3 and 4 can be avoided by using the
experimental
api for installing CSDs without restarting CM with a GET https://CM:7180/cmf/csd/install?csdName=LIVY-1.0
Livy has been defined as a javabased service in CSD which enables the basic monitoring and configuration relevant to java process through CM. Additional Livy parameters has also be added to the CSD to enable configuration management from CM. We are forcing logback as the logging implementation.
As of now, custom CSDs support declaring custom montitoring metrics but no way to publish them from the service.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。