我要评分
获取效率
正确性
完整性
易理解

References

Table 1 loadsmetric_configfile.properties

Parameter Name

Value Range and Default Value

Description

version

0.0.1-SNAPSHOT

Software version.

user

hadoop

Installation user.

install.type

Default value: server

Installation Type

client.type

Default value: node-exporter

Metric data source.

server.port

9090

server service port.

client.lost.time

2000

Heartbeat loss duration of a node, in milliseconds.

logical-resource-usage.levels.mem

  • Value range: 0 to 100
  • Default value: 5

Utilization level of the logical resource: virtual memory.

A larger value indicates a higher level.

logical-resource-usage.levels.vcores

  • Value range: 0 to 100
  • Default value: 5

Utilization level of the logical resource: virtual cores.

A larger value indicates a higher level.

load.limit.cpu

  • Value range: 0 to 100
  • Default value: 80

CPU usage threshold (unit: %). If the CPU usage of a node exceeds the threshold, that node is considered overloaded and no resources will be scheduled from that node.

load.limit.mem

  • Value range: 0 to 100
  • Default value: 80

Memory usage threshold (unit: %). If the memory usage of a node exceeds the threshold, that node is considered overloaded and no resources will be scheduled from that node.

load.limit.diskio

  • Value range: 0 to 100
  • Default value: 80

Disk I/O usage threshold (unit: %). If the disk I/O usage of a node exceeds the threshold, that node is considered overloaded and no resources will be scheduled from that node.

load.limit.netio

  • Value range: 0 to 100
  • Default value: 80

Network I/O usage threshold (unit: %). If the network I/O usage of a node exceeds the threshold, that node is considered overloaded and no resources will be scheduled from that node.

load.weight.cpu

0.3

CPU, memory, disk I/O, and network I/O usage weight coefficient (the sum of the coefficients is 1). Nodes are sorted based on the weighted usage result.

Weighted usage of a node = CPU usage x CPU weight + memory usage x memory weight + disk I/O usage x disk I/O weight + network I/O usage x network I/O weight

A larger resource usage weight coefficient indicates a larger proportion of the impact on the sorting result.

load.weight.mem

0.3

load.weight.diskio

0.2

load.weight.netio

0.2

time.windowsize

  • Value range: 1 to 300
  • Default value: 5

Size of the window for calculating the average resource usage.

overload.filter.able

  • Value: true or false
  • Default value: true

Indicates whether resource usage is overloaded.

loads-metric-server.address

server1:9090

IP address and port of a server.

client.heartbeat.interval

1000

Heartbeat detection interval of a client node, in milliseconds.

net.compute.type

  • Value options: max, send, receive, and average
  • Default value: max

Network I/O calculation method (maximum value/send/receive/average).

node-exporter.pull.enable

true

Retain the default settings for Node Exporter.

node-exporter.pull.protocol

http

node-exporter.pull.port

9100

node-exporter.pull.thread-pool.size

1000