Is there a way to set `<http://append.uuid.to|appe...
# troubleshooting
n
Is there a way to set
append.uuid.to.segment.name
to false for
SegmentGenerationAndPushTask
? It seems to be forcing it to true despite me trying to set it to false everywhere I can think of in my table config. I would like to upload segments and have them overwrite the existing segments of the table if the file name is the same because the underlying file data will be updated but the files will have the same names. For
SegmentGenerationAndPushTask
, every naming strategy except
fixed
appends a UUID to the segment name so it will just add a bunch of new segments for the same files, if I upload 10 files it will have 10 segments, then 20, then 30, then 40 because the UUID results in a different segment name and doesn't overwrite. If I set the naming generator strategy to
fixed
then I tell it to upload 10 files, it looks like it is overwriting the fixed name segment 10 times resulting in only one segment
m
@Manish ^^
n
I am pretty new to the codebase but the overall behaviour is weird It looks like it's supposed to be appending a task UUID to the fixed segment name here, but this isn't happening https://github.com/apache/pinot/blob/master/pinot-plugins/pinot-minion-tasks/pinot[…]entgenerationandpush/SegmentGenerationAndPushTaskGenerator.java You can see in the screenshot that it is just "test_segment", instead of
test_sgement_UUIDVALUE
(the segment in bad state is from a previous run and is a wonky artifact unrelated)
It also looks like it's forcing a UUID addition here, regardless of user settings https://github.com/apache/pinot/blob/master/pinot-plugins/pinot-minion-tasks/pinot[…]entgenerationandpush/SegmentGenerationAndPushTaskGenerator.java If the fixed segment name is getting away with no UUID I wonder if the infinite loop the UUID is added to prevent is not necessary? Am I even looking in the right spot?
h
Is there a way to set
append.uuid.to.segment.name
to false for
SegmentGenerationAndPushTask
? It seems to be forcing it to true despite me trying to set it to false everywhere I can think of in my table config.
It cannot be disabled I believe. ref: https://github.com/apache/pinot/pull/10335/files
j
Did you ever find a resolution to this for minion tasks? Input file derived segment names is necessary for replacing previous segments in Batch Ingestion via LaunchDataIngestionJob, we define the segment names generator pattern and can replace previous segments but this is not the case in Minion task SegmentGenerationAndPush
m
Are you looking for replacing / refreshing a bunch of segments? If so check https://docs.pinot.apache.org/operators/operating-pinot/consistent-push-and-rollback
j
does this mode work on minions? doc says something about only supported on standalone execution framework we typically add segments daily and often replace previous segments with new ones having the same name
a
Hi, did you find any way to override this config/replace segments for minion ingestion?
s
does this mode work on minions?
Its not supported on minions and it also does not work with APPEND tables