[ http://issues.apache.org/jira/browse/NUTCH-93?page=all ]
Doug Cutting resolved NUTCH-93:
-------------------------------
Resolution: Fixed
Fixed in the mapred branch.
> DF error on long filesystem name
> --------------------------------
>
> Key: NUTCH-93
> URL: http://issues.apache.org/jira/browse/NUTCH-93
> Project: Nutch
> Type: Bug
> Versions: 0.7
> Environment: CentOS4.1 (like RedhatEnterprise4)
> Reporter: Shuji Umino
> Priority: Minor
>
> java.util.NoSuchElementException happened on start datanode.
> my system use LVM, default installed filesystem name is 'VolGroup00-LogVol00',
> divided two lines on type 'df' command.
> ---------------------------------------------------------------------------------------
> #df -k
> /dev/mapper/VolGroup00-LogVol00
> 152559732 1279408 143530692 1% /
> <--- return next line
> /dev/sda2 101105 9098 86786 10% /boot
> none 257352 0 257352 0% /dev/shm
> ---------------------------------------------------------------------------------------
> [org.apache.nutch.ndfs.DF] fixed source
> StringTokenizer tokens =
> new StringTokenizer(lines.readLine(), " \t\n\r\f%");
>
> this.filesystem = tokens.nextToken();
> if (!tokens.hasMoreTokens()) {
> //for long filesystem name
> tokens = new StringTokenizer(lines.readLine(), " \t\n\r\f%");
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers