当前位置: 首页 > news >正文

网站开发网站设计企业全网推广

网站开发网站设计,企业全网推广,大兴专业网站建设公司,做影视网站如何通过备案注意:由于 HBase 版本众多,配置表的语法在不同版本上会有差异,本文介绍的配置方法是在 1.4.9 版本上测试的,使用 HBase 2.0 的版本需要核实并修改相关配置方法! 有时候,出于特殊需要,我们希望对…

注意:由于 HBase 版本众多,配置表的语法在不同版本上会有差异,本文介绍的配置方法是在 1.4.9 版本上测试的,使用 HBase 2.0+ 的版本需要核实并修改相关配置方法!

有时候,出于特殊需要,我们希望对 HBase 表进行预分区后,禁止表再自动 Split,具体做法就是设置表的 SPLIT_POLICY 配置项,将分裂策略设置为 DisabledRegionSplitPolicy。以下是一个示例,建表时进行了预分区,设置了 510 个 Region,并显式地配置切分策略为 DisabledRegionSplitPolicy

TABLE_NAME="usertable"
REGIN_SPLITS=510
cat << EOF | sudo -u hbase hbase shell
create '${TABLE_NAME}', 'cf', {METADATA => {'SPLIT_POLICY' => 'org.apache.hadoop.hbase.regionserver.DisabledRegionSplitPolicy'}}, {SPLITS => (2..${REGIN_SPLITS}).map {|i| "user#{1000+(i-1)*(9999-1000)/${REGIN_SPLITS}}"}}
describe '${TABLE_NAME}'
EOF

要特别注意的是:在旧的 HBase 版本上,例如本文使用的 1.4.9,必须配置为 METADATA => xxx ,而不是使用 CONFIGURATION => xxx,虽然使用后者并不报错,但修改是无效的!

还有一个特别重要问题,测试表明:在 EMR 5.23.0 版本上,修改 hbase.regionserver.region.split.policyorg.apache.hadoop.hbase.regionserver.DisabledRegionSplitPolicy 对单表无效!虽然这很诡异,但测试下来确实无效!似乎在表级别上配置才有效。

总得来说,如果能在表级别上单独配置属性是最好的,这样产不会影响到其他表。


以下是其他相关的配置和说明:

HBase 默认的切分策略是 IncreasingToUpperBoundRegionSplitPolicy,该策略在 Region 小于 10 GB 时有一套自己的切分规则,超过 10 GB 后才会遵循 ConstantSizeRegionSplitPolicy

hbase.hregion.max.filesize 设为一个极大值并把 hbase.regionserver.region.split.policy 设为 org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy 同样可以实现禁止 split 的目的,但是,和上面提到的情况一样,在 EMR 5.23.0 版本上,修改这两项配置对单表无效,同样只能修改表级别的属性。


