-
Notifications
You must be signed in to change notification settings - Fork 67
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
Fix rpm build by adding config to env variable #200
Conversation
Codecov Report
@@ Coverage Diff @@
## main #200 +/- ##
============================================
- Coverage 71.93% 71.77% -0.16%
+ Complexity 368 367 -1
============================================
Files 44 44
Lines 2519 2519
Branches 169 169
============================================
- Hits 1812 1808 -4
- Misses 595 598 +3
- Partials 112 113 +1
Continue to review full report at Codecov.
|
packaging/rpm/postinst
Outdated
echo '## OpenSearch Performance Analyzer' >> $OPENSEARCH_PATH_CONF/jvm.options | ||
echo "-Dclk.tck=$CLK_TCK" >> $OPENSEARCH_PATH_CONF/jvm.options | ||
echo "-Djdk.attach.allowAttachSelf=true" >> $OPENSEARCH_PATH_CONF/jvm.options | ||
echo "-Djava.security.policy=file:///etc/opensearch/opensearch-performance-analyzer/opensearch_security.policy" >> $OPENSEARCH_PATH_CONF/jvm.options |
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.
/etc/opensearch/opensearc-performance/.... -> $OPENSEARCH_PATH_CONF/opensearch-performance-analyzer... ?
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.
Same as above
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.
Modified.
packaging/deb/postinst
Outdated
echo '## OpenSearch Performance Analyzer' >> $OPENSEARCH_PATH_CONF/jvm.options | ||
echo "-Dclk.tck=$CLK_TCK" >> $OPENSEARCH_PATH_CONF/jvm.options | ||
echo "-Djdk.attach.allowAttachSelf=true" >> $OPENSEARCH_PATH_CONF/jvm.options | ||
echo "-Djava.security.policy=file:///etc/opensearch/opensearch-performance-analyzer/opensearch_security.policy" >> $OPENSEARCH_PATH_CONF/jvm.options |
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.
Why leave one /etc/opensearch out with hardcoding?
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.
Modified.
Signed-off-by: sruti1312 <[email protected]>
cad4515
to
ced2dea
Compare
* Adding release notes for 2.0.0-rc1 (#193) Signed-off-by: Sagar Upadhyaya <[email protected]> * Updating release notes for 2.0.0-rc1 (#196) Signed-off-by: Sagar Upadhyaya <[email protected]> * Fix rpm build (#200) Signed-off-by: sruti1312 <[email protected]> Co-authored-by: Sagar <[email protected]>
Signed-off-by: sruti1312 <[email protected]>
* Update directory names and remove jar for integTest Signed-off-by: sruti1312 <[email protected]> * Fix rpm build (#200) Signed-off-by: sruti1312 <[email protected]> * Add env var check during installation (#206) Signed-off-by: sruti1312 <[email protected]> * Update PA directories from plugins to root Signed-off-by: sruti1312 <[email protected]>
Signed-off-by: sruti1312 [email protected]
Is your feature request related to a problem? Please provide an existing Issue # , or describe.
#197
Describe the solution you are proposing
Adds config location to env variable
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.