randerzander / jupyter-service Goto Github PK
View Code? Open in Web Editor NEWAmbari Service definition for an Jupyter (IPython3) Notebook service
Ambari Service definition for an Jupyter (IPython3) Notebook service
When the service first starts, the Ambari Dashboard shows a green status indicator. After a minute or so, it goes red, despite the fact that the service is still live.
Installed on Ambari 2.0.1, HDP 2.2. HDFS/YARN/Tez/Zookeeper/Spark/Metrics
words = sc.textFile("file:///tmp/hello.txt")
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-1-3ddcf4589bfc> in <module>()
----> 1 words = sc.textFile("file:///tmp/hello.txt")
NameError: name 'sc' is not defined
I'm getting this error when trying to install the service:
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/stacks/HDP/2.3/services/jupyter-service/package/scripts/ambari/master.py", line 41, in
Master().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 218, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.3/services/jupyter-service/package/scripts/ambari/master.py", line 9, in install
helpers.add_repos()
File "/var/lib/ambari-agent/cache/stacks/HDP/2.3/services/jupyter-service/package/scripts/ambari/ambari_helpers.py", line 13, in add_repos
for repo in os.listdir(repo_dir):
UnboundLocalError: local variable 'repo_dir' referenced before assignment
It would be great to add NLTK to the default set of packages installed.
I have a cluster with HDP 2.4.2 and Ambari 2.2.2 with Kerberos authentication on CentOS 7.
After solved the issue in file ambari_helper.py
(see issue #6) I try to reinstall Jupyter but I get this message error
resource_management.core.exceptions.Fail: Execution of 'hadoop fs -mkdir -p /user/jupyter' returned 1. 16/07/26 16:08:30 WARN ipc.Client: Exception encountered while connecting to the server :
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
("Create Principals" and "Create Keytabs" have finished "OK".)
Thanks in advance.
seems there is a python 2.7.9 conflict with the installer in Centos/RHEL 6.6
Will this service work with a kerberos secure cluster?
Is this jupyter ipython notebook multiuser now? Or do I have to use https://github.com/jupyter/jupyterhub instead of this service?
Thanks
Hi,
I installed this service on a cluster of 5 host (Jupyther server on host-4 and client on the other ones). Each hosts have 8 cores.
When I see on the tab "Cluster" of Jupiter Web UI" it tells that only 8 cores are available: I expect that should be all host-clients in this tab!
Any suggestions?
Whenever i run localhost:9999 on my host server, Jupyter stops in Ambari, any work around for this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.