This error suggests that your Hadoop Edge node where Enterprise Steam service is running is missing a YARN Gateway role. 


Ensure that the configuration file /etc/hadoop/conf/yarn-site.xml exists on the node. If not, use Cloudera Manager, Ambari or similar to add the YARN gateway role to the edge node.