Join us on Wednesday, June 3rd for a deep dive into Customer Predictive Analytics Learn more

Kernel Error on Notebook Jupyter

Level 1
Kernel Error on Notebook Jupyter

Hello,

 

When i try to run my jupyter notebook on DSS, I have this error : 


Traceback (most recent call last):
File "/home/dataiku/dataiku-dss-5.1.5/python.packages/tornado/web.py", line 1592, in _execute
result = yield result
File "/home/dataiku/dataiku-dss-5.1.5/python.packages/tornado/gen.py", line 1133, in run
value = future.result()
File "/home/dataiku/dataiku-dss-5.1.5/python.packages/tornado/concurrent.py", line 261, in result
raise_exc_info(self._exc_info)
File "/home/dataiku/dataiku-dss-5.1.5/python.packages/tornado/gen.py", line 1141, in run
yielded = self.gen.throw(*exc_info)
File "/home/dataiku/dataiku-dss-5.1.5/dku-jupyter/packages/notebook/services/sessions/handlers.py", line 81, in post
user=self.get_current_user(),
File "/home/dataiku/dataiku-dss-5.1.5/python.packages/tornado/gen.py", line 1133, in run
value = future.result()
File "/home/dataiku/dataiku-dss-5.1.5/python.packages/tornado/concurrent.py", line 261, in result
raise_exc_info(self._exc_info)
File "/home/dataiku/dataiku-dss-5.1.5/python.packages/tornado/gen.py", line 1141, in run
yielded = self.gen.throw(*exc_info)
File "/home/dataiku/dataiku-dss-5.1.5/dku-jupyter/packages/notebook/dataiku/sessionmanager.py", line 87, in create_session
DKU_EXTRA_ENV= dku_extra_env)
File "/home/dataiku/dataiku-dss-5.1.5/python.packages/tornado/gen.py", line 1133, in run
value = future.result()
File "/home/dataiku/dataiku-dss-5.1.5/python.packages/tornado/concurrent.py", line 261, in result
raise_exc_info(self._exc_info)
File "/home/dataiku/dataiku-dss-5.1.5/python.packages/tornado/gen.py", line 1141, in run
yielded = self.gen.throw(*exc_info)
File "/home/dataiku/dataiku-dss-5.1.5/dku-jupyter/packages/notebook/services/sessions/sessionmanager.py", line 96, in start_kernel_for_session
self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name, **kwargs)
File "/home/dataiku/dataiku-dss-5.1.5/python.packages/tornado/gen.py", line 1133, in run
value = future.result()
File "/home/dataiku/dataiku-dss-5.1.5/python.packages/tornado/concurrent.py", line 261, in result
raise_exc_info(self._exc_info)
File "/home/dataiku/dataiku-dss-5.1.5/python.packages/tornado/gen.py", line 326, in wrapper
yielded = next(result)
File "/home/dataiku/dataiku-dss-5.1.5/dku-jupyter/packages/notebook/services/kernels/kernelmanager.py", line 148, in start_kernel
super(MappingKernelManager, self).start_kernel(**kwargs)
File "/home/dataiku/dataiku-dss-5.1.5/python.packages/jupyter_client/multikernelmanager.py", line 110, in start_kernel
km.start_kernel(**kwargs)
File "/home/dataiku/dataiku-dss-5.1.5/python.packages/jupyter_client/manager.py", line 259, in start_kernel
**kw)
File "/home/dataiku/dataiku-dss-5.1.5/dku-jupyter/packages/notebook/dataiku/kernelmanager.py", line 229, in _launch_kernel
with open(tasks_file, "w") as f:
IOError: [Errno 2] No such file or directory: u'/sys/fs/cgroup/memory/DSS/notebooks/admin/tasks'

 

Can you help me ? 

 

Thanks,

Ghazi

1 Reply
Dataiker
Dataiker

using cgroups implies some system setup (see for example https://doc.dataiku.com/dss/latest/operations/cgroups.html#configuration-example-1). The /sys/fs/cgroup/memory/DSS/ and /sys/fs/cgroup/cpu/DSS/ hierarchies have to be created outside DSS by the machine administrator, and given the sufficient rights for DSS to add cgroups in there.