You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Regis Xu (JIRA)" <ji...@apache.org> on 2010/11/17 07:48:14 UTC

[jira] Resolved: (HARMONY-6675) Reducing timeout value in CanonicalPatchCache to fix a file not found error in Hadoop common

     [ https://issues.apache.org/jira/browse/HARMONY-6675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Regis Xu resolved HARMONY-6675.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M16

Thanks Guillermo.

I just committed a patch that could configure timeout via system property 'org.apache.harmony.file.canonical.path.cache.timeout' and reduce default timeout value to 30 seconds.
The revision is r1035930, please check if it could resolve your problem. 

> Reducing timeout value in CanonicalPatchCache to fix a file not found error in Hadoop common
> --------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6675
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6675
>             Project: Harmony
>          Issue Type: New Feature
>         Environment: SLE v. 11, Apache Harmony 6
>            Reporter: Guillermo Cabrera
>            Assignee: Regis Xu
>            Priority: Minor
>             Fix For: 5.0M16
>
>         Attachments: HARMONY.-6675.diff
>
>
> Testing Harmony Select (r1022137) with Hadoop common, we ran across the following error:
> java.lang.RuntimeException: Error while running command to get file permissions : org.apache.hadoop.util.Shell$ExitCodeException: /bin/ls: /tmp/test1/file: No such file or directory
> Charles Lee (Apache Harmony developer) provided us with the following answer:
> "For all the test case failures in org.apache.hadoop.fs.TestLocalFSFileContextSymlink, the root cause is we have a CanonicalPathCache under the File, so the file canonical path will be wrong if the test case highly stressed, (I remember the cache time is set to 10 minute)."
> His patch to fix this issue has been attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.