Qihoo360 / hbox

AI on Hadoop
Apache License 2.0
1.73k stars 385 forks source link

xlearning container allocate port from 20000 to 30000 by default #45

Closed FANNG1 closed 6 years ago

FANNG1 commented 6 years ago

目前xlearning 随机保留端口,在线上环境中如果worker数目比较多,很容易出现xlearning暂时释放的随机端口被其他应用占用,导致app训练失败。linux下随机端口的范围是32768  --> 61000, 所以改成从20000到30000的范围分配端口