如何对DSX预定笔记本进行故障排除? [英] How to troubleshoot a DSX scheduled notebook?

查看:127
本文介绍了如何对DSX预定笔记本进行故障排除?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个DSX笔记本,可以使用DSX用户界面手动运行它,并在Cloudant数据库中填充一些数据。

I have a DSX notebook that I can run manually usng the DSX user interface and it populates some data in a Cloudant database.

我已计划运行笔记本每小时。一夜之间,我希望该作业可以运行很多次,但是Cloudant数据库尚未更新。

I have scheduled the notebook to run hourly. Overnight I would have expected the job to have run many times, but the Cloudant database has not been updated.

我如何调试预定的作业?我是否可以检查任何日志以验证笔记本是否已实际执行?笔记本的输出是否保存到日志文件?在哪里可以找到这些文件?

How can I debug the scheduled job? Are there any logs that I can check to verify that the notebook has actually been executed? Is the output from my notebook saved to log files? Where can I find these files?

推荐答案

一种可能性是查看笔记本内核的内核日志。为此,您需要使用Python笔记本。

One possibility is to look into the kernel logs of your notebook kernel. For that you need to use a Python notebook.

在Python笔记本中的 gpfs​​ 上检查以下位置:

Check the following location on the gpfs in your Python notebook:

!ls /gpfs/fs01/user/USERID/logs/notebook/

要获取USERID,请执行以下代码:

To get the USERID execute the following code:

!whoami

您应该为每个内核找到一个日志文件,例如内核-python3-20170105_102510。

You should find for each kernel a log file, e.g. kernel-python3-20170105_102510.

这篇关于如何对DSX预定笔记本进行故障排除?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