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
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.