blankatom / log_storage_and_proccessing Goto Github PK
View Code? Open in Web Editor NEWlog_storage_and_proccessing, the big data course's disign.
log_storage_and_proccessing, the big data course's disign.
使用HBASE的API实现条件查询功能.
例如:“访问时间在1点到2点之间且URL属于百度的网页”等,即能够支持根据六个字段的一个或多个字段内容,使用不同条件(关键字或数值范围)进行联合搜索。具体内容如下:
实现一个程序。
从HDFS读取一个文本文件,文本中的存储的是一天的日志数据,每行作为一条记录,分为访问时间,用户ID,查询词,返回结果排名,顺序号,URL这六个字段(列),存入HBASE。
例如:
00:00:00 2982199073774412 [360安全卫士] 8 3 download.it.com.cn/softweb/software/firewall/antivirus/20067/17938.html
用户使用频率统计:
统计每个用户一天内的搜索次数
时段流量统计:
以hh:mm:ss格式输入起始时间和结束时间,统计这段时间之内的总搜索次数、各个查询词搜索次数,各个网站的访问量。其中网站访问量为根据URL统计网站访问,属于同一个网站的URL算在同一个网站上.
如women.sohu.com/20070508/n249762812.shtml,s.sohu.com/20080220/n255256097.shtml,peng.blog.sohu.com等不同的sohu网页都统计为sohu网站的访问次数。
基于大数据计算技术的条件查询:使用mapreduce框架或RDD算子,实现类似于HBASE的六个字段条件搜索。
访问行为统计:
根据该页面在搜索结果中的排名(第4字段),统计不同排名的结果被访问的情况。如排名第一的结果被访问次数,排名第二的结果被访问次数……
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.