Skip to content

Commit 4c3ebff

Browse files
[O11y][Hadoop] Resolve the conflicts in host.ip field (#7564)
* resolve host ip field conflict * update pr link in changelog.yml * update the compatibility section in readme * update readme.md * update readme.md
1 parent b037f8d commit 4c3ebff

File tree

9 files changed

+39
-1
lines changed

9 files changed

+39
-1
lines changed

packages/hadoop/_dev/build/docs/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ This integration is used to collect [Hadoop](https://hadoop.apache.org/) metrics
1010

1111
This integration uses Resource Manager API and JMX API to collect above metrics.
1212

13+
## Compatibility
14+
15+
This integration has been tested against Hadoop version `3.3.6`.
16+
17+
### Troubleshooting
18+
19+
If host.ip is shown conflicted under ``logs-*`` data view, then this issue can be solved by [reindexing](https://www.elastic.co/guide/en/elasticsearch/reference/current/use-a-data-stream.html#reindex-with-a-data-stream) the ``Application`` data stream's indices.
20+
If host.ip is shown conflicted under ``metrics-*`` data view, then this issue can be solved by [reindexing](https://www.elastic.co/guide/en/elasticsearch/reference/current/use-a-data-stream.html#reindex-with-a-data-stream) the ``Cluster``, ``Datanode``, ``Namenode`` and ``Node Manager`` data stream's indices.
21+
1322
## application
1423

1524
This data stream collects Application metrics.

packages/hadoop/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "0.9.1"
3+
changes:
4+
- description: Resolve host.ip field conflict.
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/7564
27
- version: "0.9.0"
38
changes:
49
- description: Add support for HTTP request trace logging in application data stream.

packages/hadoop/data_stream/application/fields/ecs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@
1010
name: event.module
1111
- external: ecs
1212
name: event.type
13+
- external: ecs
14+
name: host.ip
1315
- external: ecs
1416
name: tags

packages/hadoop/data_stream/cluster/fields/ecs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
name: event.module
1111
- external: ecs
1212
name: event.type
13+
- external: ecs
14+
name: host.ip
1315
- external: ecs
1416
name: service.address
1517
- external: ecs

packages/hadoop/data_stream/datanode/fields/ecs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
name: event.module
1111
- external: ecs
1212
name: event.type
13+
- external: ecs
14+
name: host.ip
1315
- external: ecs
1416
name: service.address
1517
- external: ecs

packages/hadoop/data_stream/namenode/fields/ecs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
name: event.module
1111
- external: ecs
1212
name: event.type
13+
- external: ecs
14+
name: host.ip
1315
- external: ecs
1416
name: service.address
1517
- external: ecs

packages/hadoop/data_stream/node_manager/fields/ecs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
name: event.module
1111
- external: ecs
1212
name: event.type
13+
- external: ecs
14+
name: host.ip
1315
- external: ecs
1416
name: service.address
1517
- external: ecs

packages/hadoop/docs/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ This integration is used to collect [Hadoop](https://hadoop.apache.org/) metrics
1010

1111
This integration uses Resource Manager API and JMX API to collect above metrics.
1212

13+
## Compatibility
14+
15+
This integration has been tested against Hadoop version `3.3.6`.
16+
17+
### Troubleshooting
18+
19+
If host.ip is shown conflicted under ``logs-*`` data view, then this issue can be solved by [reindexing](https://www.elastic.co/guide/en/elasticsearch/reference/current/use-a-data-stream.html#reindex-with-a-data-stream) the ``Application`` data stream's indices.
20+
If host.ip is shown conflicted under ``metrics-*`` data view, then this issue can be solved by [reindexing](https://www.elastic.co/guide/en/elasticsearch/reference/current/use-a-data-stream.html#reindex-with-a-data-stream) the ``Cluster``, ``Datanode``, ``Namenode`` and ``Node Manager`` data stream's indices.
21+
1322
## application
1423

1524
This data stream collects Application metrics.
@@ -100,6 +109,7 @@ An example event for `application` looks as following:
100109
| hadoop.application.time.finished | Application finished time | date |
101110
| hadoop.application.time.started | Application start time | date |
102111
| hadoop.application.vcore_seconds | The amount of CPU resources the application has allocated | long |
112+
| host.ip | Host ip addresses. | ip |
103113
| input.type | Type of Filebeat input. | keyword |
104114
| tags | User defined tags | keyword |
105115

@@ -243,6 +253,7 @@ An example event for `cluster` looks as following:
243253
| hadoop.cluster.virtual_cores.available | The number of available virtual cores | long |
244254
| hadoop.cluster.virtual_cores.reserved | The number of reserved virtual cores | long |
245255
| hadoop.cluster.virtual_cores.total | The total number of virtual cores | long |
256+
| host.ip | Host ip addresses. | ip |
246257
| service.address | Address where data about this service was collected from. This should be a URI, network address (ipv4:port or [ipv6]:port) or a resource path (sockets). | keyword |
247258
| service.type | The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`. | keyword |
248259
| tags | List of keywords used to tag each event. | keyword |
@@ -375,6 +386,7 @@ An example event for `datanode` looks as following:
375386
| hadoop.datanode.estimated_capacity_lost_total | The estimated capacity lost in bytes | long |
376387
| hadoop.datanode.last_volume_failure_date | The date/time of the last volume failure in milliseconds since epoch | date |
377388
| hadoop.datanode.volumes.failed | Number of failed volumes | long |
389+
| host.ip | Host ip addresses. | ip |
378390
| service.address | Address where data about this service was collected from. This should be a URI, network address (ipv4:port or [ipv6]:port) or a resource path (sockets). | keyword |
379391
| service.type | The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`. | keyword |
380392
| tags | List of keywords used to tag each event. | keyword |
@@ -522,6 +534,7 @@ An example event for `namenode` looks as following:
522534
| hadoop.namenode.stale_data_nodes | Current number of DataNodes marked stale due to delayed heartbeat | long |
523535
| hadoop.namenode.total_load | Current number of connections | long |
524536
| hadoop.namenode.volume_failures_total | Total number of volume failures across all Datanodes | long |
537+
| host.ip | Host ip addresses. | ip |
525538
| service.address | Address where data about this service was collected from. This should be a URI, network address (ipv4:port or [ipv6]:port) or a resource path (sockets). | keyword |
526539
| service.type | The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`. | keyword |
527540
| tags | List of keywords used to tag each event. | keyword |
@@ -638,6 +651,7 @@ An example event for `node_manager` looks as following:
638651
| hadoop.node_manager.containers.killed | Containers Killed | long |
639652
| hadoop.node_manager.containers.launched | Containers Launched | long |
640653
| hadoop.node_manager.containers.running | Containers Running | long |
654+
| host.ip | Host ip addresses. | ip |
641655
| service.address | Address where data about this service was collected from. This should be a URI, network address (ipv4:port or [ipv6]:port) or a resource path (sockets). | keyword |
642656
| service.type | The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`. | keyword |
643657
| tags | List of keywords used to tag each event. | keyword |

packages/hadoop/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format_version: 1.0.0
22
name: hadoop
33
title: Hadoop
4-
version: "0.9.0"
4+
version: "0.9.1"
55
license: basic
66
description: Collect metrics from Apache Hadoop with Elastic Agent.
77
type: integration

0 commit comments

Comments
 (0)