<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                **調整 reduce 個數方法一:** ``` -- 每個 Reduce 處理的數據量默認是 256MB,單位是Byte hive.exec.reducers.bytes.per.reducer=256000000 -- 每個任務最大的 reduce 數,默認為 1009 hive.exec.reducers.max=1009 -- 然后由下面的的公式自動計算出所需要的reduce數量 N=min(hive.exec.reducers.max, 總輸入數據量/hive.exec.reducers.bytes.per.reducer) ``` <br/> **調整 reduce 個數方法二:** 在 hadoop 的 mapred-site.xml 文件中修改設置每個 job 的 Reduce 個數。 ```xml <property> <name>mapreduce.job.reduces</name> <value>15</value> </property> ``` <br/> reduce 個數并不是越多越好: (1)過多的啟動和初始化 reduce 也會消耗時間和資源; (2)另外,有多少個 reduce,就會有多少個輸出文件,如果生成了很多個小文件,那么如果這些小文件作為下一個任務的輸入,則也會出現小文件過多的問題; <br/> 在設置 reduce 個數的時候也需要考慮這兩個原則: * 處理大數據量利用合適的 reduce 數; * 使單個 reduce 任務處理數據量大小要合適。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看