Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我通常使用以下命令检查日志:
$ oozie job -oozie http://localhost:8080/oozie -log 14-20090525161321-oozie-joe
这将打印所有内容。但是我只想看到最后几行。
我如何跟踪 oozie 工作日志?
谢谢
正如克里斯上面建议的那样,使用它来打印最后 10 行
$ oozie job -oozie oozie_URL -log job_ID | tail -n 10