### Why are the changes needed? To fix the batch kyuubi instance port is negative issue. <img width="697" alt="image" src="https://github.com/user-attachments/assets/ef992390-8d20-44b3-8640-35496caff85d" /> It happen after I stop the kyuubi service. We should use variable instead of function for jetty server serverUri. After the server connector stopped, the localPort would be `-2`.  ### How was this patch tested? Existing UT. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #7017 from turboFei/server_port_negative. Closes #7017 3d34c4031 [Wang, Fei] warn e58298646 [Wang, Fei] mutable server uri 2cbaf772a [Wang, Fei] Revert "hard code the server uri" b64d91b32 [Wang, Fei] hard code the server uri Authored-by: Wang, Fei <fwang12@ebay.com> Signed-off-by: Wang, Fei <fwang12@ebay.com> |
||
|---|---|---|
| .. | ||
| src | ||
| web-ui | ||
| pom.xml | ||