且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

找不到webhdfs其余api抛出文件异常

更新时间:2022-02-16 19:06:16

当我错误配置/ etc / hosts
时,我看到了类似的错误上面的OPEN命令返回重定向提供主机名。本地主机将尝试根据本地DNS设置解析此主机名。
然后它将在主机名解析为的IP地址上查找文件。不一定是您向其发出命令的人。

I saw a similar error when I had misconfigured my /etc/hosts The OPEN command above returns a redirect which provides a hostname. The localhost will try and resolve this hostname based on the local DNS setup. It will then look for the file at the IP address that the hostname resolves to. Not necessarily the one you issued the command to.