You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Jay <sa...@blastsms.com> on 2010/08/16 13:07:02 UTC

Nutch in Eclipse

Hi,

I am trying to get Nutch working within Eclipse using this tutorial:

http://wiki.apache.org/nutch/RunNutchInEclipse0.9

Some differences, I have downloaded nutch version 1.1 and I did not
install http://www.microsoft.com/downloads/details.aspx?FamilyId=49AE8576-9BB9-4126-9761-BA8011FABF38&displaylang=en

The rest is as per this guide.

By the looks of it, it having problems running chmod on my Windows XP
machine? Is this a valid windows xp command (to my knowledge its only
used in linux).

Your help will be greatly appreciated.

--------------------------------

crawl started in: crawl
rootUrlDir = urls
threads = 10
depth = 3
indexer=lucene
topN = 50
Injector: starting
Injector: crawlDb: crawl/crawldb
Injector: urlDir: urls
Injector: Converting injected urls to crawl db entries.
Exception in thread "main" java.io.IOException: Cannot run program
"chmod": CreateProcess error=2, The system cannot find the file
specified
	at java.lang.ProcessBuilder.start(Unknown Source)
	at org.apache.hadoop.util.Shell.runCommand(Shell.java:149)
	at org.apache.hadoop.util.Shell.run(Shell.java:134)
	at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:286)
	at org.apache.hadoop.util.Shell.execCommand(Shell.java:354)
	at org.apache.hadoop.util.Shell.execCommand(Shell.java:337)
	at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:481)
	at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:473)
	at org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:280)
	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:266)
	at org.apache.hadoop.mapred.JobClient.configureCommandLineOptions(JobClient.java:573)
	at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:761)
	at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:730)
	at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1249)
	at org.apache.nutch.crawl.Injector.inject(Injector.java:211)
	at org.apache.nutch.crawl.Crawl.main(Crawl.java:124)
Caused by: java.io.IOException: CreateProcess error=2, The system
cannot find the file specified
	at java.lang.ProcessImpl.create(Native Method)
	at java.lang.ProcessImpl.<init>(Unknown Source)
	at java.lang.ProcessImpl.start(Unknown Source)
	... 16 more

Re: Nutch in Eclipse

Posted by James Erwin <je...@blastsms.com>.
Hi,

I have managed to sort it out.

My Environment variables was acting up, so got that going.

Thanks

On Mon, Aug 16, 2010 at 6:07 PM, Jay <sa...@blastsms.com> wrote:
> Hi,
>
> I am trying to get Nutch working within Eclipse using this tutorial:
>
> http://wiki.apache.org/nutch/RunNutchInEclipse0.9
>
> Some differences, I have downloaded nutch version 1.1 and I did not
> install http://www.microsoft.com/downloads/details.aspx?FamilyId=49AE8576-9BB9-4126-9761-BA8011FABF38&displaylang=en
>
> The rest is as per this guide.
>
> By the looks of it, it having problems running chmod on my Windows XP
> machine? Is this a valid windows xp command (to my knowledge its only
> used in linux).
>
> Your help will be greatly appreciated.
>
> --------------------------------
>
> crawl started in: crawl
> rootUrlDir = urls
> threads = 10
> depth = 3
> indexer=lucene
> topN = 50
> Injector: starting
> Injector: crawlDb: crawl/crawldb
> Injector: urlDir: urls
> Injector: Converting injected urls to crawl db entries.
> Exception in thread "main" java.io.IOException: Cannot run program
> "chmod": CreateProcess error=2, The system cannot find the file
> specified
>        at java.lang.ProcessBuilder.start(Unknown Source)
>        at org.apache.hadoop.util.Shell.runCommand(Shell.java:149)
>        at org.apache.hadoop.util.Shell.run(Shell.java:134)
>        at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:286)
>        at org.apache.hadoop.util.Shell.execCommand(Shell.java:354)
>        at org.apache.hadoop.util.Shell.execCommand(Shell.java:337)
>        at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:481)
>        at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:473)
>        at org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:280)
>        at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:266)
>        at org.apache.hadoop.mapred.JobClient.configureCommandLineOptions(JobClient.java:573)
>        at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:761)
>        at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:730)
>        at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1249)
>        at org.apache.nutch.crawl.Injector.inject(Injector.java:211)
>        at org.apache.nutch.crawl.Crawl.main(Crawl.java:124)
> Caused by: java.io.IOException: CreateProcess error=2, The system
> cannot find the file specified
>        at java.lang.ProcessImpl.create(Native Method)
>        at java.lang.ProcessImpl.<init>(Unknown Source)
>        at java.lang.ProcessImpl.start(Unknown Source)
>        ... 16 more
>



-- 
Regards,
James Erwin
BlastSMS
Mobile Messaging Service

Integrate SMS technology into YOUR Business.
Reap the benefits of this non intrusive form of communication.

Ask me how your business can benefit.

The information contained in this message may be confidential and is
intended to be exclusively for the addressee. Should you receive this
message unintentionally, please do not use the contents herein and
notify the sender immediately by return e-mail