Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.13.0
-
None
-
None
-
None
Description
The Drill-on-YARN (DoY) client code has a class called DfsFacade which abstracts away some of the YARN-related aspects of HDFS. It primarily focus on the mind-numbing details of localizing files in YARN.
Rather than this being a stand-alone class, it should use the DrillFileSystem class in its implementation. (Don't extend DrillFileSystem, doing so will widen the API and confuse the fact that this particular class is only for YARN localization.) Use DrillFileSystem for the basic operations rather than calling HDFS directly.