apache / apache/pinot

Integrate Obfuscator for `PinotTaskConfig` related logs

Open
#10,820 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.1k
Forks
1.5k
Avg merge
1d 21h
Merged PRs (30d)
189

Description

https://github.com/apache/pinot/pull/7407/files added `Obfuscator` but it's not integrated with minion tasks.

```
Finished task: RealtimeToOfflineSegmentsTask with configs: {uploadURL=http://localhost:9000/segments, maxNumRecordsPerSegment=1000000000, authToken=xxx, ...

Starting task: RealtimeToOfflineSegmentsTask with configs: {uploadURL=http://localhost:9000/segments, maxNumRecordsPerSegment=1000000000, authToken=xx, ...

Start running RealtimeToOfflineSegmentsTask: Task_RealtimeToOfflineSegmentsTask_6373b2d2-5cd1-4942-91f6-85e14d0d4380_1685494803973_0 with configs: {uploadURL=http://localhost:9000/segments, maxNumRecordsPerSegment=1000000000, authToken=xx,...
```

Contributor guide

Open the contributing guide

Research direction

Start with the Obfuscator added in pull request 7407 and trace how minion tasks log PinotTaskConfig values, including the Finished task, Starting task, and Start running task messages shown here. Identify the relevant task entry points and verify that sensitive configuration values are obfuscated in each message before considering the work done.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.