combust / combust/mleap

Loading MLeap (.zip) Bundle from Azure Blob Store

Open
#540 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
1.5k
Forks
315
PR merge metrics
No merged PRs in 30d

Description

Hi!

Is it possible to load MLeap (.zip) bundle that is stored on Azure Blob Store (as Block blob)? If so, an example would be greatly appreciated. So far I've tried the following formats, but none of them have worked:

```
var url1 = "https://.blob.core.windows.net/.zip"
var url2 = "wasb://.blob.core.windows.net/.zip"
var url3 = "jar:file//:.blob.core.windows.net/.zip"
var url4 = "jar:file:.blob.core.windows.net/.zip"

val loadedMleapBundle = {
val bundle = BundleFile( or or or )
try {
bundle.loadMleapBundle().get.root
} finally {
bundle.close()
}
}
```

The exceptions I get are "**scala.MatchError: https (of class java.lang.String)**", "**scala.MatchError: wasb (of class java.lang.String)**", "**java.lang.IllegalArgumentException: Missing scheme**" and "**java.lang.IllegalArgumentException: URI is not hierarchical**" respectively.

Thanks in advance!

Cheers,
Dash

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.