标签:font cep 设置 桌面 div image rom inf mapred
在mapreduce程序中
//设置输入和输出路径
FileInputFormat.setInputPaths(job,new Path("E:\\Date\\input")); FileOutputFormat.setOutputPath(job,new Path("E:\\Date\\out"))
明明路径没有写错,但是却报错
IllegalArgumentException: Can not create a Path from an empty string
这可能是因为你的本地电脑用户名是中文造成的
右键桌面电脑,点击管理,会出现如下界面:
点击本地用户和组,将中文名字改成英文名字即可
IllegalArgumentException: Can not create a Path from an empty string
标签:font cep 设置 桌面 div image rom inf mapred
原文地址:https://www.cnblogs.com/wuyuchuan/p/12312772.html