You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@toree.apache.org by lr...@apache.org on 2018/01/03 01:17:06 UTC
[1/2] incubator-toree-website git commit: [MINOR] Remove obsolete
files
Repository: incubator-toree-website
Updated Branches:
refs/heads/master 1356d356b -> 2460656d4
[MINOR] Remove obsolete files
Project: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/commit/92a637f7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/tree/92a637f7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/diff/92a637f7
Branch: refs/heads/master
Commit: 92a637f71d486a77c0152417a984dd2acd92b1b5
Parents: 1356d35
Author: Luciano Resende <lr...@apache.org>
Authored: Sun Apr 16 11:49:54 2017 -0700
Committer: Luciano Resende <lr...@apache.org>
Committed: Sun Apr 16 11:49:54 2017 -0700
----------------------------------------------------------------------
.../img/docs-img/lens-interpreter-binding.png | Bin 78255 -> 0 bytes
.../img/docs-img/lens-interpreter-setting.png | Bin 73297 -> 0 bytes
.../themes/apache/img/docs-img/lens-logo.png | Bin 223040 -> 0 bytes
.../themes/apache/img/docs-img/lens-result.png | Bin 57509 -> 0 bytes
.../apache/img/docs-img/lens-ui-service.png | Bin 87865 -> 0 bytes
5 files changed, 0 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/92a637f7/site/assets/themes/apache/img/docs-img/lens-interpreter-binding.png
----------------------------------------------------------------------
diff --git a/site/assets/themes/apache/img/docs-img/lens-interpreter-binding.png b/site/assets/themes/apache/img/docs-img/lens-interpreter-binding.png
deleted file mode 100644
index 11b96ed..0000000
Binary files a/site/assets/themes/apache/img/docs-img/lens-interpreter-binding.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/92a637f7/site/assets/themes/apache/img/docs-img/lens-interpreter-setting.png
----------------------------------------------------------------------
diff --git a/site/assets/themes/apache/img/docs-img/lens-interpreter-setting.png b/site/assets/themes/apache/img/docs-img/lens-interpreter-setting.png
deleted file mode 100644
index 867e1d6..0000000
Binary files a/site/assets/themes/apache/img/docs-img/lens-interpreter-setting.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/92a637f7/site/assets/themes/apache/img/docs-img/lens-logo.png
----------------------------------------------------------------------
diff --git a/site/assets/themes/apache/img/docs-img/lens-logo.png b/site/assets/themes/apache/img/docs-img/lens-logo.png
deleted file mode 100644
index 2606b4e..0000000
Binary files a/site/assets/themes/apache/img/docs-img/lens-logo.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/92a637f7/site/assets/themes/apache/img/docs-img/lens-result.png
----------------------------------------------------------------------
diff --git a/site/assets/themes/apache/img/docs-img/lens-result.png b/site/assets/themes/apache/img/docs-img/lens-result.png
deleted file mode 100644
index e5d48f6..0000000
Binary files a/site/assets/themes/apache/img/docs-img/lens-result.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/92a637f7/site/assets/themes/apache/img/docs-img/lens-ui-service.png
----------------------------------------------------------------------
diff --git a/site/assets/themes/apache/img/docs-img/lens-ui-service.png b/site/assets/themes/apache/img/docs-img/lens-ui-service.png
deleted file mode 100644
index ec223d4..0000000
Binary files a/site/assets/themes/apache/img/docs-img/lens-ui-service.png and /dev/null differ
[2/2] incubator-toree-website git commit: [TOREE-443] Update docs
with new config for context initialization
Posted by lr...@apache.org.
[TOREE-443] Update docs with new config for context initialization
Document the new --spark-context-initialization-timeout command line
option.
Closes #6
Project: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/commit/2460656d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/tree/2460656d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/diff/2460656d
Branch: refs/heads/master
Commit: 2460656d4acc03f96291c5f17286e2e1c320a5f2
Parents: 92a637f
Author: Sanjay Saxena <sa...@gmail.com>
Authored: Mon Nov 20 13:15:25 2017 -0800
Committer: Luciano Resende <lr...@apache.org>
Committed: Tue Jan 2 17:14:07 2018 -0800
----------------------------------------------------------------------
site/docs/current/user/installation.md | 66 +++++++++++++++--------------
1 file changed, 35 insertions(+), 31 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/2460656d/site/docs/current/user/installation.md
----------------------------------------------------------------------
diff --git a/site/docs/current/user/installation.md b/site/docs/current/user/installation.md
index 5e0f329..6bd338d 100644
--- a/site/docs/current/user/installation.md
+++ b/site/docs/current/user/installation.md
@@ -11,13 +11,13 @@ tagline: Apache Project !
# Installation
-## Setup
+## Setup
An Apache Spark distribution is required to be installed before installing Apache Toree. You can download a copy of Apache Spark [here](http://spark.apache.org/downloads.html). Throughout the rest of this guide we will assume you have downloaded and extracted the Apache Spark distribution to `/usr/local/bin/apache-spark/`.
## Installing Toree via Pip
-The quickest way to install Apache Toree is through the toree pip package.
+The quickest way to install Apache Toree is through the toree pip package.
```
pip install toree
@@ -81,8 +81,8 @@ on full configurables, see '--help-all'.
# Configuring Spark
Toree is started using the `spark-submit` script. All configuration options from Spark are consistent with configuring
-a [Spark Submit](http://spark.apache.org/docs/latest/submitting-applications.html) job. There are two ways of
-setting configuration options for Spark.
+a [Spark Submit](http://spark.apache.org/docs/latest/submitting-applications.html) job. There are two ways of
+setting configuration options for Spark.
The first is at install time with the `--spark_opts` command line option.
@@ -93,7 +93,7 @@ jupyter toree instal --spark_opts='--master=local[4]'
The second option is configured at run time through the `SPARK_OPTS` environment variable.
```
-SPARK_OPTS='--master=local[4]' jupyter notebook
+SPARK_OPTS='--master=local[4]' jupyter notebook
```
__Note:__ There is an order of precedence to the configuration options. `SPARK_OPTS` will overwrite any values configured in `--spark_opts`.
@@ -101,28 +101,33 @@ __Note:__ There is an order of precedence to the configuration options. `SPARK_O
# Configuring Toree
-There are some configuration options that are specific to Toree.
-
-```
-Option Description
------- -----------
---default-interpreter default interpreter for the kernel
---default-repositories comma seperated list of additional
- repositories to resolve
---default-repository-credentials comma seperated list of credential
- files to use
--h, --help display help information
---interpreter-plugin ip used to bind sockets
---jar-dir directory where user added jars are
- stored (MUST EXIST)
---magic-url path to a magic jar
---max-interpreter-threads <Integer> total number of worker threads to use
- to execute code
---nosparkcontext kernel should not create a spark context
--v, --version display version information
-```
-
-There are two way of setting these configuration options.
+There are some configuration options that are specific to Toree.
+
+```
+Option Description
+------ -----------
+--default-interpreter default interpreter for the kernel
+--default-repositories comma separated list of additional
+ repositories to resolve
+--default-repository-credentials comma separated list of credential
+ files to use
+-h, --help display help information
+--interpreter-plugin
+--ip used to bind sockets
+--jar-dir directory where user added jars are
+ stored (MUST EXIST)
+--magic-url path to a magic jar
+--max-interpreter-threads <Integer> total number of worker threads to use
+ to execute code
+--spark-context-initialization-timeout <Long> number of milliseconds allowed for
+ creation of the spark context; default
+ is 100 milliseconds
+--nosparkcontext kernel should not create a spark
+ context
+-v, --version display version information
+```
+
+There are two way of setting these configuration options.
The first is at install time with the `--toree_opts` command line option.
@@ -133,7 +138,7 @@ jupyter toree instal --toree_opts='--nosparkcontext'
The second option is configured at run time through the `TOREE_OPTS` environment variable.
```
-TOREE_OPTS='--nosparkcontext' jupyter notebook
+TOREE_OPTS='--nosparkcontext' jupyter notebook
```
__Note:__ There is an order of precedence to the configuration options. `TOREE_OPTS` will overwrite any values configured in `--toree_opts`.
@@ -158,8 +163,8 @@ The available interpreters and their supported languages are:
| SQL | Spark SQL | SQL |
### Interpreter Requirements
-* R version 3.2+
-* Make sure that the packages directory used by R when installing packages is writable, necessary to installed modified SparkR library. This is done automatically before any R code is run.
+* R version 3.2+
+* Make sure that the packages directory used by R when installing packages is writable, necessary to installed modified SparkR library. This is done automatically before any R code is run.
If the package directory is not writable by the Apache Toree, then you should see an error similar to the following:
@@ -172,4 +177,3 @@ Error in install.packages("sparkr_bundle.tar.gz", repos = NULL, type = "source")
unable to install packages
Execution halted
```
-