title: Grep across multiple files in Hadoop Filesystem
body: <p>I am working with Hadoop and I need to find which of ~100 files in my Hadoop filesystem contain a certain string.</p>
  
  <p>I can see the files I wish to search like this:</p>
  
  <pre><code>bash-3.00$ hadoop fs -ls /apps/mdhi-technology/b_dps/real-time
  </code></pre>
  
  <p>..which returns several entries like this:</p>
  
  <pre><code>-rw-r--r--   3 b_dps mdhi-technology 1073741824 2012-07-18 22:50 /apps/mdhi-technology/b_dps/HADOOP_consolidated_RT_v1x0_20120716_aa
  -rw-r--r--   3 b_dps mdhi-technology 1073741824 2012-07-18 22:50 /apps/mdhi-technology/b_dps/HADOOP_consolidated_RT_v1x0_20120716_ab
  </code></pre>
  
  <p>How do I find which of these contains the string <code>bcd4bc3e1380a56108f486a4fffbc8dc</code>?  Once I know, I can edit them manually.</p>