# Hdfs path as datasource

**URL:** <https://discourse.greatexpectations.io/t/hdfs-path-as-datasource/366>\
**Category:** Archive\
**Created:** [September 1, 2020, 3:50pm UTC](https://discourse.greatexpectations.io/t/hdfs-path-as-datasource/366 "2020-09-01T15:50:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jugal\_kishore](https://avatars.discourse-cdn.com/v4/letter/j/f07891/32.png) [@jugal\_kishore](https://discourse.greatexpectations.io/u/jugal_kishore)\
**Post date:** [September 1, 2020, 3:50pm UTC](https://discourse.greatexpectations.io/t/hdfs-path-as-datasource/366/1 "2020-09-01T15:50:32Z")

</div>

Is there a way to read files from hdfs just by giving the hdfs path in CLI?  
Although it was working when i gave my hdfs path in the notebook and yml file

---

<div class="post-metadata">

**Author:** ![eugene.mandel](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.greatexpectations.io/eugene.mandel/32/22_2.png) [@eugene.mandel](https://discourse.greatexpectations.io/u/eugene.mandel)\
**Post date:** [September 1, 2020, 4:17pm UTC](https://discourse.greatexpectations.io/t/hdfs-path-as-datasource/366/2 "2020-09-01T16:17:06Z")

</div>

While this works in a notebook and the yml config file, the CLI is not able to take an HDFS path yet.

---

<div class="post-metadata">

**Author:** ![bhcastleton](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.greatexpectations.io/bhcastleton/32/73_2.png) [@bhcastleton](https://discourse.greatexpectations.io/u/bhcastleton)\
**Post date:** [September 11, 2020, 10:59pm UTC](https://discourse.greatexpectations.io/t/hdfs-path-as-datasource/366/3 "2020-09-11T22:59:07Z")

</div>

Linking to the Github issue here:

> <https://github.com/great-expectations/great_expectations/issues/1864>
>
> Unable to create an datasource using hdfs path although giving the path in the yml file and jupyter notebook explicitly works....
