Skip to content

Hadoop indexing - use NumberedShardSpec instead of NoneShardSpec #3241

@gianm

Description

@gianm

Currently if Hadoop indexing has only one shard to generate for a particular time range, it will use NoneShardSpec. Using NumberedShardSpec(0, 1) instead of NoneShardSpec would help allocateSegment flows (like the Kafka indexing service) coexist with Hadoop indexing. allocateSegment (see #1896) depends on existing segment sets being extensible, which NoneShardSpec is not.

This could be an across the board change or it could be optional. I don't see any real usefulness for NoneShardSpec, so I lean towards making this change across the board.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions