Hi,

I want to run nutch job jar locally. Is it possible to run it without
manifest file which defines main class. I tried

java -jar nutch-1.1.job org.apache.nutch.crawl.Crawl <rest of args>.

It throws up error
Failed to load Main-Class manifest attribute from
nutch-1.1.job

Any help/suggestion would be highly appreciated.



On Tue, Nov 9, 2010 at 8:13 PM, Jitendra [via Lucene] <
[email protected]<ml-node%[email protected]>
> wrote:

> Hi all,
>
> I have created custom nutch job jar with some modifications which I want to
>
> test it by running locally using java program.
> Arguments to job jar are org.apache.nutch.crawl.Crawl urls -dir crawl
> -depth
> 1.
>
> Could any one suggest a library/API or  a way of doing this in an efficient
>
> way. I am thinking of using Runtime.exec to execute this jar.
>
> Also running job jar on Elastic map reduce doesn't need manifest file.
> Would
> running it locally require manifest file defining main class and hadoop
> setup locally?
>
> --
> Thanks and regards
>
> Jitendra Singh
>
>
> ------------------------------
>  View message @
> http://lucene.472066.n3.nabble.com/Run-nutch-job-jar-programatically-tp1869436p1869436.html
> To start a new topic under Nutch - User, email
> [email protected]<ml-node%[email protected]>
> To unsubscribe from Nutch - User, click 
> here<http://lucene.472066.n3.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_code&node=603147&code=amVldC5sb3Zlc0BnbWFpbC5jb218NjAzMTQ3fC0xMDg2ODAyNDgy>.
>
>
>


-- 
Thanks and regards

Jitendra Singh

-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Run-nutch-job-jar-programatically-tp1869436p1874831.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Reply via email to