问题背景:自己通过hdfs上传文件,但是在浏览器页面不能查看到文件的内容,出现Couldn't preview the file.
解决方法:windows:在 C:WindowsSystem32driversetchosts 末尾增加内容,下面的内容配置根据自己搭建的集群信息来进行变更。
169.254.142.102 hadoop102
169.254.142.103 hadoop103
169.254.142.104 hadoop104

问题背景:自己通过hdfs上传文件,但是在浏览器页面不能查看到文件的内容,出现Couldn't preview the file.
解决方法:windows:在 C:WindowsSystem32driversetchosts 末尾增加内容,下面的内容配置根据自己搭建的集群信息来进行变更。
169.254.142.102 hadoop102
169.254.142.103 hadoop103
169.254.142.104 hadoop104
上一篇 如何解决 conda install 库时报错:The environment is inconsistent, please check the package plan carefully