Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Implement createNonRecursive for HBase. Fixes #21

  • Loading branch information...
commit 67ea26b2c746541118e09aa59524181abb36cf65 1 parent e84089d
Jeremy R. Fishman authored
View
9 src/java/hadoop-qfs/src/main/java/com/quantcast/qfs/hadoop/QuantcastFileSystem.java
@@ -146,6 +146,15 @@ public FSDataOutputStream create(Path file, FsPermission permission,
replication, bufferSize, overwrite, permission.toShort());
}
+ public FSDataOutputStream createNonRecursive(Path file,
+ FsPermission permission,
+ boolean overwrite, int bufferSize,
+ short replication, long blockSize,
+ Progressable progress)
+ return qfsImpl.create(makeAbsolute(file).toUri().getPath(),
+ replication, bufferSize, overwrite, permission.toShort());
+ }
+
public FSDataInputStream open(Path path, int bufferSize) throws IOException {
return qfsImpl.open(makeAbsolute(path).toUri().getPath(), bufferSize);
}
Please sign in to comment.
Something went wrong with that request. Please try again.