title: python fabric check if hadoop file exists
body: <p>I have three servers. I run a python script a.py in server1 and a.py will connect to server2 which has hadoop client. Then, from server2, I need to check if server3 has hadoop directory dir_eg or not.</p>
  
  <p>How to do this in a.py?</p>
  
  <p><code>fab -H server2 exe_cmd_in_server2:hadoop fs -mkdir server3/dur_eg</code> is the command to create that dir, but I need check if it exists</p>