j1wonpark opened a new pull request, #4070:
URL: https://github.com/apache/amoro/pull/4070

   ## Why are the changes needed?
   
   When using `KubernetesOptimizerContainer`, the Helm chart template for the 
Kubernetes optimizer is missing the `ams-optimizing-uri` property. This causes 
the optimizer to fall back to `server-expose-host` which is hardcoded to 
`127.0.0.1` in the ConfigMap, resulting in optimizer pods failing to connect to 
the AMS optimizing service.
   
   Both the Flink and Spark optimizer templates already include 
`ams-optimizing-uri`, but the Kubernetes optimizer template does not.
   
   ## Brief change log
   
   - Added `ams-optimizing-uri` property to the 
`amoro.optimizer.container.kubernetes` template in 
`charts/amoro/templates/_optimizer.tpl`, using the same 
`amoro.svc.optimizing.uri` helper that Flink and Spark templates use.
   
   ## How was this patch tested?
   
   - [ ] Add some test cases that check the changes thoroughly including 
negative and positive cases if possible
   
   - [x] Add screenshots for manual tests if appropriate
   
   - [x] Run test locally before making a pull request
   
   Verified that the rendered Helm template now includes the correct 
`ams-optimizing-uri` value 
(`thrift://{release}-optimizing.{namespace}.svc.{clusterDomain}:1261`) for the 
Kubernetes optimizer container.
   
   ## Documentation
   
   - Does this pull request introduce a new feature? no
   - If yes, how is the feature documented? not applicable
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to