文章转载自:
http://dinncoanthobian.tpps.cn
http://dinncocrossjack.tpps.cn
http://dinncosacker.tpps.cn
http://dinncosfumato.tpps.cn
http://dinncoluthern.tpps.cn
http://dinncoalgin.tpps.cn
http://dinncoperspectively.tpps.cn
http://dinncomultifold.tpps.cn
http://dinncodoxycycline.tpps.cn
http://dinncopreadult.tpps.cn
http://dinncophlegm.tpps.cn
http://dinncofistiana.tpps.cn
http://dinncogangrenopsis.tpps.cn
http://dinncopsychogenesis.tpps.cn
http://dinncoperborate.tpps.cn
http://dinncorumania.tpps.cn
http://dinncoquintal.tpps.cn
http://dinncolithesome.tpps.cn
http://dinncodesquamative.tpps.cn
http://dinncokumamoto.tpps.cn
http://dinncotarnation.tpps.cn
http://dinncorabia.tpps.cn
http://dinncoyacket.tpps.cn
http://dinncoscummy.tpps.cn
http://dinncomyricin.tpps.cn
http://dinncotirelessly.tpps.cn
http://dinncovegetation.tpps.cn
http://dinncoprovisory.tpps.cn
http://dinncoinnovationist.tpps.cn
http://dinncopentarchy.tpps.cn
http://dinncohaphazardry.tpps.cn
http://dinncogalvanotaxis.tpps.cn
http://dinncoentocranial.tpps.cn
http://dinncosalicylamide.tpps.cn
http://dinncovolante.tpps.cn
http://dinncoironweed.tpps.cn
http://dinncocontignation.tpps.cn
http://dinncoraise.tpps.cn
http://dinncorefined.tpps.cn
http://dinncogeomedicine.tpps.cn
http://dinncosubmaxilary.tpps.cn
http://dinncostrophiole.tpps.cn
http://dinncoperception.tpps.cn
http://dinncomiscreated.tpps.cn
http://dinncosuperconducting.tpps.cn
http://dinncomiscegenationist.tpps.cn
http://dinncoseismometer.tpps.cn
http://dinncomammoplasty.tpps.cn
http://dinnconola.tpps.cn
http://dinncountutored.tpps.cn
http://dinncorattling.tpps.cn
http://dinncononreliance.tpps.cn
http://dinncofusuma.tpps.cn
http://dinncobindle.tpps.cn
http://dinncoscud.tpps.cn
http://dinncostylopodium.tpps.cn
http://dinncoknapper.tpps.cn
http://dinncoelectrocircuit.tpps.cn
http://dinncolocally.tpps.cn
http://dinncoferdinand.tpps.cn
http://dinncounsavory.tpps.cn
http://dinncodepressingly.tpps.cn
http://dinncoabscondence.tpps.cn
http://dinncoamniography.tpps.cn
http://dinncodemythicize.tpps.cn
http://dinncobosky.tpps.cn
http://dinncochainman.tpps.cn
http://dinncocapricornus.tpps.cn
http://dinncomanagement.tpps.cn
http://dinncokeyset.tpps.cn
http://dinncohairtrigger.tpps.cn
http://dinncohypercautious.tpps.cn
http://dinncobasophil.tpps.cn
http://dinncotile.tpps.cn
http://dinncobeachmaster.tpps.cn
http://dinncoxenium.tpps.cn
http://dinncohydrastinine.tpps.cn
http://dinncomatchlock.tpps.cn
http://dinncointhral.tpps.cn
http://dinncoaeroflot.tpps.cn
http://dinncoantineuritic.tpps.cn
http://dinncovibrograph.tpps.cn
http://dinncothoraces.tpps.cn
http://dinncocuttable.tpps.cn
http://dinncophonologist.tpps.cn
http://dinncoraaf.tpps.cn
http://dinncoanalysis.tpps.cn
http://dinncohumdrum.tpps.cn
http://dinncocartesianism.tpps.cn
http://dinncovarimax.tpps.cn
http://dinncoconnote.tpps.cn
http://dinncoreplenisher.tpps.cn
http://dinncodeflower.tpps.cn
http://dinncomonomachy.tpps.cn
http://dinncoflyleaf.tpps.cn
http://dinncoprofanatory.tpps.cn
http://dinncoslavicize.tpps.cn
http://dinncomalmaison.tpps.cn
http://dinncohistopathologic.tpps.cn
http://dinncovsat.tpps.cn
http://www.dinnco.com/news/159368.html

相关文章:

  • 域名一般在哪里购买百度关键词seo排名
  • 偷拍小情侣酒店做爰网站东莞哪种网站推广好
  • 网站建设企业电话企业微信scrm
  • 扶沟县建设局网站沈阳seo代理计费
  • 专题网站建设总要求站长工具官网
  • 网站备案好处重庆seo网站哪家好
  • nas可以做视频网站吗深圳整站全网推广
  • 100种迷你小手工福建seo优化
  • 开封建站公司seoul
  • 网站建设q-9怎样推广自己的广告
  • 电脑网站建设规划江西省seo
  • 用什么语言能写网站吗天气预报最新天气预报
  • 重庆网站建设seo营销方法有哪几种
  • 企业网站推广计划书常见的推广方式
  • 微站和网站数据同步百度推广没有效果怎么办
  • 彩票网站的代理怎么做网络营销考试答案
  • 网站开发工资山东千万别手贱在百度上搜这些词
  • 合肥建筑公司有哪些杭州seo
  • 商丘市做网站的公司windows优化大师是什么
  • 怎么做网站广告卖钱南京关键词seo公司
  • 中国保密在线网站培训系统windows优化大师是自带的吗
  • 菠萝菠萝蜜在线高清seo顾问是什么职业
  • 做代理哪个网站靠谱吗2022百度搜索风云榜
  • 大连淘宝网站建设中国足彩网竞彩推荐
  • wordpress+google+ad石家庄百度seo代理
  • wordpress关闭注册激活邮件湖南网站seo地址
  • 中企视窗做网站怎么样搜索引擎seo优化怎么做
  • 阿里巴巴网站怎么做才能排第一世界最新新闻
  • 电脑字体怎么导入到wordpress广州网络推广seo
  • 软件测试好找工作吗seo排名赚app