# Access eosuser

**URL:** <https://swan-community.web.cern.ch/t/access-eosuser/205>\
**Category:** Spark\
**Created:** [March 9, 2020, 5:12pm UTC](https://swan-community.web.cern.ch/t/access-eosuser/205 "2020-03-09T17:12:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nraab](https://swan-community.web.cern.ch/letter_avatar_proxy/v4/letter/n/a3d4f5/32.png) [@nraab](https://swan-community.web.cern.ch/u/nraab)\
**Post date:** [March 9, 2020, 5:12pm UTC](https://swan-community.web.cern.ch/t/access-eosuser/205/1 "2020-03-09T17:12:20Z")

</div>

Dear all,  
I am trying to open a file stored on eos like this:  
spark.read.load(“root://eosuser.cern.ch//eos/user/n/nraab/SWAN\_projects/MC\_efficiency/mytupleMC16d.root”)

However I get the error that the Path does not exist. Do I need to mount eos in any way before bein able to use it? When not specifying “root://eosuser.cern.ch”, the default directory seems to be “hdfs://analytix/”

Many thanks in advance,  
Naomi

---

<div class="post-metadata">

**Author:** ![etejedor](https://swan-community.web.cern.ch/letter_avatar_proxy/v4/letter/e/e79b87/32.png) [@etejedor](https://swan-community.web.cern.ch/u/etejedor)\
**Post date:** [March 9, 2020, 5:28pm UTC](https://swan-community.web.cern.ch/t/access-eosuser/205/2 "2020-03-09T17:28:38Z")

</div>

@pkothuri can you give a hand to Naomi with this issue? Does she need to create a kerberos ticket and send it to the workers?

---

<div class="post-metadata">

**Author:** ![pkothuri](https://swan-community.web.cern.ch/letter_avatar_proxy/v4/letter/p/aca169/32.png) [@pkothuri](https://swan-community.web.cern.ch/u/pkothuri)\
**Post date:** [March 10, 2020, 8:57am UTC](https://swan-community.web.cern.ch/t/access-eosuser/205/3 "2020-03-10T08:57:07Z")

</div>

@nraab can you try using the cloud containers clusters, we do send the krb to the spark executors for the ‘cloud containers’ cluster

---

<div class="post-metadata">

**Author:** ![nraab](https://swan-community.web.cern.ch/letter_avatar_proxy/v4/letter/n/a3d4f5/32.png) [@nraab](https://swan-community.web.cern.ch/u/nraab)\
**Post date:** [March 10, 2020, 10:32am UTC](https://swan-community.web.cern.ch/t/access-eosuser/205/4 "2020-03-10T10:32:01Z")

</div>

Hi @pkothuri , many thanks, by doing that I can now access eos from SWAN, however, simple tasks like

sql = spark.sql  
sql(“select ‘Hello World!’”).show()

don’t seem to work with that configuration, it get’s stuck in ‘running’ with 0 cores and 0 executors.
