-
Notifications
You must be signed in to change notification settings - Fork 82
Add support for tagging archives and filtering by tags. #285
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some inline comments. I'm also wondering if we should restrict the tags to not containing whitespace and being lowercase in order to simplify querying them.
components/clp-package-utils/clp_package_utils/scripts/compress.py
Outdated
Show resolved
Hide resolved
components/clp-package-utils/clp_package_utils/scripts/native/compress.py
Outdated
Show resolved
Hide resolved
components/clp-package-utils/clp_package_utils/scripts/native/compress.py
Outdated
Show resolved
Hide resolved
components/clp-package-utils/clp_package_utils/scripts/search.py
Outdated
Show resolved
Hide resolved
components/clp-package-utils/clp_package_utils/scripts/search.py
Outdated
Show resolved
Hide resolved
components/clp-package-utils/clp_package_utils/scripts/native/search.py
Outdated
Show resolved
Hide resolved
components/clp-package-utils/clp_package_utils/scripts/native/search.py
Outdated
Show resolved
Hide resolved
components/job-orchestration/job_orchestration/scheduler/search/search_scheduler.py
Show resolved
Hide resolved
components/job-orchestration/job_orchestration/scheduler/search/search_scheduler.py
Outdated
Show resolved
Hide resolved
components/job-orchestration/job_orchestration/executor/compress/fs_compression_task.py
Outdated
Show resolved
Hide resolved
Yeah, i think we should restrict the tags to not containing whitespace. |
components/job-orchestration/job_orchestration/executor/compress/fs_compression_task.py
Outdated
Show resolved
Hide resolved
components/job-orchestration/job_orchestration/scheduler/job_config.py
Outdated
Show resolved
Hide resolved
components/job-orchestration/job_orchestration/scheduler/search/search_scheduler.py
Outdated
Show resolved
Hide resolved
components/clp-package-utils/clp_package_utils/scripts/compress.py
Outdated
Show resolved
Hide resolved
components/clp-package-utils/clp_package_utils/scripts/native/compress.py
Outdated
Show resolved
Hide resolved
components/job-orchestration/job_orchestration/scheduler/compress/compression_scheduler.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit msg: Add support for tagging archives and filtering by tags. (#285)
?
References
Description
This PR introduces the ability to specify tags while compressing files. The resulting compressed archive can now include zero to multiple tags. Users can filter archives during searches using tags.
Validation performed
tag1
andtag2
.org.apache.hadoop.metrics2.impl.MetricsConfig: loaded properties from hadoop-metrics2.properties
in three ways. 1) withtag1
, 2) withtag2
3) without tags. Results showed 1) and 2) returned equal amount of logs while 3) returned twice the amount of logs.tag1
andtag2
.id: 22419
in three ways. 1) withtag1
, 2) withtag2
3) without tags. Results showed 1) and 2) returned equal amount of logs while 3) returned twice the amount of logs.