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

昆明网络营销网站收录优美图片崩了

昆明网络营销网站,收录优美图片崩了,云南企业网站建设,微信怎样制作网站Remote threads 是仅当 Hive metastore 作为单独的服务运行是启动,请求需要开启 compactor。 有以下几种: 1. AcidOpenTxnsCounterService 统计当前 open 的事务数 从表 TXNS 中统计状态为 open 的事务。此事务数量可以再 hive metrics 中。 2. Acid…

Remote threads 是仅当 Hive metastore 作为单独的服务运行是启动,请求需要开启 compactor。

有以下几种:

1. AcidOpenTxnsCounterService 统计当前 open 的事务数

从表 TXNS 中统计状态为 open 的事务。此事务数量可以再 hive metrics 中。

2. AcidHouseKeeperService

定期调用 txnHandler.performTimeOuts();
默认的 txn 的 timeout是 300s。删除300秒没有心跳的事务。

TXN_TIMEOUT("metastore.txn.timeout", "hive.txn.timeout", 300, TimeUnit.SECONDS,"time after which transactions are declared aborted if the client has not sent a heartbeat."),

DumpDirCleanerTask

dump dir 是

REPLDIR("hive.repl.rootdir","/user/hive/repl/","HDFS root dir for all replication dumps."),

此目录的 ttl 是

REPL_DUMPDIR_TTL("hive.repl.dumpdir.ttl", "7d",new TimeValidator(TimeUnit.DAYS),

AcidCompactionHistoryService

周期行调用 txnHandler.purgeCompactionHistory();
purgeCompactionHistory 的内容如下。对于可以合并的 entity(分区或者表(非分区表)),只保留最后几次的history。

/*** For any given compactable entity (partition, table if not partitioned) the history of compactions* may look like "sssfffaaasffss", for example.  The idea is to retain the tail (most recent) of the* history such that a configurable number of each type of state is present.  Any other entries* can be purged.  This scheme has advantage of always retaining the last failure/success even if* it's not recent.* @throws MetaException*/@RetrySemantics.SafeToRetryvoid purgeCompactionHistory() throws MetaException;

RuntimeStatsCleanerTask

如果此参数设置true,则query reexecution 的时候会收集统计信息。

HIVE_QUERY_REEXECUTION_ALWAYS_COLLECT_OPERATOR_STATS("hive.query.reexecution.always.collect.operator.stats", false,"If sessionstats are enabled; this option can be used to collect statistics all the time"),
RawStore ms = HMSHandler.getMSForConf(conf);
int maxRetainSecs=(int) MetastoreConf.getTimeVar(conf, MetastoreConf.ConfVars.RUNTIME_STATS_MAX_AGE, TimeUnit.SECONDS);int deleteCnt = ms.deleteRuntimeStats(maxRetainSecs);

maxRetainSecs 默认 3天。
删除表 RUNTIME_STATS 中 createTime <= 3天前的记录

RUNTIME_STATS_MAX_AGE("runtime.stats.max.age", "hive.metastore.runtime.stats.max.age", 86400 * 3, TimeUnit.SECONDS,"Stat entries which are older than this are removed.")

AcidWriteSetService

默认每60秒的周期调用一次 txnHandler.performWriteSetGC(); .

执行类似以下的语句。

select min(txn_id) commitHighWaterMark from TXNS where txn_state='OPEN';
delete from WRITE_SET where ws_commit_id < commitHighWaterMark;

EventCleanerTask

定期执行以下语句。

RawStore ms = HMSHandler.getMSForConf(conf);
long deleteCnt = ms.cleanupEvents();

cleanupEvents 删除 PARTITION_EVENTS表的过期数据。
PARTITION_EVENTS 表的数据,进在 hcatalog 中使用

MaterializationsRebuildLockCleanerTask

从表 MATERIALIZATION_REBUILD_LOCKS 中找到过期数据,然后删除。

http://www.hengruixuexiao.com/news/32643.html

相关文章:

  • 长治网站运营在线识别图片百度识图
  • 成都企业网站制作网站怎么优化推荐
  • 网站导航营销的优点seo新闻
  • 东莞外贸网站qq群推广网站免费
  • 网站建设技术团队有多重要营销技巧五步推销法
  • 网站测试毕设代做百度网址大全电脑版
  • 有哪些是做二手的网站百度一下你就知道下
  • 幼儿园建设报备网站seo整站优化一年价格多少
  • wordpress主机主题长沙搜索排名优化公司
  • 做网站后台怎么搭建博客程序seo
  • 黄色为主的网站广州网络科技有限公司
  • wordpress的dltable fileseo网站关键词排名快速
  • 做app需要什么技术班级优化大师学生版
  • 乐平市建设局网站双11销售数据
  • 网页设计作品及源码佛山seo关键词排名
  • 网站开发公司会计seo比较好的优化方法
  • 公司网站建设开源平台新闻头条今日要闻军事
  • 魔方网站建设网站制作seo哪家好
  • 做网站公司做网站公司有哪些外贸网络营销平台
  • 做网站建设的上市公司有哪些广州网站定制多少钱
  • 深圳网站制作公司机构品牌营销策划机构
  • 凡科快图官网制作泰安seo公司
  • 云服务器有哪些吉林seo管理平台
  • 阿里云官方网站百度手机端排名
  • 视频网站 建设湖南seo排名
  • 唐山开发网站的公司百度网站大全旧版
  • 网站设计怎么样个人微信管理系统
  • asp.net怎么做登录网站搜狗网页
  • 山东网站建设负面消息处理com域名
  • 怎么做网站360图片链接深圳网站搜索优化