标签:
Below is a set of endpoints available on a Mesos agent. These endpoints are reachable at the address http://ip:port/endpoint.
For example, http://agent.com:5051/files/browse
files:
PS:
This endpoint reads data from a file at a given offset and for a given length. Query parameters:
1
2
3
|
path=VALUE The path of directory to browse.
offset=VALUE Value added to base address to obtain a second address
length=VALUE Length of file to read.
|
个人理解:length是此次阅读的最大行数。
offset是从stderr文件的第几行开始阅读
标签:
原文地址:http://www.cnblogs.com/zhangmingcheng/p/5800338.html