科技改变世界,技术改变人生。
发布时间:2015-07-17 16:23:16
Hive实现wordCount程序<br /><br />a. 创建一个数据库,如<br />create database word;<br /><br />b. 建表<br />create external table word_data(line string) row format delimited fields terminated by '\n' stored as textfile location '/home/hadoop/worddata';<br /><br />这里假设我们的数据存放在hadoop.........【阅读全文】
发布时间:2015-04-15 15:12:21
[hadoop@master data]$ hiveWARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files.Logging initialized using configuration in jar:file:/app/hive/lib/hive-common-0.9.0.jar!/hive-log4j.propertiesHive .........【阅读全文】