博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
熟悉常用的HBase操作
阅读量:4513 次
发布时间:2019-06-08

本文共 579 字,大约阅读时间需要 1 分钟。

1、以下关系型数据库中的表和数据,要求将其转换为适合于HBase存储的表并插入数据:

2、用Hadoop提供的HBase Shell命令完成相同任务:

create 'Student', ' S_No  ','S_Name', ’S_Sex’,'S_Age'put 'Student','1','S_No','2015001'put 'Student','1','S_Name','Zhangsan'put 'Student','1','S_Sex','male'put 'Student','1','S_Age','23'put 'Student','2','S_No','2015003'put 'Student','2','S_Name','Mary'put 'Student','2','S_Sex','female'put 'Student','2','S_Age','22'put 'Student','3','S_No','2015003'put 'Student','3','S_Name','Lisi'put 'Student','3','S_Sex','male'put 'Student','3','S_Age','24'

  

转载于:https://www.cnblogs.com/jianzhihao/p/8992240.html

你可能感兴趣的文章
ORA-00907: 缺失右括号
查看>>
【原】移动web资源整理
查看>>
第 7 章 —— 代理模式
查看>>
项目介绍&人员介绍
查看>>
服务稳定、高可用
查看>>
第2课第4节_Java面向对象编程_多态性_P【学习笔记】
查看>>
H5横向三栏布局
查看>>
7.分类:基本概念 忌讳
查看>>
PIL Image 转成 wx.Image、wx.Bitmap
查看>>
名词解释
查看>>
确保某值在区间内
查看>>
递归in C++
查看>>
整合wordpress的插件!!
查看>>
A - LCM Challenge
查看>>
书籍整理
查看>>
arttemplate模板引擎有假数据返回数据多层内嵌的渲染方法
查看>>
APP为什么会被打回来??
查看>>
word中图片不显示了
查看>>
Chap-3 Section 3.1 目标文件格式
查看>>
用NSSM把.Net Core部署至 Windows 服务
查看>>