gortiz commented on PR #19448:
URL: https://github.com/apache/pinot/pull/19448#issuecomment-7102389236

   Thanks both for the thorough reviews. Before fixing anything, I built a way 
to find this kind of issue ourselves. The idea is to stop the back and forth: 
the first version of the harness had to reproduce your findings on c8fb011 
before I trusted it.
   
   The harness has three parts. `ThinDistributionCheck` is in the PR and runs 
in CI. It checks the layout of `plugin-libs/` and the indexes, the plugin set, 
the legal files, and class linkage on every class path the launchers build. A 
smoke script, outside the repo, runs on an assembled distribution. It checks 
the class path that the launcher builds (spaces, several roots, a selected 
plugin gets its whole index), loads every indexed jar through `PluginManager` 
without the launcher, and starts a controller with and without 
`PLUGINS_INCLUDE`. A third script mutates the build: it removes a plugin jar 
before the assembly, and leaves a stale jar in a staging directory. On c8fb011 
the harness reproduced every finding except the Windows separators and the 
patch dependency lists. On the new head everything passes.
   
   The harness also found a few things that neither of you had mentioned: two 
versions of `threeten-extra` in the store, the incremental-build bug in the 
patch modules, and a bug I had introduced myself in the launcher fix. An 
independent review pass found that last one.
   
   Xiang, on your question about the `-shaded` jar of `pinot-common`: yes, it 
now pins the relocated prefixes like the clients (097b7ef786), so it is the 
same artifact in both modes.
   
   Not done in this PR: comparing the dependencies of the patches with the 
original poms (follow-up), and the realm path of `PluginManager` (with #18459). 
Also, in the thin layout a plugin selected alone no longer gets the optional 
libraries that `pinot-all` used to bring along. The check reports those as 
warnings: `jose4j` for Kafka OAuth in the confluent decoders, `conscrypt` in 
Pulsar, and the OpenTelemetry incubator API in GCS. None of them is on a normal 
code path, and they are all there when no selection is made.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to