Skip to content

Commit 2b81639

Browse files
committed
code regressed in commit 904c19f causing automount to fail. this code reverts that
1 parent b3e898c commit 2b81639

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,6 @@ public void initialize(URI uri,Configuration conf) throws IOException{
133133
if((volName.length()==0)||(remoteGFSServer.length()==0)||(glusterMount.length()==0))
134134
throw new RuntimeException("Not enough info for FUSE Mount : volname="+volName+",server="+remoteGFSServer+",glustermount="+glusterMount);
135135

136-
ret=FUSEMount(volName, remoteGFSServer, glusterMount);
137-
138-
if(!ret){
139-
throw new RuntimeException("Failed to init Gluster FS");
140-
}
141136
if(autoMount){
142137
ret=FUSEMount(volName, remoteGFSServer, glusterMount);
143138
if(!ret){

0 commit comments

Comments
 (0)