<?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 Re: webHDFS 403 error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/webHDFS-403-error/m-p/321917#M228607</link>
    <description>&lt;P&gt;when i execute the below api from windows 2016, it failing. But same success from linux. Any idea how to resolve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Users\atnadmin&amp;gt;D:\CDC\curl\curl -v -i --negotiate -u : "http://xxxx:50070/webhdfs/v1/?op=GETFILESTATUS"&lt;BR /&gt;* Trying 10.163.33.97...&lt;BR /&gt;* TCP_NODELAY set&lt;BR /&gt;* Connected toxxxx (xx.xx.xx.xx) port 50070 (#0)&lt;BR /&gt;&amp;gt; GET /webhdfs/v1/?op=GETFILESTATUS HTTP/1.1&lt;BR /&gt;&amp;gt; Host: xxxx:50070&lt;BR /&gt;&amp;gt; User-Agent: curl/7.54.1&lt;BR /&gt;&amp;gt; Accept: */*&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;lt; HTTP/1.1 401 Authentication required&lt;BR /&gt;HTTP/1.1 401 Authentication required&lt;BR /&gt;&amp;lt; Date: Mon, 02 Aug 2021 08:36:03 GMT&lt;BR /&gt;Date: Mon, 02 Aug 2021 08:36:03 GMT&lt;BR /&gt;&amp;lt; Date: Mon, 02 Aug 2021 08:36:03 GMT&lt;BR /&gt;Date: Mon, 02 Aug 2021 08:36:03 GMT&lt;BR /&gt;&amp;lt; Pragma: no-cache&lt;BR /&gt;Pragma: no-cache&lt;BR /&gt;&amp;lt; X-FRAME-OPTIONS: SAMEORIGIN&lt;BR /&gt;X-FRAME-OPTIONS: SAMEORIGIN&lt;BR /&gt;&amp;lt; WWW-Authenticate: Negotiate&lt;BR /&gt;WWW-Authenticate: Negotiate&lt;BR /&gt;&amp;lt; Set-Cookie: hadoop.auth=; Path=/; HttpOnly&lt;BR /&gt;Set-Cookie: hadoop.auth=; Path=/; HttpOnly&lt;BR /&gt;&amp;lt; Cache-Control: must-revalidate,no-cache,no-store&lt;BR /&gt;Cache-Control: must-revalidate,no-cache,no-store&lt;BR /&gt;&amp;lt; Content-Type: text/html;charset=iso-8859-1&lt;BR /&gt;Content-Type: text/html;charset=iso-8859-1&lt;BR /&gt;&amp;lt; Content-Length: 271&lt;BR /&gt;Content-Length: 271&lt;/P&gt;&lt;P&gt;&amp;lt;&lt;BR /&gt;* Ignoring the response-body&lt;BR /&gt;* Connection #0 to host xxxx left intact&lt;BR /&gt;* Issue another request to this URL: 'http://xxxx:50070/webhdfs/v1/?op=GETFILESTATUS'&lt;BR /&gt;* Found bundle for host slbdpapgr0b.ge.net: 0x224afe49300 [can pipeline]&lt;BR /&gt;* Re-using existing connection! (#0) with host xxxx&lt;BR /&gt;* Connected to xxxx (xx.xx.xx.xx) port 50070 (#0)&lt;BR /&gt;* Server auth using Negotiate with user ''&lt;BR /&gt;&amp;gt; GET /webhdfs/v1/?op=GETFILESTATUS HTTP/1.1&lt;BR /&gt;&amp;gt; Host: slbdpapgr0b.ge.net:50070&lt;BR /&gt;&amp;gt; Authorization: Negotiate TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAKADk4AAAADw==&lt;BR /&gt;&amp;gt; User-Agent: curl/7.54.1&lt;BR /&gt;&amp;gt; Accept: */*&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;lt; HTTP/1.1 403 java.lang.IllegalArgumentException&lt;BR /&gt;HTTP/1.1 403 java.lang.IllegalArgumentException&lt;BR /&gt;&amp;lt; Date: Mon, 02 Aug 2021 08:36:03 GMT&lt;BR /&gt;Date: Mon, 02 Aug 2021 08:36:03 GMT&lt;BR /&gt;&amp;lt; Date: Mon, 02 Aug 2021 08:36:03 GMT&lt;BR /&gt;Date: Mon, 02 Aug 2021 08:36:03 GMT&lt;BR /&gt;&amp;lt; Pragma: no-cache&lt;BR /&gt;Pragma: no-cache&lt;BR /&gt;&amp;lt; X-FRAME-OPTIONS: SAMEORIGIN&lt;BR /&gt;X-FRAME-OPTIONS: SAMEORIGIN&lt;BR /&gt;&amp;lt; Set-Cookie: hadoop.auth=; Path=/; HttpOnly&lt;BR /&gt;Set-Cookie: hadoop.auth=; Path=/; HttpOnly&lt;BR /&gt;&amp;lt; Cache-Control: must-revalidate,no-cache,no-store&lt;BR /&gt;Cache-Control: must-revalidate,no-cache,no-store&lt;BR /&gt;&amp;lt; Content-Type: text/html;charset=iso-8859-1&lt;BR /&gt;Content-Type: text/html;charset=iso-8859-1&lt;BR /&gt;&amp;lt; Content-Length: 293&lt;BR /&gt;Content-Length: 293&lt;/P&gt;&lt;P&gt;&amp;lt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt;&amp;lt;meta http-equiv="Content-Type" content="text/html;charset=utf-8"/&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Error 403 java.lang.IllegalArgumentException&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&amp;lt;h2&amp;gt;HTTP ERROR 403&amp;lt;/h2&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;Problem accessing /webhdfs/v1/. Reason:&lt;BR /&gt;&amp;lt;pre&amp;gt; java.lang.IllegalArgumentException&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;* Closing connection 0&lt;/P&gt;&lt;P&gt;C:\Users\atnadmin&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kamal&lt;/P&gt;</description>
    <pubDate>Mon, 02 Aug 2021 08:38:55 GMT</pubDate>
    <dc:creator>Kamalakannan</dc:creator>
    <dc:date>2021-08-02T08:38:55Z</dc:date>
  </channel>
</rss>

