I am a beginner and have started to go through the Mlbase exercises. But i get a java.io.indexoutofbounds.exception when i run the first command of step 2.1 here :
http://ampcamp.berkeley.edu/3/exercises/mli-document-categorization.html All i am doing is Copying the command and pasting it to the spark shell interface. I tried splitting the command by loading the data set initially and filtering subsequently.. but that didnt work. I also tried to change value of "r(0)" to "r(1)" in that step. But i still get the same error. Any help is really appreciated. -Sudhir
