You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Hyukjin Kwon <gu...@gmail.com> on 2017/02/01 02:45:46 UTC

Re: JavaRDD text matadata(file name) findings

Hi,

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

Thanks.

On 1 Feb 2017 3:58 a.m., "Manohar753" <ma...@happiestminds.com>
wrote:

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.

Thanks,



--
View this message in context: http://apache-spark-user-list.
1001560.n3.nabble.com/JavaRDD-text-matadata-file-name-findings-tp28353.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org