Dear Wiki user, You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change notification.
The following page has been changed by FrankMcCown: http://wiki.apache.org/nutch/RunNutchInEclipse1%2e0 The comment on the change is: UAC issue on Vista ------------------------------------------------------------------------------ == Tested with == * Nutch release 1.0 - * Eclipse 3.3 - aka Europa, ganymede + * Eclipse 3.3 (Europa) and 3.4 (Ganymede) * Java 1.6 * Ubuntu (should work on most platforms though) - * Windows XP + * Windows XP and Vista == Before you start == @@ -21, +21 @@ === For Windows Users === - If you are running Windows (tested on Windows XP) you must first install cygwin + If you are running Windows (tested on Windows XP) you must first install cygwin. Download it from http://www.cygwin.com/setup.exe + Install cygwin and set the PATH environment variable for it. You can set it from the Control Panel, System, Advanced Tab, Environment Variables and edit/add PATH. - Download cygwin from http://www.cygwin.com/setup.exe - - Install cygwin and set PATH variable for it. - - It's in control panel, system, advanced tab, environment variables and edit/add PATH I have in PATH like: - + {{{ C:\Sun\SDK\bin;C:\cygwin\bin + }}} + If you run "bash" from the Windows command line (Start > Run... > cmd.exe) it should successfully run cygwin. - If you run "bash" in Start > Run... > cmd.exe it should work. + If you are running Eclipse on Vista, you will likely need to [http://www.mydigitallife.info/2006/12/19/turn-off-or-disable-user-account-control-uac-in-windows-vista/ turn off Vista's User Access Control (UAC)]. Otherwise Hadoop will likely complain that it cannot change a directory permission when you later run the crawler: + {{{ + org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of ... Permission denied + }}} + See [http://markmail.org/message/ymgygimtvuksn2ic#query:Exception%20in%20thread%20main%20org.apache.hadoop.util.Shell%24ExitCodeException%3A%20chmod%3A%20changing%20permissions+page:1+mid:pj3spjhvdtjx736q+state:results this] for more information about the UAC issue. === Install Nutch === * Grab a [http://lucene.apache.org/nutch/version_control.html fresh release] of Nutch 1.0 or download and untar the [http://lucene.apache.org/nutch/release/ official 1.0 release].