摘要:
public class HbaseDDL { public static Connection connection = DButil.getConnection(); //创建命名空间 /** * 创建命名空间 * @param namespace 命名空间名称 */ public static 阅读全文
posted @ 2022-09-22 16:54
软工小蜗牛
阅读(392)
评论(0)
推荐(0)
摘要:
public class Getconnection { //声明一个静态属性 public static Connection connection = null; static { //创建连接 try { //使用读取本地文件的方式添加参数 connection = ConnectionFac 阅读全文
posted @ 2022-09-22 15:24
软工小蜗牛
阅读(119)
评论(0)
推荐(0)
摘要:
public class Getconnection { public static void main(String[] args) { //创建连接配置对象 Configuration conf = new Configuration(); //添加配置参数 conf.set("hbase.zo 阅读全文
posted @ 2022-09-22 15:04
软工小蜗牛
阅读(96)
评论(0)
推荐(0)
摘要:
进入HBASE编辑 hbase shell 查看命名空间 list_namespace 创建命名空间 create_namespace '命名空间名字' 删除命名空间 drop_namespace '名字' 创建表格 create ‘命名空间:表名','列族名','列族名' 删除表格之前要先将表格标 阅读全文
posted @ 2022-09-22 09:37
软工小蜗牛
阅读(178)
评论(0)
推荐(0)

浙公网安备 33010602011771号