File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
src/main/java/org/apache/hadoop/fs/glusterfs Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 46
46
* This package provides interface for hadoop jobs (incl. Map/Reduce)
47
47
* to access files in GlusterFS backed file system via FUSE mount
48
48
*/
49
+
50
+
51
+ /*
52
+ *
53
+ * TODO: Evaluate LocalFileSystem and RawLocalFileSystem as possible delegate file systems to remove & refactor this code.
54
+ *
55
+ */
49
56
public class GlusterFileSystem extends FileSystem {
50
57
51
58
private FileSystem glusterFs = null ;
@@ -180,6 +187,12 @@ public boolean exists(Path path) throws IOException {
180
187
return f .exists ();
181
188
}
182
189
190
+ /*
191
+ * Code copied from:
192
+ * @see org.apache.hadoop.fs.RawLocalFileSystem#mkdirs(org.apache.hadoop.fs.Path)
193
+ * as incremental fix towards a re-write. of this class to remove duplicity.
194
+ *
195
+ */
183
196
public boolean mkdirs (Path f , FsPermission permission ) throws IOException {
184
197
185
198
if (f ==null ) return true ;
You can’t perform that action at this time.
0 commit comments