def _writeDocument(newFilename, clonedNode):
    makeSureDirectoryExists(newFilename)
    f = open(newFilename, 'w')
    f.write(clonedNode.toxml('utf-8'))
    f.close()
Check the 'submit_to' for each MR/Yarn cluster, and return the
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/lore/tree.py/_writeDocument--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/libs/hadoop/src/hadoop/cluster.py/get_cluster_for_job_submission