2011年12月6日

摘要: 首先,看到标题,我想就会有人喷我,①11G对于hadoop而言不值一提②做耗时测试本没有必要,毕竟hadoop用于线下系统。我的想法:没那么复杂,只是想看下hadoop的文件处理能力和表现出的问题,只是单纯的享受这个解决问题并且得到结果的快感。不那么多废话啦!直接进入正题:1、数据来源:apache的日志,接近900万条数据,大小为11个G。2、创建表,并用正则匹配的方式导入数据,(这里hive的正则和普通正则,路由不同,之后会发新的博客讨论这个问题:(hive的正则)http://blog.csdn.net/lengzijian/article/details/7048575):这里正则值提 阅读全文
posted @ 2011-12-06 18:00 h2内存数据库 阅读(337) 评论(0) 推荐(0)
摘要: 上次安装hive时遇到很多问题,最后遗留下一个没有解决的问题,最后通过询问得以解决在这记录下:方便遇到同样问题的人:问题阐述在安装完hive后,执行:[root@localhost hive]# hive Hive history file=/tmp/root/hive_job_log_root_201112071228_90457717.txt hive> 创建表:hive> CREATE TABLE test ( time string, ip string, url string); OK Time taken: 0.303 seconds删除表报错:NestedThrowa 阅读全文
posted @ 2011-12-06 12:33 h2内存数据库 阅读(5087) 评论(0) 推荐(0)
摘要: 在我的板子上ping路由上的IP的时候可以ping通,但是ping外网的IP的时候提示“ping: sendto: Network is unreachable”后来使用route命令看了一下# routeKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface192.168.1.0 * 255.255.255.0 U 0 0 0 rausb0发现网关(Gateway),是空着的没有设置,于是执行一下命令设置了网关:# route add default gw 192.168.1.1# ro... 阅读全文
posted @ 2011-12-06 10:47 h2内存数据库 阅读(2939) 评论(0) 推荐(0)
摘要: 在使用iwconfig命令的时候提示的一个警告:# iwconfiglo no wireless extensions.eth0 no wireless extensions.Warning: Driver for device rausb0 has been compiled with version 22of Wireless Extension, while this program supports up to version 20.Some things may be broken...rausb0 RT73 WLAN ESSID:"A12_411" Nickna 阅读全文
posted @ 2011-12-06 10:18 h2内存数据库 阅读(225) 评论(0) 推荐(0)

导航