Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

[O11y][Apache Spark] Resolve the conflicts in host.ip field#7468

Merged
harnish-crest-data merged 6 commits intoelastic:mainfrom
chavdaharnish:apache_spark-host-ip-conflicts
Sep 4, 2023
Merged

[O11y][Apache Spark] Resolve the conflicts in host.ip field#7468
harnish-crest-data merged 6 commits intoelastic:mainfrom
chavdaharnish:apache_spark-host-ip-conflicts

Conversation

@harnish-crest-data
Copy link
Contributor

@harnish-crest-dataharnish-crest-data commentedAug 21, 2023
edited
Loading

  • Bug

What does this PR do?

  • Added host.ip field in ecs.yml and added re-indexing steps to resolve conflicts for existing users.
  • ECS fields are being used in the pipeline of the particular data streams, but in the ecs.yml file the used fields are not mentioned. Hence need to update the ecs.yml file with additional fields and sort the ecs.yml in alphabetical order.

Checklist

  • I have reviewedtips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package'schangelog.yml file.

Related issues

@harnish-crest-dataharnish-crest-data added Integration:apache_sparkApache Spark bugfixPull request that fixes a bug issue labelsAug 21, 2023
@harnish-crest-dataharnish-crest-data requested a review froma team as acode ownerAugust 21, 2023 07:06
@elasticmachine
Copy link

elasticmachine commentedAug 21, 2023
edited
Loading

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline ViewTest ViewChangesArtifactspreviewpreview

Expand to view the summary

Build stats

  • Start Time: 2023-09-04T10:47:06.920+0000

  • Duration: 19 min 16 sec

Test stats 🧪

TestResults
Failed0
Passed15
Skipped0
Total15

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@elasticmachine
Copy link

elasticmachine commentedAug 21, 2023
edited
Loading

🌐 Coverage report

NameMetrics % (covered/total)Diff
Packages100.0% (0/0)💚
Files100.0% (0/0)💚 3.488
Classes100.0% (0/0)💚 3.488
Methods75.0% (12/16)👎 -16.96
Lines100.0% (0/0)💚 7.552
Conditionals100.0% (0/0)💚

Copy link
Contributor

@milan-elasticmilan-elastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM

@muthu-mps
Copy link
Contributor

@harnish-elastic - Update the description on the reason for adding additional ECS fields and the context for renaming a few ECS fields.

@harnish-crest-data
Copy link
ContributorAuthor

  • ECS fields

@muthu-mps Updated the descriptionhere. Also regarding renaming of ecs fields, I have just sorted the ecs.yml file in the alphabetical order and not renamed any ecs fields!


### Troubleshooting

If host.ip is shown conflicted under ``metrics-*`` data view, then this issue can be solved by reindexing the ``Application``, ``Driver``, ``Executor`` and ``Node`` data stream's indices.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

The reindexing step is important for this change, but I am discussing it within team if we need to give this long troubleshooting steps in the README.

cc:@lalit-satapathy

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

The reindexing step is important for this change, but I am discussing it within team if we need to give this long troubleshooting steps in the README.

Long term, we can explore remove such repetitive sections in the package Readme and capture in a different way?

name:ecs.version
name:event.type
- external: ecs
name:tags
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

any advantage of changing the ordering of this mapping ?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This is one of the best practices to have field names in the alphabetical order for readability.

ishleenk17 reacted with thumbs up emoji
…into apache_spark-host-ip-conflictsConflicts:packages/apache_spark/changelog.yml
Copy link
Member

@ishleenk17ishleenk17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks good!

Copy link
Contributor

@muthu-mpsmuthu-mps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks good!

@harnish-crest-dataharnish-crest-data merged commit6569314 intoelastic:mainSep 4, 2023
@elasticmachine
Copy link

Package apache_spark - 0.6.2 containing this change is available athttps://epr.elastic.co/search?package=apache_spark

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@lalit-satapathylalit-satapathylalit-satapathy left review comments

@muthu-mpsmuthu-mpsmuthu-mps approved these changes

@ishleenk17ishleenk17ishleenk17 approved these changes

+1 more reviewer

@milan-elasticmilan-elasticmilan-elastic approved these changes

Reviewers whose approvals may not affect merge requirements

Labels

bugfixPull request that fixes a bug issueIntegration:apache_sparkApache Spark

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[O11y][Apache Spark] Conflicts in host.ip field

6 participants

@harnish-crest-data@elasticmachine@muthu-mps@lalit-satapathy@ishleenk17@milan-elastic

[8]ページ先頭

©2009-2026 Movatter.jp