Reading data from Azure Blob with Spark
<p>I am having issue in reading data from azure blobs via spark streaming</p>

<pre><code>JavaDStream&lt;String&gt; lines = ssc.textFileStream("hdfs://ip:8020/directory");
</code></pre>

<p>code like above works for HDFS, but is unable to read file from Azure blob</p>

<pre><code>https://blobstorage.blob.core.windows.net/containerid/folder1/
</code></pre>

<p>Above is the path which is shown in azure UI, but this doesnt work, am i missing something, and how can we access it.</p>

<p>I know Eventhub are ideal choice for streaming data, but my current situation demands to use storage rather then queues</p>