Skip to content

Commit 114ae17

Browse files
committed
Merge pull request #114 from shtripat/fix-1101937
Fix 1101937
2 parents dae8363 + 33cb870 commit 114ae17

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,10 @@ public void setConf(Configuration conf){
113113
String vol = conf.get("fs.glusterfs.volume.fuse." + v[i] , null);
114114

115115
if(vol==null){
116-
log.error("Could not find property: fs.glusterfs.fuse." + v[i]);
117-
throw new RuntimeException("Could not find mount point for volume: "+ v[i]);
116+
log.error("Invalid volume name: " + v[i]
117+
+ ", No such property: fs.glusterfs.fuse." + v[i]);
118+
throw new RuntimeException("Invalid volume name: " + v[i]
119+
+ ", No mount point available for the volume.");
118120
}
119121
volumes.put(v[i],vol);
120122
log.info("Gluster volume: " + v[i] + " at : " + volumes.get(v[i]));

0 commit comments

Comments
 (0)