Ask about running multiple jars for different stream jobs

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Ask about running multiple jars for different stream jobs

Rad Rad
Hi All,

Kindly, could I ask about running multiple jars for different stream jobs in
a cluster? Since I have two jars, each one joins different data streams. I
submitted the first one and it works fine, when I tried to submit the second
one, it failed. When I go to running tab i.e.
http://mycluster:8081/#/running-jobs,  just the first one is running.

The same problem is found when I tried on standalone.  
My question is how I can I run two jars ( streaming jobs) in the same time
on Flink cluster?


Thanks.
 



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: Ask about running multiple jars for different stream jobs

Chesnay Schepler
The most likely explanation is that you haven't configured the cluster
to have enough resources to run multiple jobs.
Try increasing taskmanager.numberOfTaskSlots:
https://ci.apache.org/projects/flink/flink-docs-master/ops/config.html#taskmanager-numberoftaskslots-1

On 04.09.2018 15:13, Rad Rad wrote:

> Hi All,
>
> Kindly, could I ask about running multiple jars for different stream jobs in
> a cluster? Since I have two jars, each one joins different data streams. I
> submitted the first one and it works fine, when I tried to submit the second
> one, it failed. When I go to running tab i.e.
> http://mycluster:8081/#/running-jobs,  just the first one is running.
>
> The same problem is found when I tried on standalone.
> My question is how I can I run two jars ( streaming jobs) in the same time
> on Flink cluster?
>
>
> Thanks.
>    
>
>
>
> --
> Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
>

Reply | Threaded
Open this post in threaded view
|

Re: Ask about running multiple jars for different stream jobs

Rad Rad
Thanks very much. Now it works fine.



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/