4paradigm / 4paradigm/OpenMLDB

clear-all.sh should delete offline path configured in the `taskmanager.properties`

Open
#3,083 0 comments 0 reactions 1 assignee Claimed by @zhanghaohit View on GitHub
enhancement tools
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

**Describe the feature you'd like**

Currently we assume the `offline.path` is `/tmp/openmldb_offline_storage/`.

We should parse the config and delete accordingly:
- file://
- hdfs://

**Additional context**

Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Research direction

Find the clear-all.sh script and the taskmanager.properties configuration file. Understand how to parse the offline.path property, which may include file:// or hdfs:// URIs. Implement logic to delete the configured offline storage path, handling both local files and HDFS. Test the script to ensure it correctly reads the config and performs the deletion.

Written by the indexing model from the issue text.

Assessment

Tech stack
hadoop, shell
Domain
cli, databases, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.