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

Correct path of default log4j configures #12069

Merged

Conversation

goodseeyou
Copy link
Contributor

This PR is to correct default configure path for log4j in helm chart.

@goodseeyou
Copy link
Contributor Author

Any instruction to add labels? If it's necessary. Thanks.

@@ -112,7 +112,7 @@ controller:

jvmOpts: "-XX:ActiveProcessorCount=2 -Xms256M -Xmx1G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Xlog:gc*:file=/opt/pinot/gc-pinot-controller.log"

log4j2ConfFile: /opt/pinot/etc/config/pinot-controller-log4j2.xml
log4j2ConfFile: /opt/pinot/etc/conf/pinot-controller-log4j2.xml
Copy link
Contributor

Choose a reason for hiding this comment

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

which configuration stated it should be conf instead of config ?

Copy link
Contributor

Choose a reason for hiding this comment

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

nvm i think it is from

cp -r build/* ${PINOT_HOME}/. && \

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@walterddr walterddr left a comment

Choose a reason for hiding this comment

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

lgtm tagging @xiangfu0 to take another look. how can this work for so long :-P

@@ -112,7 +112,7 @@ controller:

jvmOpts: "-XX:ActiveProcessorCount=2 -Xms256M -Xmx1G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Xlog:gc*:file=/opt/pinot/gc-pinot-controller.log"

log4j2ConfFile: /opt/pinot/etc/config/pinot-controller-log4j2.xml
log4j2ConfFile: /opt/pinot/etc/conf/pinot-controller-log4j2.xml
Copy link
Contributor

Choose a reason for hiding this comment

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

nvm i think it is from

cp -r build/* ${PINOT_HOME}/. && \

@codecov-commenter
Copy link

codecov-commenter commented Dec 2, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c57117a) 0.00% compared to head (99d34e0) 61.61%.
Report is 5 commits behind head on master.

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #12069       +/-   ##
=============================================
+ Coverage      0.00%   61.61%   +61.61%     
- Complexity        6     1152     +1146     
=============================================
  Files          2314     2390       +76     
  Lines        126078   129824     +3746     
  Branches      19524    20082      +558     
=============================================
+ Hits              6    79994    +79988     
+ Misses       126072    44004    -82068     
- Partials          0     5826     +5826     
Flag Coverage Δ
custom-integration1 <0.01% <ø> (ø)
integration <0.01% <ø> (ø)
integration1 <0.01% <ø> (?)
integration2 0.00% <ø> (?)
java-11 61.57% <ø> (+61.57%) ⬆️
java-21 61.49% <ø> (+61.48%) ⬆️
skip-bytebuffers-false 61.60% <ø> (?)
skip-bytebuffers-true 61.46% <ø> (?)
temurin 61.61% <ø> (+61.61%) ⬆️
unittests 61.61% <ø> (?)
unittests1 46.88% <ø> (?)
unittests2 27.61% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Jackie-Jiang Jackie-Jiang merged commit 9d779b4 into apache:master Dec 5, 2023
19 checks passed
@goodseeyou goodseeyou deleted the hclin/FixDefaultLog4JConfigPath branch December 5, 2023 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants