Fixed distributed filesystem instantiation.
Corrected error messages for PackagedProgram
Improvements on hdfs initialization error messages.