apache / apache/pinot

Minion will throw null point exception if protocol is null

Open
#7,348 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.1k
Forks
1.5k
Avg merge
2d 3h
Merged PRs (30d)
195

Description

Need fix code:
https://github.com/apache/pinot/blob/master/pinot-common/src/main/java/org/apache/pinot/common/utils/fetcher/SegmentFetcherFactory.java#L119

![image](https://user-images.githubusercontent.com/13634486/130437879-67189dec-ee44-4d61-9552-29e3edd95420.png)

Contributor guide

Open the contributing guide

Research direction

Start at pinot-common/src/main/java/org/apache/pinot/common/utils/fetcher/SegmentFetcherFactory.java:119 and trace how a null protocol reaches the Minion code. Reproduce the failure and inspect nearby callers or tests to establish the expected handling; done means a null protocol no longer causes a NullPointerException, with coverage for the case if applicable.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.