chrislusf / glow

Glow is an easy-to-use distributed computation system written in Go, similar to Hadoop Map Reduce, Spark, Flink, Storm, etc. I am also working on another similar pure Go system, https://github.com/chrislusf/gleam , which is more flexible and more performant.
3.2k stars 248 forks source link

fix agent server ip error #12

Closed hengfeiyang closed 8 years ago

hengfeiyang commented 8 years ago

r.Host is server address, r.RemoteAddr is the client address. so, here should be the r.RemoteAddr.

hengfeiyang commented 8 years ago

use cluster test, you will find sometime program was locked, check the proc info, i found agents ip is all same and the ip is master ip.