<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question not able to see &amp;quot;dfs.webhdfs.enabled&amp;quot; value in hdfs-site.xml in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/not-able-to-see-quot-dfs-webhdfs-enabled-quot-value-in-hdfs/m-p/278431#M208023</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We are using CDH 5.14. Webhdfs is enabled by default on cloudera manger and i am able to list HDFS data through webhdfs protocol.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[root@hadoop-slave-1 ~]# curl -i -L "&lt;A href="http://172.16.0.10:50070/webhdfs/v1/?op=LISTSTATUS" target="_blank"&gt;http://172.16.0.10:50070/webhdfs/v1/?op=LISTSTATUS&lt;/A&gt;"&lt;BR /&gt;HTTP/1.1 200 OK&lt;BR /&gt;Cache-Control: no-cache&lt;BR /&gt;Expires: Fri, 27 Sep 2019 13:52:56 GMT&lt;BR /&gt;Date: Fri, 27 Sep 2019 13:52:56 GMT&lt;BR /&gt;Pragma: no-cache&lt;BR /&gt;Expires: Fri, 27 Sep 2019 13:52:56 GMT&lt;BR /&gt;Date: Fri, 27 Sep 2019 13:52:56 GMT&lt;BR /&gt;Pragma: no-cache&lt;BR /&gt;Content-Type: application/json&lt;BR /&gt;X-FRAME-OPTIONS: SAMEORIGIN&lt;BR /&gt;Transfer-Encoding: chunked&lt;/P&gt;
&lt;P&gt;{"FileStatuses":{"FileStatus":[&lt;BR /&gt;{"accessTime":0,"blockSize":0,"childrenNum":2,"fileId":33381,"group":"supergroup","length":0,"modificationTime":1569326622576,"owner":"hdfs","pathSuffix":"cli","permission":"755","replication":0,"storagePolicy":0,"type":"DIRECTORY"},&lt;BR /&gt;{"accessTime":0,"blockSize":0,"childrenNum":10,"fileId":17365,"group":"supergroup","length":0,"modificationTime":1569589022824,"owner":"hdfs","pathSuffix":"hadoop","permission":"755","replication":0,"storagePolicy":0,"type":"DIRECTORY"},&lt;BR /&gt;{"accessTime":0,"blockSize":0,"childrenNum":5,"fileId":33483,"group":"supergroup","length":0,"modificationTime":1569331210359,"owner":"hdfs","pathSuffix":"restorefromcli","permission":"755","replication":0,"storagePolicy":0,"type":"DIRECTORY"},&lt;BR /&gt;{"accessTime":0,"blockSize":0,"childrenNum":3,"fileId":33489,"group":"supergroup","length":0,"modificationTime":1569331240068,"owner":"hdfs","pathSuffix":"restorefromcli1","permission":"755","replication":0,"storagePolicy":0,"type":"DIRECTORY"},&lt;BR /&gt;{"accessTime":0,"blockSize":0,"childrenNum":4,"fileId":33645,"group":"supergroup","length":0,"modificationTime":1569331744422,"owner":"hdfs","pathSuffix":"restorefromcli_1","permission":"755","replication":0,"storagePolicy":0,"type":"DIRECTORY"},&lt;BR /&gt;{"accessTime":0,"blockSize":0,"childrenNum":10,"fileId":33346,"group":"supergroup","length":0,"modificationTime":1569589022883,"owner":"hdfs","pathSuffix":"restorehdfs","permission":"755","replication":0,"storagePolicy":0,"type":"DIRECTORY"},&lt;BR /&gt;{"accessTime":0,"blockSize":0,"childrenNum":3,"fileId":16386,"group":"supergroup","length":0,"modificationTime":1568894436274,"owner":"hdfs","pathSuffix":"tmp","permission":"1777","replication":0,"storagePolicy":0,"type":"DIRECTORY"},&lt;BR /&gt;{"accessTime":0,"blockSize":0,"childrenNum":5,"fileId":16387,"group":"supergroup","length":0,"modificationTime":1569324647144,"owner":"hdfs","pathSuffix":"user","permission":"755","replication":0,"storagePolicy":0,"type":"DIRECTORY"}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But i am not able to see any config related to webhdfs in hdfs-site.xml .My concern is that, if this value(&lt;SPAN&gt;dfs.webhdfs.enabled) is enabled in cloudera, then it should also reflect in hdfs-site.xml file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;do anybody have any idea?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Devendra&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 28 Sep 2019 09:13:05 GMT</pubDate>
    <dc:creator>pdev</dc:creator>
    <dc:date>2019-09-28T09:13:05Z</dc:date>
    <item>
      <title>not able to see "dfs.webhdfs.enabled" value in hdfs-site.xml</title>
      <link>https://community.cloudera.com/t5/Support-Questions/not-able-to-see-quot-dfs-webhdfs-enabled-quot-value-in-hdfs/m-p/278431#M208023</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We are using CDH 5.14. Webhdfs is enabled by default on cloudera manger and i am able to list HDFS data through webhdfs protocol.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[root@hadoop-slave-1 ~]# curl -i -L "&lt;A href="http://172.16.0.10:50070/webhdfs/v1/?op=LISTSTATUS" target="_blank"&gt;http://172.16.0.10:50070/webhdfs/v1/?op=LISTSTATUS&lt;/A&gt;"&lt;BR /&gt;HTTP/1.1 200 OK&lt;BR /&gt;Cache-Control: no-cache&lt;BR /&gt;Expires: Fri, 27 Sep 2019 13:52:56 GMT&lt;BR /&gt;Date: Fri, 27 Sep 2019 13:52:56 GMT&lt;BR /&gt;Pragma: no-cache&lt;BR /&gt;Expires: Fri, 27 Sep 2019 13:52:56 GMT&lt;BR /&gt;Date: Fri, 27 Sep 2019 13:52:56 GMT&lt;BR /&gt;Pragma: no-cache&lt;BR /&gt;Content-Type: application/json&lt;BR /&gt;X-FRAME-OPTIONS: SAMEORIGIN&lt;BR /&gt;Transfer-Encoding: chunked&lt;/P&gt;
&lt;P&gt;{"FileStatuses":{"FileStatus":[&lt;BR /&gt;{"accessTime":0,"blockSize":0,"childrenNum":2,"fileId":33381,"group":"supergroup","length":0,"modificationTime":1569326622576,"owner":"hdfs","pathSuffix":"cli","permission":"755","replication":0,"storagePolicy":0,"type":"DIRECTORY"},&lt;BR /&gt;{"accessTime":0,"blockSize":0,"childrenNum":10,"fileId":17365,"group":"supergroup","length":0,"modificationTime":1569589022824,"owner":"hdfs","pathSuffix":"hadoop","permission":"755","replication":0,"storagePolicy":0,"type":"DIRECTORY"},&lt;BR /&gt;{"accessTime":0,"blockSize":0,"childrenNum":5,"fileId":33483,"group":"supergroup","length":0,"modificationTime":1569331210359,"owner":"hdfs","pathSuffix":"restorefromcli","permission":"755","replication":0,"storagePolicy":0,"type":"DIRECTORY"},&lt;BR /&gt;{"accessTime":0,"blockSize":0,"childrenNum":3,"fileId":33489,"group":"supergroup","length":0,"modificationTime":1569331240068,"owner":"hdfs","pathSuffix":"restorefromcli1","permission":"755","replication":0,"storagePolicy":0,"type":"DIRECTORY"},&lt;BR /&gt;{"accessTime":0,"blockSize":0,"childrenNum":4,"fileId":33645,"group":"supergroup","length":0,"modificationTime":1569331744422,"owner":"hdfs","pathSuffix":"restorefromcli_1","permission":"755","replication":0,"storagePolicy":0,"type":"DIRECTORY"},&lt;BR /&gt;{"accessTime":0,"blockSize":0,"childrenNum":10,"fileId":33346,"group":"supergroup","length":0,"modificationTime":1569589022883,"owner":"hdfs","pathSuffix":"restorehdfs","permission":"755","replication":0,"storagePolicy":0,"type":"DIRECTORY"},&lt;BR /&gt;{"accessTime":0,"blockSize":0,"childrenNum":3,"fileId":16386,"group":"supergroup","length":0,"modificationTime":1568894436274,"owner":"hdfs","pathSuffix":"tmp","permission":"1777","replication":0,"storagePolicy":0,"type":"DIRECTORY"},&lt;BR /&gt;{"accessTime":0,"blockSize":0,"childrenNum":5,"fileId":16387,"group":"supergroup","length":0,"modificationTime":1569324647144,"owner":"hdfs","pathSuffix":"user","permission":"755","replication":0,"storagePolicy":0,"type":"DIRECTORY"}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But i am not able to see any config related to webhdfs in hdfs-site.xml .My concern is that, if this value(&lt;SPAN&gt;dfs.webhdfs.enabled) is enabled in cloudera, then it should also reflect in hdfs-site.xml file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;do anybody have any idea?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Devendra&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Sep 2019 09:13:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/not-able-to-see-quot-dfs-webhdfs-enabled-quot-value-in-hdfs/m-p/278431#M208023</guid>
      <dc:creator>pdev</dc:creator>
      <dc:date>2019-09-28T09:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: not able to see "dfs.webhdfs.enabled" value in hdfs-site.xml</title>
      <link>https://community.cloudera.com/t5/Support-Questions/not-able-to-see-quot-dfs-webhdfs-enabled-quot-value-in-hdfs/m-p/278433#M208025</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69852"&gt;@pdev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per Hadoop Doc:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://hadoop.apache.org/docs/r2.7.0/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml" target="_blank" rel="noopener"&gt;https://hadoop.apache.org/docs/r2.7.0/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The default configuration for "dfs.webhdfs.enabled" is "true". Which means if you do not see it in hdfs-site.xml means it is by default enabled.&amp;nbsp; You can override it by editing the "hdfs-site.xml" based on your requirement.&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;dfs.webhdfs.enabled&lt;/TD&gt;&lt;TD&gt;true&lt;/TD&gt;&lt;TD&gt;Enable WebHDFS (REST API) in Namenodes and Datanodes.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 27 Sep 2019 14:34:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/not-able-to-see-quot-dfs-webhdfs-enabled-quot-value-in-hdfs/m-p/278433#M208025</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-09-27T14:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: not able to see "dfs.webhdfs.enabled" value in hdfs-site.xml</title>
      <link>https://community.cloudera.com/t5/Support-Questions/not-able-to-see-quot-dfs-webhdfs-enabled-quot-value-in-hdfs/m-p/278502#M208059</link>
      <description>&lt;P&gt;Thanks.. Jsen.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Sep 2019 11:02:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/not-able-to-see-quot-dfs-webhdfs-enabled-quot-value-in-hdfs/m-p/278502#M208059</guid>
      <dc:creator>pdev</dc:creator>
      <dc:date>2019-09-28T11:02:26Z</dc:date>
    </item>
  </channel>
</rss>

