<?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 KNOX Kerberos webHDFS HA in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/KNOX-Kerberos-webHDFS-HA/m-p/214764#M176676</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have kerberos and HA enabled on my hadoop cluster.Now to enable HA over the webhdfs i did the following configuration:&lt;/P&gt;&lt;P&gt;&amp;lt;provider&amp;gt;&lt;/P&gt;&lt;P&gt;
                &amp;lt;role&amp;gt;ha&amp;lt;/role&amp;gt;&lt;/P&gt;&lt;P&gt;
                &amp;lt;name&amp;gt;HaProvider&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;
                &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;/P&gt;&lt;P&gt;
            &amp;lt;param&amp;gt; &lt;/P&gt;&lt;P&gt;                &amp;lt;name&amp;gt;WEBHDFS&amp;lt;/name&amp;gt;               
                 &amp;lt;value&amp;gt;maxFailoverAttempts=3;failoverSleep=1000;maxRetryAttempts=300;retrySleep=1000;enabled=true&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;
            &amp;lt;/param&amp;gt;&lt;/P&gt;&lt;P&gt;
        &amp;lt;/provider&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;service&amp;gt;&lt;/P&gt;&lt;P&gt;
            &amp;lt;role&amp;gt;WEBHDFS&amp;lt;/role&amp;gt; &lt;/P&gt;&lt;P&gt;            &amp;lt;url&amp;gt;http://&amp;lt;nn1&amp;gt;:50070/webhdfs&amp;lt;/url&amp;gt; &lt;/P&gt;&lt;P&gt;            &amp;lt;url&amp;gt;http://&amp;lt;nn2&amp;gt;:50070/webhdfs&amp;lt;/url&amp;gt;&lt;/P&gt;&lt;P&gt;
       &amp;lt;/service&amp;gt;&lt;/P&gt;&lt;P&gt;But the curl command is still failing.&lt;/P&gt;&lt;P&gt;I am not using SSL.&lt;/P&gt;&lt;P&gt;Can someone point to correct curl command i should use assuming knox1 is my hostname of knox gateway.&lt;/P&gt;&lt;P&gt;I have used below command&lt;/P&gt;&lt;P&gt;$ curl -k -i -vvvv --negotiate -u : "http://&amp;lt;knox1&amp;gt;:50070/gateway/&amp;lt;cluster_name&amp;gt;/webhdfs/v1/user?=op=LISTSTATUS"&lt;/P&gt;&lt;P&gt;I have followed below tutorials but they cannot help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/35125/knox-error-after-configuring-namenode-ha.html" target="_blank"&gt;https://community.hortonworks.com/questions/35125/knox-error-after-configuring-namenode-ha.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/content/supportkb/150585/how-to-configure-a-knox-topology-for-namenode-ha-1.html" target="_blank"&gt;https://community.hortonworks.com/content/supportkb/150585/how-to-configure-a-knox-topology-for-namenode-ha-1.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Oct 2018 01:45:24 GMT</pubDate>
    <dc:creator>muditcse</dc:creator>
    <dc:date>2018-10-24T01:45:24Z</dc:date>
  </channel>
</rss>

