From 78920739e7f5c3e1ee6d6c4632e513aabf108eb2 Mon Sep 17 00:00:00 2001 From: Luciano Resende Date: Thu, 19 Jan 2017 12:39:03 -0800 Subject: Lifecycle management for Toree Gateway The lifecycle enables starting/stopping the remote Toree instance when a Notebook is started/stopped. This also includes other minor changes to support Python 3.5.x --- .../resources/toree-gateway.properties.template | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/main/resources/toree-gateway.properties.template (limited to 'src/main/resources/toree-gateway.properties.template') diff --git a/src/main/resources/toree-gateway.properties.template b/src/main/resources/toree-gateway.properties.template new file mode 100644 index 0000000..67be1ed --- /dev/null +++ b/src/main/resources/toree-gateway.properties.template @@ -0,0 +1,29 @@ +# +# (C) Copyright IBM Corp. 2017 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + + +[general] +gateway.home=/opt/toree-gateway + +spark.master=spark://9.30.137.220:7077 +#spark.cpus=4 +#spark.memory=1g + +toree.ip=9.30.137.220 +toree.username=spark +toree.password=whoopi +toree.home=/u/home/SPARK/toree + -- cgit v1.2.3