使用电源查询将文件从centos中的hdfs提取到ms-excel

我已经在excel.and下载电源查询从hdfs选项它要求服务器主机名..它是本地主机..但然后它给出了以下错误:

DataSource.Error:HDFS无法连接到服务器'localhost'。 无法连接到远程服务器。 详情: http:// localhost:50070 / webhdfs / v1 /

我已经在hdfs-site.xml中启用了webhdfs,如下所示:

dfs.replication 1 dfs.block.size 67108864

dfs.webhdfs.enabled true

帮我出来..如何做到这一点..我卡住了