Skip to content

Commit

Permalink
Bug fix for reading references from GCS on Spark (#6070)
Browse files Browse the repository at this point in the history
Bug fix for reading references from GCS on Spark

Without this fix, we could get a `java.nio.file.FileSystemNotFoundException: Provider "gs" not installed` when running on a cluster.
  • Loading branch information
SHuang-Broad authored and droazen committed Aug 1, 2019
1 parent d0c8739 commit 20190cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public ReferenceFileSparkSource( final Path referencePath) {

private synchronized Path getReferencePath() {
if (null == referencePath) {
this.referencePath = Paths.get(referenceUri);
this.referencePath = IOUtils.getPath(referenceUri.toString());
}
return referencePath;
}
Expand Down

0 comments on commit 20190cb

Please sign in to comment.