AbsaOSS / AbsaOSS/enceladus

HadoopFsUtils.copyDistributedFileToLocalTempFile possible improvement

Open
#1,645 0 comments 0 reactions 0 assignees View on GitHub
priority: low refactoring under discussion
Dominant language
Scala
Stars
33
Forks
16
PR merge metrics
No merged PRs in 30d

Description

## Background
Some possible simplification of code

## Feature
In `HadoopFsUtils.copyDistributedFileToLocalTempFile` consider using:
```
fs.copyToLocalFile(false, new Path(hdfsPath), new Path("someLocalName"), true)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.