gt; the
> > result of the last command. In the second case that is the whole pasted
> > block so you see 19.
> > On Apr 16, 2015 11:37 AM, "vinodkc" <[hidden email]> wrote:
> >
> >> Hi All,
> >>
> >> I faced below
den email]> wrote:
>
>> Hi All,
>>
>> I faced below issue while working with spark. It seems spark shell paste
>> mode is not consistent
>>
>> Example code
>> ---
>> val textFile = sc.textFile("README.md")
>>
econd case that is the whole pasted
block so you see 19.
On Apr 16, 2015 11:37 AM, "vinodkc" <[hidden email]
<http:///user/SendEmail.jtp?type=node&node=11622&i=0>> wrote:
> Hi All,
>
> I faced below issue while working with spark. It seems spark shell pas
: Long = 19
>
> Expected result : Result 1 and Result 2 should be same
>
> I feel this is an issue with spark shell . I fixed and verified it
> locally.If community also think that it need to be handled, I can make a
> PR.
>
> Thanks
> Vinod KC
>
>
>
> --
> Vie
Hi All,
I faced below issue while working with spark. It seems spark shell paste
mode is not consistent
Example code
---
val textFile = sc.textFile("README.md")
textFile.count()
textFile.first()
val linesWithSpark = textFile.filter(line => line.contains("Spark&