4paradigm / 4paradigm/OpenMLDB
clear-all.sh should delete offline path configured in the `taskmanager.properties`
- 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
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