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

output NULL of key and val #187

Open
nguyenvanlinh1808 opened this issue Jun 21, 2018 · 0 comments
Open

output NULL of key and val #187

nguyenvanlinh1808 opened this issue Jun 21, 2018 · 0 comments

Comments

@nguyenvanlinh1808
Copy link

hi everybody,
I succeeded run Hadoop jar,
yarn jar $YARN_EXAMPLES/hadoop-mapreduce-examples-3.1.0.jar pi 2 4
It gives the results. That means the mapreduce job is successful.

However, when I run it in R
from.dfs(mapreduce(input = to.dfs(1:10), map = function(k,v) keyval(v, v^2)))
It always returns NULL of key and val. The other wordcount mapreduce also brings me a NULL value of val and key.

Please help me to find out a solution for such issue.
Thank you very much!

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

1 participant