title: Set each system as data node and get the data from each
body: <p>I'm very beginner if the hadoop and HDFS </p>
  
  <ul>
  <li>There is 5 servers connected in lan </li>
  <li>Each server has log files with different data</li>
  </ul>
  
  <p>Problems is this</p>
  
  <ul>
  <li>I need to process all the log files with Spark. </li>
  <li>I need to load all the log files to spark and process.</li>
  <li>I had a idea to have hdfs cluster, like each servers as slave (Each
  one as slave)  and request to each slave and get the log files and
  load to spark.</li>
  </ul>
  
  <p>Am I correct or is there any better way or better technology.</p>