Skip to content

hdfs: implement makedirs separately #4128

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

Merged
merged 1 commit into from
Jun 29, 2020
Merged

hdfs: implement makedirs separately #4128

merged 1 commit into from
Jun 29, 2020

Conversation

efiop
Copy link
Contributor

@efiop efiop commented Jun 29, 2020

Clouds that have a non-noop makedirs should implement it in their own
method. Hdfs somehow slipped under the radar and had mkdir used
explicitly in copy and upload methods.

  • ❗ I have followed the Contributing to DVC checklist.

  • 📖 If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here.

  • ❌ I will check DeepSource, CodeClimate, and other sanity checks below. (We consider them recommendatory and don't expect everything to be addressed. Please fix things that actually improve code or fix bugs.)

Thank you for the contribution - we'll try to review it as soon as possible. 🙏

Clouds that have a non-noop `makedirs` should implement it in their own
method. Hdfs somehow slipped under the radar and had `mkdir` used
explicitly in `copy` and `upload` methods.
@efiop efiop added the refactoring Factoring and re-factoring label Jun 29, 2020
@codecov
Copy link

codecov bot commented Jun 29, 2020

Codecov Report

Merging #4128 into master will decrease coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4128      +/-   ##
==========================================
- Coverage   92.76%   92.71%   -0.05%     
==========================================
  Files         162      162              
  Lines       11278    11277       -1     
==========================================
- Hits        10462    10456       -6     
- Misses        816      821       +5     
Impacted Files Coverage Δ
dvc/remote/hdfs.py 93.16% <100.00%> (-0.06%) ⬇️
dvc/version.py 83.33% <0.00%> (-2.78%) ⬇️
dvc/remote/s3.py 94.77% <0.00%> (-1.31%) ⬇️
dvc/path_info.py 91.53% <0.00%> (-0.53%) ⬇️
dvc/remote/base.py 95.40% <0.00%> (-0.14%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 83a2afc...27ef3b5. Read the comment docs.

@efiop efiop merged commit 7b97d72 into master Jun 29, 2020
@delete-merged-branch delete-merged-branch bot deleted the hdfs_makedirs branch June 29, 2020 07:27
@efiop efiop added c1-quick-fix p3-nice-to-have It should be done this or next sprint labels Jun 29, 2020
@efiop efiop self-assigned this Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3-nice-to-have It should be done this or next sprint refactoring Factoring and re-factoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant