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

rhadoop giving null key value output #184

Open
Surender1984 opened this issue Aug 20, 2017 · 2 comments
Open

rhadoop giving null key value output #184

Surender1984 opened this issue Aug 20, 2017 · 2 comments

Comments

@Surender1984
Copy link

I have integrated R with Hadoop using RHadoop and running belwo program from R.

library(rmr2)
library(rhdfs)
hdfs.init()
ints = to.dfs(1:100)
calc = mapreduce(input = ints, map = function(k, v) cbind(v, 2*v))
from.dfs(calc)

Map reduce job runs successfully but it's giving null output as below.

$key
NULL

$val
NULL

However it I use the option rmr.options(backend="local") then it's giving proper output.

It will be a great help if you can please help me on this and provide the solution.

@thecodeflash
Copy link

Please check issue #179 . Thanks

@nguyenvanlinh1808
Copy link

I still got the same like you. I spent a long long time with red eyes searching for a solution but I can not see. If you know how to deal with that please help me on such issue,
Thank you.

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

No branches or pull requests

3 participants