@Test
public void IOIntPut() throws IOException {
//打开本地获取输入流
FileInputStream fis = new FileInputStream(new File("D:/Hadoop_Testresult/worktest/ceshi.txt"));
将本地文件传入集群
最新推荐文章于 2023-03-23 10:40:02 发布
@Test
public void IOIntPut() throws IOException {
//打开本地获取输入流
FileInputStream fis = new FileInputStream(new File("D:/Hadoop_Testresult/worktest/ceshi.txt"));