-
Notifications
You must be signed in to change notification settings - Fork 277
slf4j and log4j updates #3085
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
slf4j and log4j updates #3085
Conversation
| fi | ||
|
|
||
| export HADOOP_OPTS=" ${HADOOP_INGEST_OPTS} -Dapp=bulkIngestMapFileLoader -DshutdownPort=$shutdownPort -Dfile.encoding=UTF8 -Duser.timezone=GMT" | ||
| export HADOOP_OPTS=" ${HADOOP_INGEST_OPTS} -Dlog4j.configuration=log4j-bulkloader.xml -Dapp=bulkIngestMapFileLoader -DshutdownPort=$shutdownPort -Dfile.encoding=UTF8 -Duser.timezone=GMT" |
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.
if I'm not mistaken I think this property changes to -Dlog4j2.configurationFile when using log4j2
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.
i have a follow on PR that will do updates to the map file loaders. Ill include this change in that pr
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.
sounds good. you might also need slf4j-log4j12 for the v1 configuration to load. see if the application is actually logging or throwing errors in the console output during the logger initialization. alternatively, on the follow on PR just update to use the log4j2 configuration syntax preferably in yml
warehouse/ingest-scripts/src/main/resources/bin/ingest/map-file-bulk-loader.sh
Show resolved
Hide resolved
update as per comment
Breaking up the Bulkv2 PR to try to limit its scope and identify issues in smaller batches
Breaking up the Bulkv2 PR to try to limit its scope and identify issues in smaller batches