How do you tail oozie job logs?

為{幸葍}努か 提交于 2019-12-10 18:59:12

问题


I typically check logs with this command:

 $ oozie job -oozie http://localhost:8080/oozie -log 14-20090525161321-oozie-joe

This will print everything. However I want to only see the last few lines.

How can i tail oozie job logs?

Thanks


回答1:


As Chris suggested above use this to print last 10 lines

$ oozie job -oozie oozie_URL -log job_ID | tail -n 10


来源:https://stackoverflow.com/questions/17918706/how-do-you-tail-oozie-job-logs

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!