nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (NUTCH-93) DF error on long filesystem name
Date Wed, 21 Sep 2005 02:41:28 GMT
     [ 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


Mime
View raw message