mapreduce 輸出亂碼

mapreduce 輸出亂碼 原來代碼 原來代碼輸出的結果 解決辦法: 把String line=value.toString(); 換成String line = new String(value.getBytes(),0,value.getLength(),"GBK"); 解決代碼 解決輸出結果
相關文章
相關標籤/搜索