0
I Use This!
Activity Not Available

Project Summary

概况An Map-Reduce project that analyzes large-scale cellphone call log data.

.

检出方法装上 svn 装上适应自己操作系统的 subversion Windows 系统可以装 TortoiseSVN 给 eclipse 弄个 subclipse 插件 安装方法略过... 设置 eclipse 的 User Library 将 hadoop-0.20.0-youngcat.jar 放到你的 hadoop-0.20.0 目录中 菜单 Window -> Preference,左栏 Java -> Build Path -> User Library New,名称填写 hadoop (不要私自更改这个名称) Add Jars,分别定位到自己的 hadoop-0.20.0 目录及其 lib 目录,将所有 .jar 文件全部增加 展开那个 hadoop 用户库,将 hadoop-0.20.0-youngcat.jar 用 Up 按钮弄到最顶 增加资源库位置 在 eclipse 中切换到“ SVN 资源库研究 ”的 Perspective 在“SVN 资源库”方格(左上方)中右键, 新建 -> 资源库位置 URL 填写 https://cellphone-project.googlecode.com/svn/trunk/ (在这里提到了这个位置) 万一需要用户名和密码,填写你的 gmail 邮箱前半截,和这里提到的密码 检出代码 (英文叫 checkout the code in Google Code) 展开刚才增加的资源库位置,将看到 Cellphone 。右击它,选检出 保持默认设置,完成 切换到 Java Perspective 或者 Map/Reduce Perspective,将看到多了一个叫 Cellphone 的工程 查看代码及测试运行 展开 Cellphone 项目 -> src 目录 -> cellphone 包 -> test 包 -> WordCountDriver.java 文件 Run on Hadoop! 将会以一只猫头作为用户、wc 作为任务名,在集群上开跑一个小任务 .

建议不同功能的 mapper 和 reducer 放在不同的包中,建议是 cellphone.xxxXxxXxx 命名的包 各人的 Driver 最好继承自 cellphone.Driver ,就像 cellphone.WordCountDriver 那样。因为底层那个 cellphone.Driver 实现了一些方便的功能,例如 createDefaultJob() 和 getFS() 等,用起来比较方便 建议重载 cellphone.Driver 的 getUserName() getAvatarUrl() getGossip() ,他们分别可以设置用户名、设置头像和设置版聊信息。可以考虑像 cellphone.CatDriver 那样,加一个中间层,免得每个 Driver 都设置一次用户名和头像

Tags

No tags have been added

In a Nutshell, cellphone-project...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Apache License 2.0
Permitted

Place Warranty

Sub-License

Private Use

Use Patent Claims

Commercial Use

Modify

Distribute

Forbidden

Hold Liable

Use Trademarks

Required

Include Copyright

State Changes

Include License

Include Notice

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    you can subscribe to e-mail newsletters to receive update from the Open Hub blog
  • ...
    65% of companies leverage OSS to speed application development in 2016
  • ...
    check out hot projects on the Open Hub

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis