After working though a tokenize error I kept getting an error when "bin/nutch datanode" started up. It said "java.net.SocketException: Invalid argument or cannot assign requested address." If this is the case you may have to add the following to the nutch script. Afterwards I'm able to start the namenode and datanode without issue.

-Djava.net.preferIPv4Stack=true

A tech note about why this is ....

"If IPv6 is available on the operating system the underlying native socket will be an IPv6 socket. This allows Java(tm) applications to connect to, and accept connections from, both IPv4 and IPv6 hosts."

Jon
http://jon.shoberg.net


Reply via email to