forked from src-d/gemini
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Although slower, but fixes user experience i.e src-d#138 The only possible workaround \wo Engine using `org.apache.hadoop.fs.FileSystem#globStatus(org.apache.hadoop.fs.Path)` did not work, as "$path/*" there does not matche recursivly so ``` fs.globStatus(new Path(s"$path/*")) .flatMap(file => if (file.getPath.getName.endsWith(".siva")) { Some(file.getPath) } else { None }) ``` would not support bucketed repos, and thus we would need to mimick `org.apache.hadoop.mapreduce.lib.input.FileInputFormat#listStatus` manually. Signed-off-by: Alexander Bezzubov <bzz@apache.org>
- Loading branch information
Showing
2 changed files
with
30 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters