<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>Superuri·赛博造物</title><link>https://superuri.com/</link><description>新奇·好玩·学习·分享</description><item><title>Hadoop 重要知识点 核心关键词</title><link>https://superuri.com/post/Hadoop1.html</link><description>&lt;p style=&quot;margin-top: 20px; margin-bottom: 20px; font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 26px; text-align: left;&quot;&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;Hadoop&lt;/span&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;介绍&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 7px; margin-bottom: 7px; line-height: 23px; font-size: 15px; text-align: left;&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;&quot;&gt;大数据的主要特点，从公开资料可以了解到，大家总结了&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;&quot;&gt;点，可以称为&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;5V&lt;/span&gt;&lt;/p&gt;&lt;ul type=&quot;disc&quot; style=&quot;direction:ltr;unicode-bidi:embed&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;vo&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;lume&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;velocity&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;variety&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;veracity&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;数据量大、增长速度快、价值密度低、总类多、需要关注可靠度&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;解决&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:      15px&quot;&gt;volume&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;和&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;velocity&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;的问题，&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Hadoop&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;是一个非常重要的角色，&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Hadoop&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;可以理解为解决大数据存储&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;计算问题的软件生态圈。&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Hadoop&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;又分为三层，存储层&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;HDFS&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;，调度层&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;YARN&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;，计算框架层（计算框架层有多个严禁版本，譬如默认的&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Mapreduce&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;（高&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;IO&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;密度计算框架），&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Spack&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;（内存计算框架），&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Flink&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;（实时计算框架）&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Hadoop &lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;用&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Java&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;编写，启发自&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Google&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;的&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Google File System -&amp;gt; HDFS , Google &amp;nbsp; &amp;nbsp; &amp;nbsp;MapReduce -&amp;gt; Hadoop MapReduce, Google Bigtable -&amp;gt; HBASE&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;，由&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;Doug &amp;nbsp; &amp;nbsp; &amp;nbsp;Cutting&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;负责，并于&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;2008&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;年开源给&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;Apache&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;基金会&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Hadoop&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;的核心思想：&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px;background:yellow;background:yellow&quot;&gt;分而治之&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;。通过&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;HDFS&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;分布式存储解决了海量数据的存储，&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Mapreduce&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;计算方式（先分后合）解决了海量数据计算。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;margin-top:7px;margin-bottom:7px;line-height:23px;font-family:Calibri;font-size:15px;color:#767676&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-top: 20px; margin-bottom: 20px; font-size: 26px; text-align: left;&quot;&gt;&lt;span style=&quot;font-weight:bold;font-family:Calibri&quot;&gt;Hadoop&lt;/span&gt;&lt;span style=&quot;font-weight:bold;font-family:&amp;#39;Microsoft YaHei&amp;#39;&quot;&gt;生态圈&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 17px; margin-bottom: 17px; font-size: 22px; text-align: left;&quot;&gt;&lt;span style=&quot;font-weight:bold;font-family:Calibri&quot;&gt;Hadoop&lt;/span&gt;&lt;span style=&quot;font-weight:bold;font-family:&amp;#39;Microsoft YaHei&amp;#39;&quot;&gt;生态圈一览：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align:center&quot;&gt;&lt;img src=&quot;https://superuri.com/zb_users/upload/2022/04/202204201650445860269084.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 17px; margin-bottom: 17px; font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 22px; text-align: left;&quot;&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;自下而上：&lt;/span&gt;&lt;/p&gt;&lt;ul type=&quot;disc&quot; style=&quot;direction:ltr;unicode-bidi:embed&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;存储：&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:      15px&quot;&gt;HDFS&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;资源调度分配&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;(=&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;操作系统&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:      15px&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;：&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;YARN&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;应用工具：&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;ul type=&quot;circle&quot; style=&quot;list-style-type: square;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;计算框架&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:       15px&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:       15px&quot;&gt;引擎：&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Mapreduce&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;（高&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;IO&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;），&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Spark&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;（内存计算），&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Flink&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;（实时计算）&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;数据仓库工具：&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;HIVE&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;（为贴近&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:       15px&quot;&gt;SQL&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:       15px&quot;&gt;设计，降低使用门槛，会将&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:       15px&quot;&gt;HSQL&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:       15px&quot;&gt;转化为&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Mapreduce&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;进行运行，不用自己写&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Mapreduce&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;程序&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;非关系型数据库：&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;HBASE&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;搜索引擎：&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Solr&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;（&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:       15px&quot;&gt;elasticsearch&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;）&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;数据管道：日志采集工具&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Flume&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;，&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:       15px&quot;&gt;ETL&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:       15px&quot;&gt;工具&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Sqoop&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;脚本语言：&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Scripting&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;（基本淘汰）&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;调度工具：&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Airflow&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;协调分布式集群一致性的工具：&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;zookeeper&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;（搭建高可用&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Hadoop&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;用到）&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;p style=&quot;margin-top: 20px; margin-bottom: 20px; font-family: &amp;quot;Microsoft YaHei&amp;quot;; font-size: 26px; text-align: left;&quot;&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;版本介绍&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 7px; margin-bottom: 7px; line-height: 23px; font-size: 15px; text-align: left;&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;&quot;&gt;实际业务中基本不会使用&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;apache hadoop&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;&quot;&gt;版本，因为&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;apache &lt;/span&gt;&lt;span style=&quot;font-family: &amp;#39;Microsoft YaHei&amp;#39;&quot;&gt;的&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;Hadoop&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;&quot;&gt;版本太多，各个组件容易由兼容性问题。市面上有开源的商业版本，譬如&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;Cloudera &lt;/span&gt;&lt;span style=&quot;font-family: &amp;#39;Microsoft YaHei&amp;#39;&quot;&gt;的&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt; CDH ,&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;&quot;&gt;目前常用的是&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;CDH5 &lt;/span&gt;&lt;span style=&quot;font-family: &amp;#39;Microsoft YaHei&amp;#39;&quot;&gt;和&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;CDH6 &lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;&quot;&gt;版本。所以在&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;Hadoop&lt;/span&gt;&lt;span style=&quot;font-family: &amp;#39;Microsoft YaHei&amp;#39;&quot;&gt;的研究中，可以查看&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;apache&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;&quot;&gt;的开源版本，但是实际业务还是要回到类似&lt;/span&gt;&lt;span style=&quot;font-family:Calibri&quot;&gt;CDH&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;&quot;&gt;的版本。&lt;/span&gt;&lt;/p&gt;&lt;ul type=&quot;disc&quot; style=&quot;direction:ltr;unicode-bidi:embed&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:      Calibri;font-size:15px&quot;&gt;Hadoop 0.x , 2.x, 3.x&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;ul type=&quot;circle&quot; style=&quot;list-style-type: square;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;0.x &lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;是第一版本，拥有&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;HDFS&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;，&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:       15px&quot;&gt;Mapreduce&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;两个模块&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;2.x &lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;版本，将&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;0.x&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;版本中&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Maprduce&lt;/span&gt;&lt;span style=&quot;font-family:       &amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;的资源调度部分拆分成&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;YARN&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;，也因此&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Hadoop&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;生态开始繁荣，不过&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;NameNode&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;仅支持&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;主&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;备。因为&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;Yarn&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;和&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;mapreduce&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;的拆分，开发者可以使用除&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;mapreduce&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;外的计算框架，譬如&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;spark&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;，&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;flink&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align:center&quot;&gt;&lt;img src=&quot;https://superuri.com/zb_users/upload/2022/04/202204201650445821494349.png&quot; alt=&quot;image.png&quot; style=&quot;color: rgb(118, 118, 118); font-family: Calibri; font-size: 15px; white-space: normal;&quot;/&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul type=&quot;circle&quot; style=&quot;direction:ltr;unicode-bidi:embed&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;ul style=&quot;list-style-type: square;&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;3.x &lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;版本，保持与&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;2.x&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;版本的&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;HDFS&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;，&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;YARN&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;，&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Mapreduce3&lt;/span&gt;&lt;span style=&quot;font-family:      &amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;块架构，在原来基础上做了优化，譬如支持&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;GPU&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;，支持多&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;Namenode&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;多&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;Namespace&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;，支持一主多备&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align:center&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;&lt;img src=&quot;https://superuri.com/zb_users/upload/2022/04/202204201650445893821812.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;p style=&quot;;font-family:Calibri;font-size:15px;color:#767676&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-top: 20px; margin-bottom: 20px; font-size: 26px; text-align: left;&quot;&gt;&lt;span style=&quot;font-weight:bold;font-family:Calibri&quot;&gt;Hadoop&lt;/span&gt;&lt;span style=&quot;font-weight:bold;font-family:&amp;#39;Microsoft YaHei&amp;#39;&quot;&gt;各重要组件的&lt;/span&gt;&lt;span style=&quot;font-weight:bold;font-family:Calibri&quot;&gt;keywords&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 17px; margin-bottom: 17px; font-family: Calibri; font-size: 22px; text-align: left;&quot;&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;HDFS&lt;/span&gt;&lt;/p&gt;&lt;ul type=&quot;circle&quot; style=&quot;direction:ltr;unicode-bidi:embed&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Namennode&lt;/span&gt;&lt;span style=&quot;font-family:      &amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;（&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;NN&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;）：管理元数据 &amp;nbsp; &amp;nbsp; &amp;nbsp;维护&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;namespace&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Secondarynamenode&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;（&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;SNN&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;）：协助&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;namenode&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;，对&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;Fsimage&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;合并&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;editlog&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Datanode&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;（&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;DN&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;）：数据真正存在的节点&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Namespace&lt;/span&gt;&lt;span style=&quot;font-family:      &amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;：可理解为目录树（文件和目录的列表）。&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;Fsimage&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;和&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;editlog&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;合并后，结合&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;datanode&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;主动反馈的&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;blockreport&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;信息（&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;datanode&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;拥有的&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;block&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;信息），建立&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;blockmap&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;，从而获得完整的&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;namespace&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;信息和文件快映射关系&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;text-align:center&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;&lt;img src=&quot;https://superuri.com/zb_users/upload/2022/04/202204201650445638550940.png&quot; alt=&quot;image.png&quot; width=&quot;664&quot; height=&quot;324&quot; border=&quot;0&quot; vspace=&quot;0&quot; title=&quot;image.png&quot; style=&quot;width: 664px; height: 324px;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul type=&quot;circle&quot; style=&quot;direction:ltr;unicode-bidi:embed&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Metadata&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;：元数据，格式固定，约&lt;/span&gt;&lt;span style=&quot;font-family:      Calibri;font-size:15px&quot;&gt;150&lt;/span&gt;&lt;span style=&quot;font-family:      &amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;字节大小，包含描述文件特征信息和位置的信息。存储于&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;Namenode&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;中&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Block&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;：存储块，分布在&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;datanode&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;中，真正的数据&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Fsimage&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;：元数据镜像，记录&lt;/span&gt;&lt;span style=&quot;font-family:      &amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;namenode&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;当前完整元数据&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Editlog&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;：&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;HDFS&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;中写操作的记录，从&lt;/span&gt;&lt;span style=&quot;font-family:      &amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;client&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;发出写操作，先记录进&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;editlog,&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;再执行&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: &amp;#39;Microsoft YaHei&amp;#39;;font-size: 15px&quot;&gt;重要默认端口：8020，8088，9870，19888&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: &amp;#39;Microsoft YaHei&amp;#39;;font-size: 15px&quot;&gt;重要时间：3s - 心跳机制，10min - 宕机检测机制，1h - &amp;nbsp; &amp;nbsp; &amp;nbsp;fsimage和editlog合并，6h - blockreport反馈&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;margin-left:.9166in;margin-top:17px;margin-bottom:17px;font-family: Calibri;font-size:15px;color:#767676&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-top: 17px; margin-bottom: 17px; font-family: Calibri; font-size: 22px; text-align: left;&quot;&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;YARN&lt;/span&gt;&lt;/p&gt;&lt;ul type=&quot;circle&quot; style=&quot;direction:ltr;unicode-bidi:embed&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;ResourceManager&lt;/span&gt;&lt;span style=&quot;font-family:      &amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;（&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;RM&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;）：资源调度中心节点，汇总&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;nodemanger&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;资源使用情况，发布操作指令，审查执行权限&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;NodeManager&lt;/span&gt;&lt;span style=&quot;font-family:      &amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;（&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;NM&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;）：节点管理，&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;App&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;M&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;aster &lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;从&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;RM&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;获得资源列表后，跟&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;NodeManager&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;索要&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;container&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;资源&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Container&lt;/span&gt;&lt;span style=&quot;font-family:      &amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;：资源分配的单元&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;A&lt;/span&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;pplicationMaster&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;：监控任务完成进度，申请&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;container&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;资源&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Client&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;：任务由&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;client&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;发起，向&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;RM&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;进行申请&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;margin-left:.9166in;margin-top:17px;margin-bottom:17px;font-family: Calibri;font-size:15px;color:#767676&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-top: 17px; margin-bottom: 17px; font-family: Calibri; font-size: 22px; text-align: left;&quot;&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;Mapreduce&lt;/span&gt;&lt;/p&gt;&lt;ul type=&quot;circle&quot; style=&quot;direction:ltr;unicode-bidi:embed&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Map&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;：局部并行计算&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Reduce&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;：全局汇总计算&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;margin-top: 17px; margin-bottom: 17px; font-family: Calibri; font-size: 22px; text-align: left;&quot;&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;Zookeeper&lt;/span&gt;&lt;/p&gt;&lt;ul type=&quot;circle&quot; style=&quot;direction:ltr;unicode-bidi:embed&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Leader&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;：事务请求的唯一处理者，所有&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;follower&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;接收到的事务操作都会转发给&lt;/span&gt;&lt;span style=&quot;font-family:      &amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;leader&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;处理，事务操作&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;写操作&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Follower&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;：参与选举，&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;leader&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;宕机，会选举成为&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;leader&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;，处理非事务操作&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family:Calibri;font-size:15px&quot;&gt;Observer&lt;/span&gt;&lt;span style=&quot;font-family:&amp;#39;Microsoft YaHei&amp;#39;;font-size:15px&quot;&gt;：无权选举，只负责非事务操作&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: &amp;#39;Microsoft YaHei&amp;#39;;font-size: 15px&quot;&gt;重要应用：互斥锁，&lt;/span&gt;&lt;span style=&quot;font-family: &amp;#39;Microsoft YaHei&amp;#39;;font-size: 15px&quot;&gt;共享锁&lt;/span&gt;&lt;span style=&quot;font-family: &amp;#39;Microsoft YaHei&amp;#39;;font-size: 15px&quot;&gt;，集群选举，数据发布与订阅（watch）&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;margin-left: 0.6111in; margin-top: 17px; margin-bottom: 17px; font-family: Calibri; font-size: 15px; color: rgb(118, 118, 118);&quot;&gt;&amp;nbsp;&lt;/p&gt;</description><pubDate>Wed, 20 Apr 2022 17:06:05 +0800</pubDate></item><item><title>ETL软件：Kettle 安装踩坑</title><link>https://superuri.com/post/ETL%E8%BD%AF%E4%BB%B6%EF%BC%9AKettle%20%E5%AE%89%E8%A3%85%E8%B8%A9%E5%9D%91.html</link><description>&lt;p&gt;安装Kettle 出错：&lt;/p&gt;&lt;p&gt;Error: Could not create the Java Virtual Machine.&lt;/p&gt;&lt;p&gt;Error: A fatal exception has occurred. Program will exit.&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;ue-image&quot; src=&quot;https://superuri.com/zb_users/upload/2022/02/202202111644551929529702.webp&quot; title=&quot;kettle_error.webp&quot; alt=&quot;kettle_error.webp&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;可能潜在原因：&lt;/p&gt;&lt;ol class=&quot; list-paddingleft-2&quot; style=&quot;list-style-type: decimal;&quot;&gt;&lt;li&gt;&lt;p&gt;内存不够&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Java版本不对&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;对于第一种，修改xmx2048 为 xmx1024&lt;/p&gt;&lt;p&gt;Windows参考这个：&lt;a href=&quot;https://www.jianshu.com/p/c74249dac221&quot; _src=&quot;https://www.jianshu.com/p/c74249dac221&quot;&gt;https://www.jianshu.com/p/c74249dac221&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;对于java版本不对，kettle要求JDK 8 ，测试JDK 11 &amp;amp; 17 都不能成功启动&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;a. 检查Java版本&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;b. 安装JDK 8 ，官方下载地址：&lt;a href=&quot;https://www.oracle.com/java/technologies/downloads/#java8-mac&quot; _src=&quot;https://www.oracle.com/java/technologies/downloads/#java8-mac&quot;&gt;https://www.oracle.com/java/technologies/downloads/#java8-mac&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;重新启动Kettle 即可&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;- kettle 安装参考：&lt;/p&gt;&lt;p&gt;https://medium.com/@originaleye/how-to-install-pentaho-8-2-on-a-mac-4e4f8d526df2&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Fri, 11 Feb 2022 11:20:57 +0800</pubDate></item><item><title>重庆-分不清自己在第几层的独特山城</title><link>https://superuri.com/post/%E9%87%8D%E5%BA%86-%E5%88%86%E4%B8%8D%E6%B8%85%E8%87%AA%E5%B7%B1%E5%9C%A8%E7%AC%AC%E5%87%A0%E5%B1%82%E7%9A%84%E7%8B%AC%E7%89%B9%E5%B1%B1%E5%9F%8E.html</link><description>&lt;p&gt;最近辞职，准备来一场长的旅游，预计走过西部重庆，成都，然后入藏到拉萨，在之后环绕青海湖到西宁，在之后回深圳。&lt;/p&gt;&lt;p&gt;这两年因为工作，疫情等，过得比较压抑。这次要玩到尽兴。再然后要工作学习到尽兴。&lt;/p&gt;&lt;p&gt;关于玩到尽兴，突然想起了几年前认识的玉器老板阿彪，开摩托全中国，之后就回家了再也没出来。据说要专心打理事业。&lt;/p&gt;&lt;p&gt;这一趟出来，之后我应该也是专注自己的事业了。这次辞职也算是结束第二次创业，有所得有所失。&lt;/p&gt;&lt;p&gt;老板讲，用老板的心态当员工，不如自己当老板，所以在考虑真正属于自己的第三次创业。感觉自己暂时没有做到那种视死而归的状态，或者决心不足。&lt;/p&gt;&lt;p&gt;这次旅途也是为了调整心态。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;9月25日出发，第一站桂林，第二站重庆，第三站都江堰&lt;/p&gt;&lt;p&gt;今天9月30日，旅途的第6天，来到了318国道第一个落脚点，磨西古镇。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;现在开始回忆走过的旅途。 过去一周印象最深的还是重庆。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Thu, 30 Sep 2021 19:15:53 +0800</pubDate></item><item><title>管理的煎熬</title><link>https://superuri.com/post/%E7%AE%A1%E7%90%86%E7%9A%84%E7%85%8E%E7%86%AC.html</link><description>&lt;h2 id=&quot;toc-1&quot; style=&quot;font-size: 20px; background-image: url(&amp;quot;../images/h1.svg&amp;quot;); padding-left: 25px; background-position: 0px 7px; margin-top: 30px; margin-bottom: 10px; line-height: 1.4; background-repeat: no-repeat; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;从管理新手做起。从管理项目到管理团队，从管理几个人到管理几十个人，从大公司总监到创业公司合伙人。一路走来，踩了无数坑，但是自己也越来越成熟，越来越像一名管理者。&lt;/span&gt;&lt;br/&gt;&lt;/h2&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;虽然项目管理也有“管理”两个字，但是和“团队管理”比起来，项目管理就是大巫见小巫了。&lt;/p&gt;&lt;h2 id=&quot;toc-2&quot; style=&quot;font-size: 20px; background-image: url(&amp;quot;../images/h1.svg&amp;quot;); padding-left: 25px; background-position: 0px 7px; margin-top: 30px; margin-bottom: 10px; line-height: 1.4; background-repeat: no-repeat; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;如何做好人生第一份管理工作&lt;/h2&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;管理就是要处理好和公司各个角色之间的关系。&lt;/p&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;当我们还只是产品经理，或者项目经理的时候，我们最核心的能力是专业能力。在关系处理上，只要能搞定客户——特别是难缠的客户——我们就树立起了自己的“江湖地位”。&lt;/p&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; background-color: #FFFFFF;&quot;&gt;但是，当你成为管理者，你会发现，你不得不开始弱化你的“专业能力”。如何激励他人完成任务，如何帮助他人成长或者成功，将变成你最核心的任务。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;ul class=&quot; list-paddingleft-2&quot; style=&quot;list-style-type: disc;&quot;&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;第一关）接受依赖他人完成工作&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;当我们还是专业人士的时候，大部分工作都是自己完成的，虽然很累，但至少心里踏实。&lt;/p&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;而一旦做上管理者，你就必须接受一个“恐怖”的现实：你得依靠他人来完成工作！&lt;/p&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;我们能当上管理者，已经证明了我们是可以信赖的人。但是我敢肯定，在你的团队中，除了少数相对优秀的员工，总有大多数相对平庸的员工，还有少数落后分子！把你第一份管理工作的“命运”系在他们身上，多么让人恐慌。但是，这是你必须接受的现实，至少在短时间内是这样。&lt;/p&gt;&lt;ul class=&quot; list-paddingleft-2&quot; style=&quot;list-style-type: disc;&quot;&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;第二关）接受挫败感&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;另外，做管理和做专业人员，工作目标和内容差异都很大。当你还是一个管理新手，你就像一个婴儿，跌跌撞撞，一路犯错，甚至会被领导批评！这在我们还是一个专业人员的时候，几乎是不可想象的。&lt;/p&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;但是，你必须接受这样一个现实：在管理这条路上，你确实就是一个新手。犯错，是我们必须经历的过程。接受这种挫败感，你才能安然度过这段难熬的时光。&lt;/p&gt;&lt;ul class=&quot; list-paddingleft-2&quot; style=&quot;list-style-type: disc;&quot;&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;第三关）管理好自己的时间&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;因为接手了一个团队，会突然变得忙不过来。&lt;/p&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;我自己心里有数：管理的事情多了，又是直接汇报。经常是还在思考一个事情，就接到他们的电话，新任务又安排下来了。&lt;/p&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;我明白这么下去不是办法，我在思考工作上花的时间太多了。因为之前一个人或者小团队，产品线不多，很多事情还可以自己思考好再安排下去；但现在团队扩大了一倍还多，管理的产品线也随之增加，很多事情再思考好才安排，效率就太低了。&lt;/p&gt;&lt;p style=&quot;margin-bottom: 18px; margin-top: 0px; color: rgba(0, 0, 0, 0.84); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;果断调整了策略：接到新任务，第一件事不是思考做事逻辑，而是思考谁是最合适的负责人。这样，我只需要交代好要求，剩下的就让负责人先去梳理吧。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Wed, 28 Jul 2021 19:45:03 +0800</pubDate></item><item><title>薅羊毛-oracle linux aarch64 主机，安装docker，解决ERROR: Unsupported distribution ‘ol’</title><link>https://superuri.com/post/%E8%96%85%E7%BE%8A%E6%AF%9B-oracle%20linux%20aarch64%20%E4%B8%BB%E6%9C%BA%EF%BC%8C%E5%AE%89%E8%A3%85docker%EF%BC%8C%E8%A7%A3%E5%86%B3ERROR%3A%20Unsupported%20distribution%20%E2%80%98ol%E2%80%99.html</link><description>&lt;div style=&quot;-en-clipboard:true;&quot;&gt;故事背景：薅羊毛，薅了2台甲骨文的服务器 4H 24G&lt;/div&gt;&lt;div&gt;应用：部署docker 安装portainer&lt;/div&gt;&lt;div&gt;意外状况：出现 ERROR: Unsupported distribution ‘ol’ ，原来oracle linux aarch64 会缺文件&lt;/div&gt;&lt;div&gt;解决办法：安装依赖文件&amp;nbsp;&lt;span style=&quot;text-decoration: underline;&quot;&gt;解决办法：&lt;/span&gt;&lt;a href=&quot;https://oracle-base.com/articles/linux/docker-install-docker-on-oracle-linux-ol8&quot; style=&quot;text-decoration: underline;&quot;&gt;https://oracle-base.com/articles/linux/docker-install-docker-on-oracle-linux-ol8&lt;/a&gt;&amp;nbsp; &amp;nbsp;（dnf 替换成 sudo yum）&lt;/div&gt;&lt;div&gt;偶然获得消息可以薅羊毛&lt;/div&gt;&lt;div&gt;薅羊毛，薅了两台，可惜是arm架构的不太熟悉。&lt;/div&gt;&lt;div&gt;&lt;img src=&quot;https://superuri.com/zb_users/plugin/UEditor/themes/default/images/spacer.gif&quot; word_img=&quot;file:///C:/Users/chenk/AppData/Local/Temp/enhtmlclip/Image.png&quot; style=&quot;background:url(https://superuri.com/zb_users/plugin/UEditor/lang/zh-cn/images/localimage.png) no-repeat center center;border:1px solid #ddd&quot;/&gt;&lt;img src=&quot;https://superuri.com/zb_users/upload/2021/07/202107141626260890533257.png&quot; alt=&quot;discountImage.png&quot;/&gt;&lt;/div&gt;&lt;p&gt;速度一般，带宽挺足。&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;img src=&quot;https://superuri.com/zb_users/upload/2021/07/202107141626260918445373.png&quot; alt=&quot;testserverImage.png&quot; width=&quot;439&quot; height=&quot;545&quot; style=&quot;width: 439px; height: 545px;&quot;/&gt;&lt;/strong&gt;&lt;br/&gt;&lt;/p&gt;&lt;div&gt;既然是arm架构的，常用的php，mysql使用都挺麻烦的。&lt;/div&gt;&lt;div&gt;那就安装一个docker玩玩吧。&lt;/div&gt;&lt;div&gt;docker 安装：最简单的方法&lt;/div&gt;&lt;div style=&quot;box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.15);-en-codeblock:true;&quot;&gt;&lt;div&gt;curl -fsSL https://get.docker.com -o get-docker.sh&lt;/div&gt;&lt;div&gt;sh get-docker.sh&lt;/div&gt;&lt;/div&gt;&lt;div&gt;安装失败了：&lt;/div&gt;&lt;div style=&quot;box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.15);-en-codeblock:true;&quot;&gt;&lt;div&gt;Executing docker install script, commit:442e66405c304fa92af8aadaa1d9b31bf4b0ad94&lt;/div&gt;&lt;div&gt;ERROR: Unsupported distribution &amp;#39;ol&amp;#39;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;经过千辛万苦查找，原来&lt;span style=&quot;text-decoration: underline;&quot;&gt;Oracle Linux is unsupported on Docker CE&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;解决办法：&lt;/span&gt;&lt;a href=&quot;https://oracle-base.com/articles/linux/docker-install-docker-on-oracle-linux-ol8&quot; style=&quot;text-decoration: underline;&quot;&gt;https://oracle-base.com/articles/linux/docker-install-docker-on-oracle-linux-ol8&lt;/a&gt;&lt;/div&gt;&lt;div&gt;安装 Docker&lt;/div&gt;&lt;div&gt;安装依赖文件&lt;/div&gt;&lt;div style=&quot;box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.15);-en-codeblock:true;&quot;&gt;&lt;div&gt;sudo yum install -y dnf-utils zip unzip&lt;/div&gt;&lt;div&gt;sudo yum&amp;nbsp;config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo&lt;/div&gt;&lt;/div&gt;&lt;div&gt;Install Docker.&lt;/div&gt;&lt;div style=&quot;box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.15);-en-codeblock:true;&quot;&gt;&lt;div&gt;sudo yum remove -y runc&lt;/div&gt;&lt;div&gt;sudo yum install -y docker-ce --nobest&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: rgb(204, 204, 204); font-size: 14px; letter-spacing: normal; orphans: 2; widows: 2; word-spacing: 0px; --inversion-type-background-color: simple; --inversion-type-color: simple;&quot;&gt;&lt;span style=&quot;color: #000000; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-variant-caps: normal; font-variant-ligatures: normal; --inversion-type-background-color: simple; --inversion-type-color: simple;&quot;&gt;运行docker服务&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.15);-en-codeblock:true;&quot;&gt;&lt;div&gt;# systemctl enable docker.service&lt;/div&gt;&lt;div&gt;# systemctl start docker.service&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: rgb(204, 204, 204); font-size: 14px; letter-spacing: normal; orphans: 2; widows: 2; word-spacing: 0px; --inversion-type-background-color: simple; --inversion-type-color: simple;&quot;&gt;&lt;span style=&quot;color: #000000; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-variant-caps: normal; font-variant-ligatures: normal; --inversion-type-background-color: simple; --inversion-type-color: simple;&quot;&gt;查看docker状态&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.15);-en-codeblock:true;&quot;&gt;&lt;div&gt;# systemctl status docker.service&lt;/div&gt;&lt;div&gt;# docker info&lt;/div&gt;&lt;div&gt;# docker version&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: rgb(204, 204, 204); font-size: 14px; letter-spacing: normal; orphans: 2; widows: 2; word-spacing: 0px; --inversion-type-background-color: simple; --inversion-type-color: simple;&quot;&gt;&lt;span style=&quot;color: #000000; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-variant-caps: normal; font-variant-ligatures: normal; --inversion-type-background-color: simple; --inversion-type-color: simple;&quot;&gt;安装portainer，设定网络完全组（放行端口）&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: rgb(204, 204, 204); font-size: 14px; letter-spacing: normal; orphans: 2; widows: 2; word-spacing: 0px; --inversion-type-background-color: simple; --inversion-type-color: simple;&quot;&gt;&lt;span style=&quot;color: #000000; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; font-variant-caps: normal; font-variant-ligatures: normal; --inversion-type-background-color: simple; --inversion-type-color: simple;&quot;&gt;开始愉快的玩耍&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Wed, 14 Jul 2021 19:04:31 +0800</pubDate></item><item><title>fiddler应用场景</title><link>https://superuri.com/post/fiddler%E5%BA%94%E7%94%A8%E5%9C%BA%E6%99%AF.html</link><description>&lt;div style=&quot;-en-clipboard:true;&quot;&gt;&lt;div&gt;应用场景：&lt;/div&gt;&lt;ol class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;在做手机或移动端APP的接口测试时，需要从开发人员那里获取接口文档，接口文档应该包括完整的功能接口、接口请求方式、接口请求URL、接口请求参数、接口返回参数。如果当前项目没有接口文档，则可以使用fiddler对APP进行抓包确认。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;MSP提供商，尤其是CDN客户，协助客户Debug排除被误拦截都可以用到Fiddler工具，获取端口，链接等等信息。&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;抓封包的目的：&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;了解接口请求方式、接口请求URL、接口请求参数、接口返回参数&lt;/span&gt;&lt;/div&gt;&lt;div&gt;工具：&lt;/div&gt;&lt;div&gt;Fiddler&lt;/div&gt;&lt;div&gt;类似工具还有Wireshark，Charles，HttpCanary，mitmproxy&lt;/div&gt;&lt;div&gt;Free的有，Fiddler，Wireshark，mitmproxy&lt;/div&gt;&lt;div&gt;操作：&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;在手机上对APP进行操作，然后在Fiddler中可以抓取对应的网络交互信息（一个功能中可能设计多个接口的交互）。在抓取的信息中可以看到接口请求方式、接口请求URL、接口请求参数、接口返回参数。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;img src=&quot;https://superuri.com/zb_users/plugin/UEditor/themes/default/images/spacer.gif&quot; word_img=&quot;file:///C:/Users/chenk/AppData/Local/Temp/enhtmlclip/fiddler%E6%8A%93%E5%8C%85%E5%88%86%E6%9E%90%E6%8B%93%E6%89%91.png&quot; style=&quot;background:url(https://superuri.com/zb_users/plugin/UEditor/lang/zh-cn/images/localimage.png) no-repeat center center;border:1px solid #ddd&quot;/&gt;&lt;img src=&quot;https://superuri.com/zb_users/upload/2021/07/202107141626260633220903.png&quot; alt=&quot;fiddler抓包分析拓扑.png&quot;/&gt;&lt;/div&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;font-weight: bold;-en-paragraph:true;&quot;&gt;下面是如何使用fiddler对手机APP进行抓包：&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;font-weight: bold;-en-paragraph:true;&quot;&gt;1、fiddler手机抓包原理&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;在本机开启了一个http的代理服务器，然后它会转发所有的http请求和响应。Fiddler 是以代理web 服务器的形式工作的，它使用代理地址:127.0.0.1，端口:8888。网络请求走fiddler，fiddler从中拦截数据，由于fiddler充当中间人的角色，所以可以解密https。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;因此，它比一般的firebug或者是chrome自带的抓包工具要好用的多。不仅如此，它还可以支持请求重放等一些高级功能。它还可以支持对手机应用进行http抓包的。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;下面就是手机抓包：&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;浏览器的代理设置默认是关着的，win7谷歌浏览器“设置--高级--系统--打开代理服务器--局域网设置--代理服务器”勾上。代理开关为开：可以抓到包，代理开关为关：抓不到包。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;font-weight: bold;-en-paragraph:true;&quot;&gt;2、前提条件:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;1).电脑需要安装Fiddler&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;2).测试手机需要支持Wifi&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;3).测试手机与电脑需要同一网络&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;4).所测APP需支持代理&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;font-weight: bold;-en-paragraph:true;&quot;&gt;3、Fiddler基本用法&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;界面布局：&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;img src=&quot;https://pic4.zhimg.com/v2-11426e213c1a5c05250e68960c225297_b.jpg&quot; width=&quot;720&quot;/&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;打开Fiddler后，在浏览器中做任意请求，即可被Fiddler记录，包括返回码，请求协议，主机名，请求地址等等，&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;可在请求区域查看详细的请求信息，在响应区域查看详细的返回结果。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;如下图&lt;/span&gt;&lt;/div&gt;&lt;img src=&quot;https://superuri.com/zb_users/upload/2021/07/202107141626260622717236.jpg&quot; alt=&quot;Image1.jpg&quot;/&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;font-weight: bold;-en-paragraph:true;&quot;&gt;4、Fiddler对手机抓包流程&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;第一步：对Fiddler设置为允许远程连接。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;找到Tools-&amp;gt;Fiddler Options-&amp;gt;Connections,将Allow remote computer to connect 选中，点击OK，然后重启Fiddler。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;如下图：&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/v2-ff48280246b7854ee7632c8883f4a7d9_b.jpg&quot; width=&quot;558&quot;/&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;第二步：修改手机连接网络为代理模式。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;打开正在连接的wifi，然后找到：&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;1、修改网络（一般长按就会出现）&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;img src=&quot;https://pic1.zhimg.com/v2-b10d9e29eb02ed6e762e172bda624358_b.jpg&quot; width=&quot;225&quot;/&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;2、点击显示高级选项--&amp;gt;代理--&amp;gt;手动&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;img src=&quot;https://pic2.zhimg.com/v2-538d283514c70216f05a32bced82cf91_b.jpg&quot; width=&quot;227&quot;/&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;代理服务器主机名设为电脑本地IP地址，端口设为：8888&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;如下图&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;img src=&quot;https://pic1.zhimg.com/v2-e6e1fa89d6cfc5c054c9bb0be3f7fc44_b.jpg&quot; width=&quot;228&quot;/&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;补充：查看本地IP：打开cmd，输入ipconfig回车，然后查找IPv4地址&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;如下图：&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;img src=&quot;https://pic4.zhimg.com/v2-d235eaea28b6d5109b525b8696a9a4d7_b.jpg&quot; width=&quot;459&quot;/&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;第三步：在Fiddler中验证。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;在手机中用浏览器或者其他APP，做网络请求，即可在Fiddler中记录，&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;例如：在手机打开浏览器，用百度搜索，这时在Fiddler中就会记录下请求。　　&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;如下图：&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;img src=&quot;https://pic4.zhimg.com/v2-0839678f084dd43bf926321d8ae577ff_b.jpg&quot; width=&quot;720&quot;/&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;还可查看不同格式的&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;img src=&quot;https://pic3.zhimg.com/v2-922b909d4744fd6c5d014284a7b8c9e2_b.jpg&quot; width=&quot;720&quot;/&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;font-weight: bold;-en-paragraph:true;&quot;&gt;5、Fiddler工具的优缺点&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;font-weight: bold;-en-paragraph:true;&quot;&gt;Fiddler之所能&lt;/span&gt;&lt;/div&gt;&lt;ol class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;div&gt;查看Web流量及其顺序&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;查看每一对Request/Response的Header，Cookies，Cache，正文等信息及请求时间等&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;保存已经产生的请求序列用于后续查看或回放&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;解密HTTPS并查看其内容&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;修改Request/Response以满足特殊的测试或Hack需求&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;6、通过FiddlerScript和FiddlerExtention可以完成强大的可编程网络功能&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;font-weight: bold;-en-paragraph:true;&quot;&gt;Fiddler之所不能&lt;/span&gt;&lt;/div&gt;&lt;ol class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;div&gt;Fiddler只能用于HTTP/HTTPS/FTP请求的debug，而对那些直接使用TCP协议，或者使用SMTP, POP3, Telnet, IRC等协议的数据包就无能为例了&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Fiddler只能检测到通过Fiddler代理的流量&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;3、Fiddler所有的请求都是直接存储在内存中的，因此在处理很大的包时速度会比较慢&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;-en-paragraph:true;&quot;&gt;Fiddler是一个非常强力的HTTP协议调试工具，无论是用于网页测试还是客户端API测试都是一把利器，掌握好这个工具一定能让你在以后的工作中事半功倍。&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;此外 mitmproxy也是值得推荐的免费工具&lt;/div&gt;&lt;div style=&quot;margin-top: 1em; margin-bottom: 1em;&quot;&gt;mitmproxy(Man-in-the-middle attack,中间人攻击代理)是一款提供交互能力的抓包工具，可以用来拦截、修改、保存 HTTP/HTTPS 请求，对于爬虫尤其是基于APP的爬虫来说，是必不可少的一款神器。mitmproxy 基于Python开发，可以通过Python代码对请求和响应进行自定义过滤和修改。&lt;/div&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Wed, 14 Jul 2021 19:00:54 +0800</pubDate></item></channel></rss>