@Test
def riteFileToHdfs(): Unit ={
//0.主意:不论是本地还是hdfs.若Parallelism>1将把path当成目录名称,若Parallelism=1将把path当成文件名。
val env = ExecutionEnvironment.getExecutionEnvironment
val ds1: DataSet[(Int, String
1.代码如下@Test def riteFileToHdfs(): Unit = { //0.主意:不论是本地还是hdfs.若Parallelism>1将把path当成目录名称,若Parallelism=1将把path当成文件名。 val env = ExecutionEnvironment.getExecutionEnvironment val ds1: Da...