Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing deprecated pyarrow.hdfs.connect call from iorw.py #615

Merged
merged 2 commits into from Jun 16, 2021

Conversation

abhimanyu-bitsgoa
Copy link
Contributor

@abhimanyu-bitsgoa abhimanyu-bitsgoa commented Jun 7, 2021

What does this PR do?

Addressing commonly seen warning in iorw.py file.

/usr/local/lib/python3.7/dist-packages/papermill/iorw.py:50: FutureWarning: pyarrow.HadoopFileSystem is deprecated as of 2.0.0, please use pyarrow.fs.HadoopFileSystem instead.
  from pyarrow import HadoopFileSystem

Fixes #600

…doopFileSystem instead.

Addressing commonly see warning in iorw.py file.

/usr/local/lib/python3.7/dist-packages/papermill/iorw.py:50: FutureWarning: pyarrow.HadoopFileSystem is deprecated as of 2.0.0, please use pyarrow.fs.HadoopFileSystem instead.
  from pyarrow import HadoopFileSystem
Copy link
Member

@MSeal MSeal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor change suggestion I'll apply right away to maintain backwards compatibility.

papermill/iorw.py Outdated Show resolved Hide resolved
@MSeal MSeal merged commit e2f23ca into nteract:main Jun 16, 2021
@MSeal
Copy link
Member

MSeal commented Jun 16, 2021

Thanks @abhimanyu-bitsgoa !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FutureWarning when importing pyarrow.HadoopFileSystem
2 participants