<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    我的家園

    我的家園

    Hadoop使用常見問題以及解決方法6

    Posted on 2012-04-15 16:37 zljpp 閱讀(102) 評論(0)  編輯  收藏
    reduce exceed 100%
    "Reduce Task Progress shows > 100% when the total size of map outputs (for a
    single reducer) is high "
    造成原因:
    在reduce的merge過程中,check progress有誤差,導致status > 100%,在統計過程中就會出現以下錯誤:java.lang.ArrayIndexOutOfBoundsException: 3
            at org.apache.hadoop.mapred.StatusHttpServer$TaskGraphServlet.getReduceAvarageProgresses(StatusHttpServer.java:228)
            at org.apache.hadoop.mapred.StatusHttpServer$TaskGraphServlet.doGet(StatusHttpServer.java:159)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
            at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475)
            at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
            at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
            at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635)
            at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
            at org.mortbay.http.HttpServer.service(HttpServer.java:954)

    jira地址:

    counters
    3中counters:
    1. built-in counters: Map input bytes, Map output records...
    2. enum counters
       調用方式:
      enum Temperature {
        MISSING,
        MALFORMED
      }

    reporter.incrCounter(Temperature.MISSING, 1)
       結果顯示:
    09/04/20 06:33:36 INFO mapred.JobClient:   Air Temperature Recor
    09/04/20 06:33:36 INFO mapred.JobClient:     Malformed=3
    09/04/20 06:33:36 INFO mapred.JobClient:     Missing=66136856
    3. dynamic countes:
       調用方式:
       reporter.incrCounter("TemperatureQuality", parser.getQuality(),1);
       
       結果顯示:
    09/04/20 06:33:36 INFO mapred.JobClient:   TemperatureQuality
    09/04/20 06:33:36 INFO mapred.JobClient:     2=1246032
    09/04/20 06:33:36 INFO mapred.JobClient:     1=973422173
    09/04/20 06:33:36 INFO mapred.JobClient:     0=1
     
    7: Namenode in safe mode 
    解決方法
    bin/hadoop dfsadmin -safemode leave

    8:java.net.NoRouteToHostException: No route to host
    j解決方法:
    sudo /etc/init.d/iptables stop

    9:更改namenode后,在hive中運行select 依舊指向之前的namenode地址
    這是因為:When youcreate a table, hive actually stores the location of the table (e.g.
    hdfs://ip:port/user/root/...) in the SDS and DBS tables in the metastore . So when I bring up a new cluster the master has a new IP, but hive's metastore is still pointing to the locations within the old
    cluster. I could modify the metastore to update with the new IP everytime I bring up a cluster. But the easier and simpler solution was to just use an elastic IP for the master
    所以要將metastore中的之前出現的namenode地址全部更換為現有的namenode地址

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 久久一区二区三区免费| 免费无码黄网站在线看| 日韩在线观看视频免费| 国产成人久久AV免费| 最近2019中文字幕免费看最新| 亚洲第一成人影院| 亚洲一级毛片在线播放| 一级美国片免费看| 青春禁区视频在线观看直播免费| 亚洲色欲一区二区三区在线观看| 亚洲色偷偷综合亚洲AV伊人蜜桃| 日韩免费在线视频| 7777久久亚洲中文字幕蜜桃 | 国产偷v国产偷v亚洲高清| 国产精品亚洲午夜一区二区三区| 国精产品一区一区三区免费视频| 亚洲AV无码码潮喷在线观看| 亚洲AV无码一区二区三区性色| 美女视频黄的全免费视频| 亚洲国产综合精品中文第一区 | 国产福利在线观看永久免费| 免费看AV毛片一区二区三区| 亚洲精品美女视频| 久久久国产精品无码免费专区| 午夜a级成人免费毛片| 男男gvh肉在线观看免费| 啦啦啦高清视频在线观看免费| 亚洲欧美日韩综合久久久| 免费精品国偷自产在线在线| 亚洲欧美国产国产一区二区三区| 四虎影视在线永久免费观看| 亚洲日韩AV无码一区二区三区人| 亚洲午夜激情视频| fc2免费人成为视频| 久久精品亚洲一区二区三区浴池 | 免费无码肉片在线观看| 西西人体大胆免费视频| 国产乱子伦片免费观看中字| 国产又黄又爽胸又大免费视频 | 免费jlzzjlzz在线播放视频| 理论亚洲区美一区二区三区|