What happens when you do:
val x = mc.loadFile("/enwiki_txt")
and then
x.numRows
or
x.take(5)
Do you see output there?
On Wed, Nov 20, 2013 at 4:41 PM, sudhir vaidya <[email protected]> wrote:
> 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
>
>
>
>
>