fix gateway issue

fix gateway issue for running hql scripts from vertica nodes on hadoop
nodes