title: How do i create a Graph in GraphX with this
body: <p>I am struggling to understand how i am going to create the following in GraphX in Apache spark. I am given the following:</p>
  
  <p>a hdfs file which has loads of data which comes in the form:</p>
  
  <blockquote>
    <p><strong>node: ConnectingNode1, ConnectingNode2..</strong></p>
  </blockquote>
  
  <p>For example:</p>
  
  <blockquote>
    <p><strong>123214: 521345, 235213, 657323</strong></p>
  </blockquote>
  
  <p>I need to somehow store this data in an EdgeRDD so that i can create my graph in GraphX, but i have no idea how i am going to go about this.</p>