spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hyukjin Kwon <>
Subject Re: JavaRDD text matadata(file name) findings
Date Wed, 01 Feb 2017 02:45:46 GMT

Are you maybe possible to switch it to text datasource with input_file_name


On 1 Feb 2017 3:58 a.m., "Manohar753" <>

Hi All,
myspark job is reading data from a folder having different files with same
structured data.
the red JavaRdd processed line by line but is there any way to know from
which file the line of data came.
Team thank you in advance for your reply coming.


View this message in context: http://apache-spark-user-list.
Sent from the Apache Spark User List mailing list archive at

To unsubscribe e-mail:

View raw message