We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81f68ed commit 8adfd7aCopy full SHA for 8adfd7a
src/main/java/org/apache/hadoop/fs/glusterfs/GlusterVolume.java
@@ -69,7 +69,10 @@ public GlusterVolume(Configuration conf){
69
this.setConf(conf);
70
}
71
72
- public URI getUri() { return NAME; }
+ public URI getUri() {
73
+ if(NAME==null) return URI.create("glusterfs:///");
74
+ return NAME;
75
+ }
76
77
public void initialize(URI uri, Configuration conf) throws IOException {
78
/* we only really care about the URI up to the path, so strip other things off */
0 commit comments