Add a query parameter to job list interface.

Description

We use Alluxio 2.1.2. Due to the alluxio.user.file.writetype.default=ASYNC_THROUGH, we have to make sure the data is persistent. So we need an interface to monitor jobs, especially persist jobs. We read the code,find the following urls.

1、http://xxx.xxx.xxx.xxx:20002/api/v1/master/job/list
2、http://xxx.xxx.xxx.xxx:20002/api/v1/master/job/get_status?jobId=1582614078889

First url to get all jobs, second url be uesd to find the detail of one job. So it's not convenient. If the first interface can get a query parameter, the parameter is used to distinguish job types. That would be good.

Environment

jdk1.8,CentOS Linux release 7.3.1611 (Core) , Alluxio version 2.1.2

Assignee

Unassigned

Reporter

fangyan zhang

Labels

None

Components

Affects versions

Priority

Major
Configure