hbase
文章平均质量分 69
普通网友
这个作者很懒,什么都没留下…
展开
-
通过MapReduce程序实现对hbase表数据的插入
import java.io.File;import java.io.IOException;import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.fs.Path;import org.apache.hadoop.hbase.HBaseConfiguration;import org.apach原创 2015-10-16 13:11:12 · 326 阅读 · 0 评论 -
impala表使用rcfile,sequencefile和parquet
impala表使用rcfile文件格式一、在impala中创建rcfile表 create table rcfile_table (column_specs) stored as rcfile; 或者 create table rcfile_table like some_other_table stored as rcfile;二、在hive中导入数据到rc原创 2015-10-16 13:07:36 · 684 阅读 · 0 评论 -
mysql数据导入hive和hbase
一、把mysql数据库的表导出为txt文本文件 select * from tablename into outfile "/filename.txt";二、在hive中创建对应的表 create table hive_table (column1 string,column2 string);三、把filename.txt文件导入hive表 load dat原创 2015-10-16 13:02:00 · 240 阅读 · 0 评论