Skip to content

Conversation

@alerman
Copy link
Collaborator

@alerman alerman commented Aug 5, 2025

Breaking up the Bulkv2 PR to try to limit its scope and identify issues in smaller batches

@alerman alerman changed the title Main datawave updates to slf4j and log4j slf4j and log4j updates Aug 5, 2025
ddanielr
ddanielr previously approved these changes Aug 7, 2025
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"
Copy link
Collaborator

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

Copy link
Collaborator Author

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

Copy link
Collaborator

@jalphonso jalphonso Aug 7, 2025

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

@alerman alerman enabled auto-merge August 7, 2025 17:16
@alerman alerman added this pull request to the merge queue Aug 7, 2025
Merged via the queue into integration with commit cfb54db Aug 7, 2025
8 checks passed
skyler-kv pushed a commit that referenced this pull request Aug 26, 2025
Breaking up the Bulkv2 PR to try to limit its scope and identify issues
in smaller batches
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