apache / apache/amoro

[Bug]: When I start AMS on IntelliJ IDEA, I cannot start the Local Optimizer.

Open
#1,523 3 comments 0 reactions 0 assignees View on GitHub
good first issue module:ams-server not-stale priority:minor type:bug
Dominant language
Java
Stars
1.2k
Forks
395
Avg merge
4d 10h
Merged PRs (30d)
33

Description

### What happened?

When I start AMS on IntelliJ IDEA, I cannot start the Local Optimizer.

### Affects Versions

0.5.0

### What engines are you seeing the problem on?

AMS

### How to reproduce

To start the Local Optimizer in IntelliJ IDEA after starting AMS:

### Relevant log output

_No response_

### Anything else

When you start AMS directly from IntelliJ IDEA, the CLASSPATH environment variable is empty. As a result, the localOptimize.sh startup script cannot access the CLASSPATH and the Local Optimizer cannot be launched.

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the IntelliJ IDEA launch sequence for AMS and inspect the localOptimize.sh startup script, focusing on how it receives CLASSPATH. Confirm the behavior with AMS 0.5.0 and verify completion by launching the Local Optimizer successfully after AMS starts from IntelliJ IDEA.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, shell
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.