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

Hadoop中如何使用IP.find() #12

Open
PerfectWzp opened this issue Nov 11, 2016 · 0 comments
Open

Hadoop中如何使用IP.find() #12

PerfectWzp opened this issue Nov 11, 2016 · 0 comments

Comments

@PerfectWzp
Copy link

本地使用IP.find()都是正常的,

import IP
IP.find("www.baidu.com")
'中国\t浙江\t杭州'
IP.find("127.0.0.1")
'本机地址\t本机地址'

但是,我现在正在用Python写Hadoop的map, reduce任务,需要在map, reduce中调用IP.find(),
请问具体如何做到?需要怎么打包IP模块到Hadoop中?

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