進入textFile原碼發現分割槽數量呼叫hadoopFile中的TextInputFormat類,傳入引數Key為LongWritable即偏移量,value為Text, 由此得知是通過這個類來讀取 ...
確定! 回上一頁