[FIX] get mock hostname for hadoop redirect