hadoop 1.2.1版本,代碼如下:
DistributedCache.addCacheFile(new URI(uriWithLink), conf);
在eclipse下運(yùn)行,提示:
WARN mapred.LocalJobRunner: LocalJobRunner does not support symlinking into current working dir.
DistributedCache.addCacheFile(new URI(uriWithLink), conf);
在eclipse下運(yùn)行,提示:
WARN mapred.LocalJobRunner: LocalJobRunner does not support symlinking into current working dir.
2017-10-20
最新回答 / 子楚
reduce不執(zhí)行(個(gè)人觀點(diǎn)) :1,主方法中job?設(shè)置的reduce類對(duì)不對(duì) , 2,<1>中正確再在確認(rèn)map輸出格式與reduce輸入格式是否一致,最后reduce加日志打印看走到哪步(setup,reduce, clearup),再按報(bào)錯(cuò)信息分析。希望有? 幫助
2017-10-15
按照您的代碼,執(zhí)行報(bào)錯(cuò),錯(cuò)誤如下:
java.io.FileNotFoundException: matrix2 (拒絕訪問。)
提示在緩存目錄中沒有找到matrix2
解決方法是把
private static String cache = "/matrix/step1_output";
改為
private static String cache = "/matrix/step1_output/part-r-00000";
這樣讓路徑直接找輸出矩陣所在的文件,它的別名才起作用。
希望能幫到后面學(xué)習(xí)的小伙伴!
java.io.FileNotFoundException: matrix2 (拒絕訪問。)
提示在緩存目錄中沒有找到matrix2
解決方法是把
private static String cache = "/matrix/step1_output";
改為
private static String cache = "/matrix/step1_output/part-r-00000";
這樣讓路徑直接找輸出矩陣所在的文件,它的別名才起作用。
希望能幫到后面學(xué)習(xí)的小伙伴!
2017-10-13
最贊回答 / qq_支起脊骨_0
window --> preferrence --> general --> keys --> 找到Override/Implement Methods,Binding輸入框中設(shè)置快捷鍵。
2017-10-13