Skip to content

Closed file system which is not eventually closed.#985

Closed
kamaci wants to merge 2 commits intoapache:masterfrom
kamaci:master
Closed

Closed file system which is not eventually closed.#985
kamaci wants to merge 2 commits intoapache:masterfrom
kamaci:master

Conversation

@kamaci
Copy link
Member

@kamaci kamaci commented Dec 22, 2017

Closed the filesystem.

@keith-turner keith-turner self-requested a review December 22, 2017 19:25
Copy link
Contributor

@keith-turner keith-turner left a comment

Choose a reason for hiding this comment

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

@kamaci welcome to the Apache Fluo community and thanks for the contribution. I tested this locally to ensure it did not negatively impact the Fluo worker process and the change worked great.

After the formatting issue is fixed I can merge this.

if (downloadPathFile.exists()) {
FileUtils.deleteDirectory(downloadPathFile);
}
fs.copyToLocalFile(new Path(config.getObserverJarsUrl()), new Path(opts.getDownloadPath()));
Copy link
Contributor

Choose a reason for hiding this comment

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

I built and tested this locally, I noticed this line was reformatted. Fluo uses Maven plugins to automatically format the code. If you run mvn compile locally you should see that this line is reformatted.

@kamaci kamaci closed this Dec 22, 2017
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.

2 participants