Description
Fix a couple of issues while handling error stream in Shell (added in HADOOP-2344) :
- fix typo in System.getProperty("line.seperator"), currently it adds "null" instead of "\n".
- completed is not set to true when a process exits with an error.
- In normal error case, it reads errMsg (to create IOException) before waiting for errThread to complete, which results in in consistent error message. I will attach a patch.
Attachments
Attachments
Issue Links
- incorporates
-
HADOOP-2420 Use exit code to detect normal errors while excuting 'ls' in Local FS
- Closed