...
Install and configure Toree Jupyter kernel
Optionally you can build and install toree.
Code Block | ||||
---|---|---|---|---|
| ||||
sudo -H pip install --upgrade --pre toree |
In the next block, we'll use the geomesa-compute jar from step 3 above. You can download it or build it.
Code Block | ||||
---|---|---|---|---|
| ||||
export GEOMESA_LIB=${GEOMESA_HOME}/lib ${GEOMESA_HOME}/bin/install-jai.sh jupyter toree install\ --replace\ --user\ --kernel_name="Spark GeoMesa"\ --spark_home=${SPARK_HOME}\ --spark_opts="--master yarn --jars file://${GEOMESA_LIB}/common/jai_core-1.1.3.jar,file://${GEOMESA_LIB}/common/jai_codec-1.1.3.jar,file://${GEOMESA_LIB}/common/jai_imageio-1.1.jar,file://${GEOMESA_SRC}/geomesa-compute_2.10-1.2.5-shaded.jar" |
...