Is your feature request related to a problem? Please describe.
|
public static FSDataInputWrapper openFileAsDataInputWrapper(FileSystem fs, String path) throws Exception { |
|
// the path is a URI string, so we need to convert it to a URI object |
|
return FSDataInputWrapper.wrap(fs.open(new Path(new URI(path)))); |
|
} |
|
|
|
public static FSDataOutputWrapper createFileAsDataOutputWrapper(FileSystem fs, String path) throws Exception { |
|
return FSDataOutputWrapper.wrap(fs.create(new Path(new URI(path)))); |
|
} |
Describe the solution you'd like
Describe alternatives you've considered
Additional context
Is your feature request related to a problem? Please describe.
auron/auron-core/src/main/java/org/apache/auron/jni/JniBridge.java
Lines 67 to 74 in a0952ec
Describe the solution you'd like
Describe alternatives you've considered
Additional context