当前位置:首页 - Hbase

Hbase shell建表命令split

作者:高景洋 日期:2021-06-16 15:47:20 浏览次数:1785

Hbase创建表时,指定 命名空间(namespace),列簇, region 分隔 脚本。


create 'Collect:ProductSchedule', {NAME => 'P',  COMPRESSION => 'SNAPPY' ,VERSIONS => 1}, SPLITS => ['007','00f','017','01f','027','02f','037','03f','047','04f','057','05f','067','06f','077','07f','087','08f','097','09f','0a7','0af','0b7','0bf','0c7','0cf','0d7','0df','0e7','0ef','0f7','0ff','107','10f','117','11f','127','12f','137','13f','147','14f','157','15f','167','16f','177','17f','187','18f','197','19f','1a7','1af','1b7','1bf','1c7','1cf','1d7','1df','1e7','1ef','1f7','1ff','207','20f','217','21f','227','22f','237','23f','247','24f','257','25f','267','26f','277','27f','287','28f','297','29f','2a7','2af','2b7','2bf','2c7','2cf','2d7','2df','2e7','2ef','2f7','2ff','307','30f','317','31f','327','32f','337','33f','347','34f','357','35f','367','36f','377','37f','387','38f','397','39f','3a7','3af','3b7','3bf','3c7','3cf','3d7','3df','3e7','3ef','3f7','3ff','407','40f','417','41f','427','42f','437','43f','447','44f','457','45f','467','46f','477','47f','487','48f','497','49f','4a7','4af','4b7','4bf','4c7','4cf','4d7','4df','4e7','4ef','4f7','4ff','507','50f','517','51f','527','52f','537','53f','547','54f','557','55f','567','56f','577','57f','587','58f','597','59f','5a7','5af','5b7','5bf','5c7','5cf','5d7','5df','5e7','5ef','5f7','5ff','607','60f','617','61f','627','62f','637','63f','647','64f','657','65f','667','66f','677','67f','687','68f','697','69f','6a7','6af','6b7','6bf','6c7','6cf','6d7','6df','6e7','6ef','6f7','6ff','707','70f','717','71f','727','72f','737','73f','747','74f','757','75f','767','76f','777','77f','787','78f','797','79f','7a7','7af','7b7','7bf','7c7','7cf','7d7','7df','7e7','7ef','7f7','7ff','807','80f','817','81f','827','82f','837','83f','847','84f','857','85f','867','86f','877','87f','887','88f','897','89f','8a7','8af','8b7','8bf','8c7','8cf','8d7','8df','8e7','8ef','8f7','8ff','907','90f','917','91f','927','92f','937','93f','947','94f','957','95f','967','96f','977','97f','987','98f','997','99f','9a7','9af','9b7','9bf','9c7','9cf','9d7','9df','9e7','9ef','9f7','9ff','a07','a0f','a17','a1f','a27','a2f','a37','a3f','a47','a4f','a57','a5f','a67','a6f','a77','a7f','a87','a8f','a97','a9f','aa7','aaf','ab7','abf','ac7','acf','ad7','adf','ae7','aef','af7','aff','b07','b0f','b17','b1f','b27','b2f','b37','b3f','b47','b4f','b57','b5f','b67','b6f','b77','b7f','b87','b8f','b97','b9f','ba7','baf','bb7','bbf','bc7','bcf','bd7','bdf','be7','bef','bf7','bff','c07','c0f','c17','c1f','c27','c2f','c37','c3f','c47','c4f','c57','c5f','c67','c6f','c77','c7f','c87','c8f','c97','c9f','ca7','caf','cb7','cbf','cc7','ccf','cd7','cdf','ce7','cef','cf7','cff','d07','d0f','d17','d1f','d27','d2f','d37','d3f','d47','d4f','d57','d5f','d67','d6f','d77','d7f','d87','d8f','d97','d9f','da7','daf','db7','dbf','dc7','dcf','dd7','ddf','de7','def','df7','dff','e07','e0f','e17','e1f','e27','e2f','e37','e3f','e47','e4f','e57','e5f','e67','e6f','e77','e7f','e87','e8f','e97','e9f','ea7','eaf','eb7','ebf','ec7','ecf','ed7','edf','ee7','eef','ef7','eff','f07','f0f','f17','f1f','f27','f2f','f37','f3f','f47','f4f','f57','f5f','f67','f6f','f77','f7f','f87','f8f','f97','f9f','fa7','faf','fb7','fbf','fc7','fcf','fd7','fdf','fe7','fef','ff7','fff']

本文永久性链接:
<a href="http://r4.com.cn/art193.aspx">Hbase shell建表命令split</a>
当前header:Host: r4.com.cn X-Host1: r4.com.cn X-Host2: r4.com.cn X-Host3: 127.0.0.1:8080 X-Forwarded-For: 3.22.51.39 X-Real-Ip: 3.22.51.39 X-Domain: r4.com.cn X-Request: GET /art193.aspx HTTP/1.1 X-Request-Uri: /art193.aspx Connection: close Accept: */* User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) Accept-Encoding: gzip, br, zstd, deflate