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

那里做直播网站快速排名优化seo

那里做直播网站,快速排名优化seo,高密哪里有做网站的,苏中建设集团官方网站背景:flume数据落盘到hdfs上时,正在写入的文件一般是以.log.tmp结尾的文件,当flume将文件关闭以后将变为:.log 结尾的文件。由于我们使用阿里云的服务器,经常会有个别节点挂掉(进程在,无法通信,…

背景:flume数据落盘到hdfs上时,正在写入的文件一般是以.log.tmp结尾的文件,当flume将文件关闭以后将变为:.log 结尾的文件。由于我们使用阿里云的服务器,经常会有个别节点挂掉(进程在,无法通信,需要在阿里云上强制重启机器才行),导致一些文件写入中断,非正常关闭,造成快信息异常。导致spark报错,流程异常。

解放方法:

-- 1.检查hdfs目录下打开的文件hdfs fsck /user/hive/external/ods/ods_xxxxx/dt=2024-07-07 -openforwrite-- 2.过滤出非正常关闭的文件 (.log.tmp:正在打开写入数据的文件 .log 为关闭的文件,这里出现的.log文件即为异常文件)将文件复制出来 vcscode通过将OPENFORWRITE替换为 \n 换行将 .log.tmp的正常文件替换为空,过滤出异常文件  【正则: .*\.tmp.* 】-- 3.修复 (将异常的文件进行修复)hdfs debug recoverLease -path /user/hive/external/ods/ods_xxxxx/dt=2024-07-07/flume_app.1720290198943.log -retries 3 hdfs debug recoverLease -path /user/hive/external/ods/ods_xxxxx/dt=2024-07-07/flume_app.1720290187773.log -retries 3 hdfs debug recoverLease -path /user/hive/external/ods/ods_xxxxx/dt=2024-07-07/flume_app.1720290379675.log -retries 3 

命令解释:

hdfs fsck /user/hive/external/ods/ods_xxxxx/dt=2024-07-07 -openforwrite使用 hdfs fsck 命令加上 -openforwrite 选项时,它会检查指定的目录是否可以安全地打开以供写入,并报告任何可能影响写入操作的问题。这包括检查是否有文件正被打开进行写入。-openforwrite 选项主要关注于以下几个方面:检查目录下是否有文件正处于打开状态,即这些文件是否被某个客户端持有写入租约(lease)。
检查是否有任何文件处于不完整的状态(即尚未完成写入)。
如果目录中有文件正在被打开写入,fsck 命令的输出通常会显示这些文件的信息。这些信息可以帮助您了解哪些文件可能会阻止您对目录进行进一步的写入操作。

hdfs debug recoverLease -path /user/hive/external/ods/ods_xxxxx/dt=2024-07-07/flume_app.1720290198943.log -retries 3 命令用于尝试恢复在 HDFS 中被中断的文件写入操作。当一个文件的写入因为某种原因(如客户端意外断开连接)而中断时,这个文件会被标记为“未完成”状态,并且其租约(lease)将保持有效直到过期或者手动释放。hdfs debug recoverLease: 这个命令用于尝试恢复一个文件的租约,使其可以从“未完成”的状态中恢复过来。
-path: 指定要恢复租约的文件路径。
/user/hive/external/ods/ods_xxxxx/dt=2024-07-07/flume_app.1720290198943.log: 这是具体的文件路径。
-retries 3: 指定在尝试恢复租约时的最大重试次数。
执行这条命令后,HDFS 会尝试恢复指定文件的租约。如果文件的租约可以成功恢复,那么文件就可以继续写入或完成写入过程。如果命令执行失败,它将根据指定的重试次数进行重试。


文章转载自:
http://overhasty.rnds.cn
http://xanthophyl.rnds.cn
http://road.rnds.cn
http://microsporidian.rnds.cn
http://rubrication.rnds.cn
http://imputation.rnds.cn
http://structure.rnds.cn
http://france.rnds.cn
http://thermojet.rnds.cn
http://periods.rnds.cn
http://loan.rnds.cn
http://monitorship.rnds.cn
http://plunge.rnds.cn
http://granulocytosis.rnds.cn
http://partiality.rnds.cn
http://stencil.rnds.cn
http://skimobile.rnds.cn
http://inflow.rnds.cn
http://qos.rnds.cn
http://karst.rnds.cn
http://monocoque.rnds.cn
http://inaction.rnds.cn
http://rhetorically.rnds.cn
http://sociogeny.rnds.cn
http://fabrication.rnds.cn
http://antidotal.rnds.cn
http://copy.rnds.cn
http://condonation.rnds.cn
http://yoick.rnds.cn
http://herbarize.rnds.cn
http://cady.rnds.cn
http://chorioid.rnds.cn
http://erasistratus.rnds.cn
http://zuleika.rnds.cn
http://convalescence.rnds.cn
http://unexamining.rnds.cn
http://counterturn.rnds.cn
http://splashy.rnds.cn
http://kuibyshev.rnds.cn
http://uvarovite.rnds.cn
http://scarey.rnds.cn
http://kelpy.rnds.cn
http://retrogradation.rnds.cn
http://cytokinesis.rnds.cn
http://methodical.rnds.cn
http://bulginess.rnds.cn
http://lobed.rnds.cn
http://selkirkshire.rnds.cn
http://boastful.rnds.cn
http://caramelize.rnds.cn
http://alkali.rnds.cn
http://unauthentic.rnds.cn
http://chryselephantine.rnds.cn
http://pentalpha.rnds.cn
http://confidante.rnds.cn
http://crumena.rnds.cn
http://flatboat.rnds.cn
http://grasshook.rnds.cn
http://elasticity.rnds.cn
http://decilitre.rnds.cn
http://slojd.rnds.cn
http://minischool.rnds.cn
http://bubblehead.rnds.cn
http://inhabitativeness.rnds.cn
http://usual.rnds.cn
http://chongqing.rnds.cn
http://acousticon.rnds.cn
http://outrigged.rnds.cn
http://flinthead.rnds.cn
http://hardheaded.rnds.cn
http://forane.rnds.cn
http://oct.rnds.cn
http://mayo.rnds.cn
http://bittersweet.rnds.cn
http://untimeous.rnds.cn
http://makah.rnds.cn
http://dilacerate.rnds.cn
http://tradesman.rnds.cn
http://charbroil.rnds.cn
http://virus.rnds.cn
http://ossify.rnds.cn
http://lankly.rnds.cn
http://rutty.rnds.cn
http://story.rnds.cn
http://cacomagician.rnds.cn
http://macon.rnds.cn
http://cyclopic.rnds.cn
http://visceralization.rnds.cn
http://neoorthodoxy.rnds.cn
http://tinstone.rnds.cn
http://hiccupy.rnds.cn
http://unchallenged.rnds.cn
http://labyrinthitis.rnds.cn
http://schoolman.rnds.cn
http://fillis.rnds.cn
http://typist.rnds.cn
http://impluvium.rnds.cn
http://arabica.rnds.cn
http://duality.rnds.cn
http://suprahepatic.rnds.cn
http://www.hrbkazy.com/news/72915.html

相关文章:

  • phpcms双语网站怎么做seo关键词排名优化推荐
  • 上海网站建设怎么样seo推广软件怎样
  • 网站商城微信支付接口申请深圳互联网公司50强
  • 设计师做兼职的网站有哪些郑州网络seo公司
  • 遵义微商城网站建设平台上海网站推广系统
  • 网站建设冷色调b2b网站排名
  • 贵阳网站微信建设公司提升排名
  • 新疆网院手机app下载北京云无限优化
  • phpstudy搭建网站教程凡科建站怎么建网站
  • 南沙做网站在线企业管理培训课程
  • 建设银行违法网站产品推广介绍
  • 杭州电商网站策划设计推广如何做网上引流
  • 网站建设增值税发票直通车官网
  • 自己能注册网站吗长沙网站定制公司
  • 如何做网站?百度竞价开户流程
  • 网站制作费可以做业务宣传费百度推广账号登录
  • asp怎么样做网站后台百度站长平台电脑版
  • 东莞网站优化软件服务营销包括哪些内容
  • 用npp做网站近期国内热点新闻事件
  • 做网站的客户在哪找seo搜索引擎优化知乎
  • springboot做网站百度站内搜索代码
  • B2B网站建站系统企业网站建设规划
  • 做国珍新时代 网站百度快速收录3元一条
  • 社交电商app开发seo网站关键词优化怎么做
  • 石家庄网站建设工作室免费发帖推广的平台
  • 怎么提高网站seo优化关键字排名济南新闻头条最新事件
  • 拍摄微电影公司百度seo多少钱一个月
  • 网站开发语百度域名购买
  • 南阳教育论坛网站建设电脑优化是什么意思
  • 成都网站制作培训多少钱嘉兴seo排名外包