Re: Using Java in Spark shell

2016-05-25 Thread Keith


There is no java shell in spark.

> On May 25, 2016, at 1:11 AM, Ashok Kumar  wrote:
> 
> Hello,
> 
> A newbie question.
> 
> Is it possible to use java code directly in spark shell without using maven 
> to build a jar file?
> 
> How can I switch from scala to java in spark shell?
> 
> Thanks
> 
> 


Re: Using Java in Spark shell

2016-05-25 Thread Ted Yu
I found this:

:javap disassemble a file or class name

But no direct interpretation of Java code.

On Tue, May 24, 2016 at 10:11 PM, Ashok Kumar 
wrote:

> Hello,
>
> A newbie question.
>
> Is it possible to use java code directly in spark shell without using
> maven to build a jar file?
>
> How can I switch from scala to java in spark shell?
>
> Thanks
>
>
>


Using Java in Spark shell

2016-05-24 Thread Ashok Kumar
Hello,
A newbie question.
Is it possible to use java code directly in spark shell without using maven to 
build a jar file?
How can I switch from scala to java in spark shell?
Thanks