yahoNanJing commented on PR #238:
URL: https://github.com/apache/arrow-ballista/pull/238#issuecomment-1250765506

   Maybe better to add an example command to leverage these docker files. For 
example, like follows:
   {code}
   ./dev/build-ballista-docker.sh
   
   docker run -p 10.249.75.38:80:80 -p 10.249.75.38:50050:50050 -it 
apache/arrow-ballista-scheduler:0.8.0 --external-host 10.249.75.38 -s 
push-staged
   
   docker run -p 10.249.75.38:50051:50051 -p 10.249.75.38:50052:50052 -it 
apache/arrow-ballista-executor:0.8.0 --external-host 10.249.75.38 
--scheduler-host 10.249.75.38 -s push-staged
   {code}
   
   And it seems we need to fix something in file *executor_server.rs* to change 
the following part 
   {code}
           let addr = format!(
               "{}:{}",
               executor_meta
                   .optional_host
                   .map(|h| match h {
                       OptionalHost::Host(host) => host,
                   })
                   .unwrap_or_else(|| String::from("0.0.0.0")),
               executor_meta.grpc_port
           );
   {code}
   to
   {code}
   let addr = format!(
               "{}:{}",
               "0.0.0.0",
               executor_meta.grpc_port
           );
   {code}


-- 
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