Pyspark: get list of files/directories on HDFS path : <p>As in title. I' m aware of textFile but as the name suggests, it works only on text file.
I would need to access the files/directories inside a path on HDFS (or local path). I'm using pyspark</p>

<p>Thanks for help</p>
