<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地址

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


    網站導航:
     
    主站蜘蛛池模板: free哆啪啪免费永久| 久久久精品2019免费观看| 永久黄网站色视频免费| 亚洲天然素人无码专区| 一区二区无码免费视频网站| 亚洲国产理论片在线播放| 中文字幕无码视频手机免费看| 亚洲av无码专区在线| 天天操夜夜操免费视频| 亚洲丶国产丶欧美一区二区三区| 免费观看的a级毛片的网站| 国产精品亚洲一区二区无码| 亚洲国产成人五月综合网| 国产精品免费久久久久影院| 亚洲精品中文字幕无码蜜桃| 免费视频成人手机在线观看网址| 久久久亚洲欧洲日产国码二区 | a级毛片免费观看网站| 久久久精品国产亚洲成人满18免费网站 | 亚洲色偷偷色噜噜狠狠99| 免费观看的毛片手机视频| 免费无码专区毛片高潮喷水| 在线播放亚洲第一字幕| 一个人免费日韩不卡视频| 亚洲一级毛片中文字幕| 又黄又爽的视频免费看| 国产一区二区三区免费观看在线| 亚洲狠狠狠一区二区三区| 免费特级黄毛片在线成人观看| 草久免费在线观看网站| 日韩精品亚洲人成在线观看| 日本免费人成黄页网观看视频| 国产福利免费视频 | 国产在线观看无码免费视频| 久久久无码精品亚洲日韩京东传媒| 成人免费观看一区二区| 黄色毛片免费观看| 国产区图片区小说区亚洲区| 国产精品午夜免费观看网站| 无码国产精品一区二区免费 | 免费一级大黄特色大片|