Re: flink-job-in-yarn,has max memory

2016-12-05 Thread Robert Metzger
Hi, The TaskManager reports a total memory usage of 3 GB. That's fine, given that you requested containers of size 4GB. Flink doesn't allocate all the memory assigned to the container to the heap. Are you running a batch or a streaming job? On Tue, Nov 29, 2016 at 12:43 PM, wrote: > Hi, >

flink-job-in-yarn,has max memory

2016-11-29 Thread rimin515
Hi, i have a flink job,and abt assembly to get a jar file,so i put it to yarn and run it,use the follow commend:/home/www/flink-1.1.1/bin/flink run \-m yarn-cluster \-yn 1 \-ys 2 \-yjm 4096 \-ytm 4096 \--class skRecomm.