You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2007/12/14 03:19:43 UTC
[jira] Commented: (HADOOP-2420) Use exit code to detect normal
errors while excuting 'ls' in Local FS
[ https://issues.apache.org/jira/browse/HADOOP-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551676 ]
Tsz Wo (Nicholas), SZE commented on HADOOP-2420:
------------------------------------------------
Not sure we should keep using "ls -ld" because of HADOOP-2426.
> Use exit code to detect normal errors while excuting 'ls' in Local FS
> ---------------------------------------------------------------------
>
> Key: HADOOP-2420
> URL: https://issues.apache.org/jira/browse/HADOOP-2420
> Project: Hadoop
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.16.0
> Reporter: Raghu Angadi
> Assignee: Raghu Angadi
> Fix For: 0.16.0
>
>
> Local FileSystem runs {{ls -ld}} find file permissions, owner and group for a file. Currently it parses message in the exception to check if the command returned an error due to expected conditions like missing file.
> HADOOP-2344 add interface to get error code returned by the external process. Local FS should use that.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.