Hi, guys:

I think it indeed makes sense to narrow down to a single base image. Regarding 
which variant to choose, it boils down to any platform-dependent component in 
Heron, I can only think of native StreamManager as far as I know. I’m sure 
others on the team knows better than I.

Also, it may sounds a long shot, but I’d like to throw the idea here. 
Currently, we containerize Heron as an all-in-one image, which is huge and 
serves as something like a VM image. Ideally, we should containerize each 
component and make them slim, then it becomes easier to contribute 
to/maintain/release.

Then even more ambitiously, on k8s cluster, what if we make it possible to 
deploy individual Spout/Bolt also as container inside each pod, with a bunch of 
side-car container, such as StreamManger, etc, rather than managing the 
individual process manually in our Executor. This k8s native approach would 
open a whole lot possibility, such as easier log aggregation by existing open 
source tools, auto scaling/self-tuning with k8s operator pattern. I think the 
process-based stream processing nature of Heron gives itself a unique advantage 
to be used in containerized environment, compared to thread-based peers.

Cheers,

SiMing Weng

> On Dec 10, 2019, at 2:11 PM, Josh Fischer <[email protected]> wrote:
> 
> I think we should settle on one "official" version for the community to
> support.  I would like to hear from other users on the  list as to which
> image it is we keep supporting moving forward.  I don't think we have
> enough bandwidth or resources to support 5 different versions of  Heron in
> a container.
> 
> On Tue, Dec 10, 2019 at 1:53 AM Ning Wang <[email protected]> wrote:
> 
>> Hi, everyone,
>> 
>> When I was working on this PR (
>> https://github.com/apache/incubator-heron/pull/3411), Josh raised up a
>> question about the docker images supported by Heron. There are 5 images
>> configured: centos7, debian9, ubuntu 14.04, 16.04 and 18.04.
>> 
>> Questions to discuss:
>> - It could be a burden to maintain all of them. Do you feel it is necessary
>> to support all of them? Or is there another one we should have?
>> - For ubuntu, do we really need 3 versions?
>> 
>> Regards,
>> --ning
>> 

Reply via email to