You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by superxgl <su...@163.com> on 2009/10/30 13:42:24 UTC

A question about the hadoop examples

Hi,everyone!
     I just have a question about the example which compute the pi using monte-karo method. Why when i run it i must use "pi" for the class name rather than use "PiEstimator" ???  Thanks very much .


                                               Sincerely yours,
                                                 Superxgl


     


Re: A question about the hadoop examples

Posted by Todd Lipcon <to...@cloudera.com>.
ExampleDriver switches on the argument - it's not an explicit class name.
The jar itself lists ExampleDriver as its main class in its manifest - look
at build.xml.

-Todd

2009/10/30 superxgl <su...@163.com>

> Hi,everyone!
>     I just have a question about the example which compute the pi using
> monte-karo method. Why when i run it i must use "pi" for the class name
> rather than use "PiEstimator" ???  Thanks very much .
>
>
>                                               Sincerely yours,
>                                                  Superxgl
>
>
>
>
>