Re: ArrayIndexOutOfBoundsException on Zeppelin notebook example

2016-11-17 Thread Hyung Sung Shim
Good to hear it helps. 2016년 11월 18일 (금) 오전 1:52, Muhammad Rezaul Karim 님이 작성: > Hi Shim, > > Now it works perfectly. Thank you so much. Actually, I am from Java > background and learning the Scala. > > > Thanks and Regards, > - > *Md. Rezaul Karim* > PhD Researcher

Re: ArrayIndexOutOfBoundsException on Zeppelin notebook example

2016-11-17 Thread Muhammad Rezaul Karim
Hi Shim, Now it works perfectly. Thank you so much. Actually, I am from Java background and learning the Scala.  Thanks and Regards, - Md. Rezaul Karim PhD Researcher, Insight Centre for Data Analytics National University of Ireland Galway E-mail: rezaul.ka...@i

Re: ArrayIndexOutOfBoundsException on Zeppelin notebook example

2016-11-17 Thread Hyung Sung Shim
Hello Muhammad. Please check your bank-full.csv file first and you can filter item length in your scala code for example *val bank = bankText.map(s => s.split(";")).filter(s => (s.size)>5).filter(s => s(0) != "\"age\"")* Hope this helps. 2016-11-17 21:26 GMT+09:00 Dayong : > Try to debug you

Re: ArrayIndexOutOfBoundsException on Zeppelin notebook example

2016-11-17 Thread Dayong
Try to debug your code in IDE. You should look at your array s since it complains about array index. Thanks, Wd > On Nov 16, 2016, at 10:44 PM, Muhammad Rezaul Karim > wrote: > > Hi All, > > I have the following Scala code (taken from > https://zeppelin.apache.org/docs/0.6.2/quickstart/tuto

ArrayIndexOutOfBoundsException on Zeppelin notebook example

2016-11-16 Thread Muhammad Rezaul Karim
Hi All, I have the following Scala code (taken from https://zeppelin.apache.org/docs/0.6.2/quickstart/tutorial.html#data-retrieval) that deals with the sample Bank-details data: ---*---