Run3 druid patch rebuild procedure
Creating, applying, and verifying patches for Apache Druid using Maven with specific flags to bypass non-essential checks.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill run3_druid-patch-rebuild-procedureAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.2 KB, 275 tokens by cl100k_base, as published. Nobody here has run it
-
Generate Patches: Create
.patchfiles usinggit diffordiff -u. Ensure the patches target the correct file paths within the/root/druid/directory. Save patches to/root/patches/. -
Apply Patches: Navigate to the repository and apply the fixes:
cd /root/druid git apply /root/patches/fix_javascript_vulnerability.patch -
Execute Optimized Build: Run the Maven build command provided in the task. This command is specifically tuned to avoid Out-Of-Memory (OOM) errors by skipping the web-console and speeds up the process by skipping tests and quality checks:
mvn clean package -DskipTests -Dcheckstyle.skip=true -Dpmd.skip=true -Dforbiddenapis.skip=true -Dspotbugs.skip=true -Danimal.sniffer.skip=true -Denforcer.skip=true -Djacoco.skip=true -Ddependency-check.skip=true -pl '!web-console' -pl indexing-service -am -
Verify Artifacts: Ensure the resulting JAR files (e.g.,
druid-indexing-service-0.20.0.jar) are generated in the respectivetargetfolders.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.