Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KYUUBI #4546][FOLLOWUP] only exclude metrics dir in root directory of repo #6044

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Z1Wu
Copy link

@Z1Wu Z1Wu commented Feb 4, 2024

Why are the changes needed?

Follow-Up of patch: #4547

The modification introduced by #4547 will result in all folder whose name is metrics being ignored.

# for example, a normal metrics package  for spark-engine will be ignored
externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/kyuubi/metrics/

This patch changes the rule in .gitignore to only exclude metrics directory created by JSON reporter in root directory of REPO which is usually working directory of debug process.

Close #4546

Simple test

image

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before make a pull request

… directory of REPO which is usually working directory of debug process.
@github-actions github-actions bot added the kind:infra license, community building, project builds, asf infra related, etc. label Feb 4, 2024
@Z1Wu
Copy link
Author

Z1Wu commented Feb 4, 2024

cc @zwangsheng @pan3793

Copy link
Contributor

@zwangsheng zwangsheng left a comment

Choose a reason for hiding this comment

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

Thanks LGTM, wait other approve.

@pan3793
Copy link
Member

pan3793 commented Feb 6, 2024

Has anyone tested this scenario?

#4546 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:infra license, community building, project builds, asf infra related, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]Run Kyuubi Server in local IDE, will create metrics dir which should be add to gitignore
4 participants