druid icon indicating copy to clipboard operation
druid copied to clipboard

Pull Dependencies only once

Open shigarg1 opened this issue 1 year ago • 4 comments

Fixes https://github.com/apache/druid/issues/17014

As part of this, there will still be some copies but it significantly reduces the overall size.

Currently there can be three copies

  1. in lib
  2. from dist profile
  3. from bundle-contrib-exts profile

Distribution size before fix - 911M Distribution size after fix - 603M

shigarg1 avatar Oct 10 '24 07:10 shigarg1

Extensions don't access jars that are in the other extension folders. Have you considered that?

abhishekagarwal87 avatar Oct 10 '24 07:10 abhishekagarwal87

Extensions don't access jars that are in the other extension folders. Have you considered that?

No, I did not know about this. Will they have access to jars in lib folder?

shigarg1 avatar Oct 10 '24 07:10 shigarg1

Extensions don't access jars that are in the other extension folders. Have you considered that?

No, I did not know about this. Will they have access to jars in lib folder?

Yes

abhishekagarwal87 avatar Oct 10 '24 07:10 abhishekagarwal87

@cryptoe can you please help to review this.

shigarg1 avatar Oct 21 '24 08:10 shigarg1