public class WorkerInfoUtil extends Object
Constructor and Description |
---|
WorkerInfoUtil() |
Modifier and Type | Method and Description |
---|---|
static AllMastersWorkerInfo |
getWorkerReportsFromAllMasters(AlluxioConfiguration configuration,
BlockMasterClient primaryMasterClient,
GetWorkerReportOptions options)
Get worker reports from all masters, including standby masters.
|
public static AllMastersWorkerInfo getWorkerReportsFromAllMasters(AlluxioConfiguration configuration, BlockMasterClient primaryMasterClient, GetWorkerReportOptions options) throws IOException
configuration
- the cluster configurationprimaryMasterClient
- the block master client connecting to the primaryoptions
- the options to make the GetWorkerReport rpcIOException
Copyright © 2023. All Rights Reserved.