You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2005/09/21 04:41:29 UTC
[jira] Closed: (NUTCH-93) DF error on long filesystem name
[ http://issues.apache.org/jira/browse/NUTCH-93?page=all ]
Doug Cutting closed NUTCH-93:
-----------------------------
> 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