Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

A suggested solution to issue #111 #112

Closed
wants to merge 1 commit into from

2 participants

@saargolde

Added a couple of rows that are supposed to solve issue #111...

@saargolde

Suggested fix for issue #111

@piccolbo
Owner
@piccolbo
Owner

Can you do a R CMD check and confirm it passed before I do the merge? This is our process for master, everything that goes in has to pass R CMD check. Otherwise I can merge into dev.

@piccolbo piccolbo closed this
@piccolbo piccolbo referenced this pull request from a commit
@piccolbo piccolbo closes #111 #112 25c6403
@piccolbo piccolbo referenced this pull request from a commit
@piccolbo piccolbo closes #111 #112 afe0d9a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 1 deletion.
  1. +3 −1 rmr/pkg/R/mapreduce.R
View
4 rmr/pkg/R/mapreduce.R
@@ -475,7 +475,9 @@ to.dfs = function(object, output = dfs.tempfile(), format = "native") {
system(paste(hadoop.streaming(), "loadtb", dfsOutput, "<", tmp))
else hdfs.put(tmp, dfsOutput)
file.remove(tmp)}
- else file.rename(tmp, dfsOutput)
+ else {
+ file.copy(tmp, dfsOutput)
+ file.remove(tmp)}
output}
from.dfs = function(input, format = "native", to.data.frame = FALSE) {
Something went wrong with that request. Please try again.