Re: Dataframe in apache spark Error java.lang.ArrayIndexOutOfBoundsException:

2016-10-17 Thread Mark Mikolajczak
from my phone (Laptop >> battery died). >> >> >> The code I was using in zeppelin is: >> eve.select($"id",$"customerEvent.customerContext.anonymousCu >> stomerChanges.analyticsId.id").show >> >> I tried with and with out

RDD to Dataframe Error

2016-11-28 Thread Mark Mikolajczak
Hi All, Hoping you can help: I have created an RDD from a NOSQL database and I want to convert the RDD to a data frame. I have tried many options but all result in errors. val df = sc.couchbaseQuery(test).map(_.value).collect().foreach(println) {"accountStatus":"AccountOpen","custId":"

Running R on Zeppelin EMR Cluster

2016-09-06 Thread Mark Mikolajczak - 07855 306 064
Hi All, I am trying to setup the R interpreter to run in Zeppelin which is currently running on EMR. Zeppelin is working perfectly and I am able to write script in Scala and Python. When I use %r, %sparkR or %knitr I receive an error : "r interpreter not found" The applications which I have ru

Re: Running R on Zeppelin EMR Cluster

2016-09-06 Thread Mark Mikolajczak - 07855 306 064
Zeppelin 0.6.1. > > > 2016-09-07 0:24 GMT+09:00 Hyung Sung Shim <mailto:hss...@nflabs.com>>: > Hi. > Unfortunately Zeppelin 0.5.6 does not support R interpreter. > Could you upgrade your Zeppelin to higher version? > > 2016-09-06 23:53 GMT+09:00 Ma

Dataframe in apache spark Error java.lang.ArrayIndexOutOfBoundsException:

2016-10-16 Thread Mark Mikolajczak - 07855 306 064
down vote <>favorite Hi, I have setup a sp

Re: Dataframe in apache spark Error java.lang.ArrayIndexOutOfBoundsException:

2016-10-16 Thread Mark Mikolajczak - 07855 306 064
t still get the same error. Any advice? > On 16 Oct 2016, at 12:41, Jun Kim wrote: > > Hi, Mark Mikolajczak > > I think it should be > > eve.select("id", > "customerEvent.customerContext.anonymousCustomerChanges.analyticsId.id > <http://cust