Skip to content

Commit e13729c

Browse files
committed
Add glusterfs-site.xml to the configuration. glusterfs-site.xml to hold all of the gluster specific configuration
1 parent 012d5d4 commit e13729c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/apache/hadoop/fs/glusterfs/GlusterFileSystem.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public boolean exists(Path f) throws IOException{
7272

7373
public void setConf(Configuration conf){
7474
log.info("Configuring GlusterFS");
75+
if(conf!=null) conf.addResource("glusterfs-site.xml");
7576
super.setConf(conf);
7677
}
7778

0 commit comments

Comments
 (0)