# Using Hail0.2 on Azure Databrick

**URL:** <https://discuss.hail.is/t/using-hail0-2-on-azure-databrick/1128>\
**Category:** Hail Query & hailctl\
**Created:** [October 15, 2019, 3:29am UTC](https://discuss.hail.is/t/using-hail0-2-on-azure-databrick/1128 "2019-10-15T03:29:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sherlock666](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@sherlock666](https://discuss.hail.is/u/sherlock666)\
**Post date:** [October 15, 2019, 3:29am UTC](https://discuss.hail.is/t/using-hail0-2-on-azure-databrick/1128/1 "2019-10-15T03:29:16Z")

</div>

Hello? Anyone who can help for Hail 0.2 on Azure?  
After pip install lots of problems came out…  
can’t find Java Package , import hail.plot , hl.init()

According to document  
[https://docs.azuredatabricks.net/applications/genomics/tertiary/hail.html#create-a-hail-cluster](https://docs.azuredatabricks.net/applications/genomics/tertiary/hail.html#create-a-hail-cluster)

I’ve pip install hail  
set ENABLE\_HAIL=true

However  
import hail as hl  
hl.init(sc, idempotent=True)

```
AttributeError: module 'hail' has no attribute 'init'

```

Also another document  
[https://docs.azuredatabricks.net/applications/genomics/tertiary/hail.html](https://docs.azuredatabricks.net/applications/genomics/tertiary/hail.html)

```
import hail as hl
import hail.expr.aggregators as agg
hl.init(sc, idempotent=True)

ModuleNotFoundError: No module named 'hail.expr'

```

Anyone can give a solution?

---

<div class="post-metadata">

**Author:** ![tpoterba](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/tpoterba/32/61_2.png) [@tpoterba](https://discuss.hail.is/u/tpoterba)\
**Post date:** [October 15, 2019, 3:32am UTC](https://discuss.hail.is/t/using-hail0-2-on-azure-databrick/1128/2 "2019-10-15T03:32:10Z")

</div>

I think this is a question for Databricks support, sorry.

---

<div class="post-metadata">

**Author:** ![sherlock666](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@sherlock666](https://discuss.hail.is/u/sherlock666)\
**Post date:** [October 15, 2019, 3:41am UTC](https://discuss.hail.is/t/using-hail0-2-on-azure-databrick/1128/3 "2019-10-15T03:41:45Z")

</div>

But Strange…It’s just the initial part

If the initial part don’t support…

How can they provide us to use…

---

<div class="post-metadata">

**Author:** ![sherlock666](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@sherlock666](https://discuss.hail.is/u/sherlock666)\
**Post date:** [October 16, 2019, 12:52am UTC](https://discuss.hail.is/t/using-hail0-2-on-azure-databrick/1128/4 "2019-10-16T00:52:22Z")

</div>

Hello

On Azure DataBrick what should I do to use Hail0.2  
The document only mention for Google Platform and AWS

For my operation  
I only pip install Hail0.2

Would you mind to help me figure out?  
(may use Hail in a long term project)

Thanks!!!

---

<div class="post-metadata">

**Author:** ![johnc1231](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/johnc1231/32/286_2.png) [@johnc1231](https://discuss.hail.is/u/johnc1231)\
**Post date:** [October 16, 2019, 1:46am UTC](https://discuss.hail.is/t/using-hail0-2-on-azure-databrick/1128/5 "2019-10-16T01:46:50Z")

</div>

We have no control over the Databricks platform, and so cannot solve installation issues on Databricks. We are not Databricks customers, so we don’t have experience setting up Hail on Databricks. You should contact Databricks for support.
