Page MenuHomeFreeBSD

www/yarn: Converting HADOOPCOMPAT option in a FLAVOR
AbandonedPublic

Authored by pizzamig on Jan 23 2018, 9:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 11 2024, 7:31 PM
Unknown Object (File)
Jun 15 2023, 6:52 PM
Unknown Object (File)
Jun 3 2023, 1:40 AM
Subscribers
None

Details

Reviewers
mat
Summary

Converting the HADOOPCOMPAT option in a FLAVOR to make both packages available
I'm asking mat@ to review it, because it's the first FLAVOR use case I have.

Test Plan

Built both packages with poudriere

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 14537
Build 14676: arc lint + arc unit

Event Timeline

This looks ok, but I am going to say no. For now, only ports with existing slave ports can be converted to flavors, so that the total numbers of packages does not grow.

My original idea was to add it a slave port, but then I've seen the work on FLAVORS and I preferred to wait FLAVORS be ready and use it.

Well, please refrain from it right now.

There are a lot of cases where poudriere bulk -a goes beyond the 32k number of packages.
Poudriere uses tmpfs by default for its internal data, and up until recently in 12-CURRENT, tmpfs had a hard limit on 32k files per directory (or links, I don't remember).
So everyone who uses poudriere on 10 or 11 will get very strange errors.
Poudriere needs to grow a hashing feature of some sort, but it has not happened yet.

OK. I'll keep my patch waiting for better times, then.
BTW, thanks for the review