Fixed the UDF column issue by adding a TCP relay server in the middle of master and executors.