<?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 How do I &amp;quot;PUT&amp;quot; files correctly into WebHDFS via Knox? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-quot-PUT-quot-files-correctly-into-WebHDFS-via-Knox/m-p/102956#M15281</link>
    <description>&lt;P&gt;According to the WebHDFS documentation (https://hadoop.apache.org/docs/r1.0.4/webhdfs.html#CREATE) I need to set two HTTP PUT requests, one to the namenode and one to the data node given by the first request. This works fine as long as I have access to these nodes.&lt;/P&gt;&lt;P&gt;How does a PUT work from outside a cluster, where everything between the HTTP client and the cluster is separated by a firewall except the one entrance point, which is Knox? Does it work at all? &lt;/P&gt;&lt;P&gt;EDIT: Now it works - here is what went wrong:&lt;/P&gt;&lt;P&gt;Just to explain, what my mistake was: I have full access to the cluster, which made me send the first request with Knox's internal IP address. Knox answered me providing an internal address of a data node. That would work for me, since I have full access, but wouldn't for others, who just see the Knox node from outside.&lt;/P&gt;&lt;P&gt;When using Knox with it's external IP address, the first request also returns that external IP address. &lt;/P&gt;</description>
    <pubDate>Mon, 18 Jan 2016 05:37:28 GMT</pubDate>
    <dc:creator>condla</dc:creator>
    <dc:date>2016-01-18T05:37:28Z</dc:date>
    <item>
      <title>How do I "PUT" files correctly into WebHDFS via Knox?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-quot-PUT-quot-files-correctly-into-WebHDFS-via-Knox/m-p/102956#M15281</link>
      <description>&lt;P&gt;According to the WebHDFS documentation (https://hadoop.apache.org/docs/r1.0.4/webhdfs.html#CREATE) I need to set two HTTP PUT requests, one to the namenode and one to the data node given by the first request. This works fine as long as I have access to these nodes.&lt;/P&gt;&lt;P&gt;How does a PUT work from outside a cluster, where everything between the HTTP client and the cluster is separated by a firewall except the one entrance point, which is Knox? Does it work at all? &lt;/P&gt;&lt;P&gt;EDIT: Now it works - here is what went wrong:&lt;/P&gt;&lt;P&gt;Just to explain, what my mistake was: I have full access to the cluster, which made me send the first request with Knox's internal IP address. Knox answered me providing an internal address of a data node. That would work for me, since I have full access, but wouldn't for others, who just see the Knox node from outside.&lt;/P&gt;&lt;P&gt;When using Knox with it's external IP address, the first request also returns that external IP address. &lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2016 05:37:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-quot-PUT-quot-files-correctly-into-WebHDFS-via-Knox/m-p/102956#M15281</guid>
      <dc:creator>condla</dc:creator>
      <dc:date>2016-01-18T05:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I "PUT" files correctly into WebHDFS via Knox?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-quot-PUT-quot-files-correctly-into-WebHDFS-via-Knox/m-p/102957#M15282</link>
      <description>&lt;P&gt;this does not necessarily answer your question but you're using very old docs, please refer to the latest stable release &lt;A href="https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/WebHDFS.html"&gt;docs&lt;/A&gt; for webhdfs api. &lt;A rel="user" href="https://community.cloudera.com/users/788/skupstaitis-dunkler.html" nodeid="788"&gt;@Stefan Kupstaitis-Dunkler&lt;/A&gt;. Here are &lt;A href="https://knox.apache.org/books/knox-0-7-0/user-guide.html#WebHDFS+Examples"&gt;webhdfs&lt;/A&gt; examples that suppose to work.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2016 09:49:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-quot-PUT-quot-files-correctly-into-WebHDFS-via-Knox/m-p/102957#M15282</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-18T09:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I "PUT" files correctly into WebHDFS via Knox?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-quot-PUT-quot-files-correctly-into-WebHDFS-via-Knox/m-p/102958#M15283</link>
      <description>&lt;P&gt;Apache Knox provides the same REST APIs for PUTting files into HDFS.&lt;/P&gt;&lt;P&gt;Please see the Apache docs for examples: &lt;A href="http://knox.apache.org/books/knox-0-7-0/user-guide.html#WebHDFS+Examples" target="_blank"&gt;http://knox.apache.org/books/knox-0-7-0/user-guide.html#WebHDFS+Examples&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Note that the link will take you to examples of using the groovy scripting capabilities of Knox as well as examples of using curl to do the same things.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2016 11:44:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-quot-PUT-quot-files-correctly-into-WebHDFS-via-Knox/m-p/102958#M15283</guid>
      <dc:creator>lmccay</dc:creator>
      <dc:date>2016-01-18T11:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I "PUT" files correctly into WebHDFS via Knox?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-quot-PUT-quot-files-correctly-into-WebHDFS-via-Knox/m-p/102959#M15284</link>
      <description>&lt;P&gt;Thx. &lt;A rel="user" href="https://community.cloudera.com/users/354/lmccay.html" nodeid="354"&gt;@lmccay&lt;/A&gt; I just noticed, that it isn't a matter of age of the docs (it didn't change much), but a matter of how I used WebHDFS PUT. And sometimes asking the question helps solving a problem as well &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;  -&amp;gt; I edited my question to describe the problem that I had.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2016 16:02:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-quot-PUT-quot-files-correctly-into-WebHDFS-via-Knox/m-p/102959#M15284</guid>
      <dc:creator>condla</dc:creator>
      <dc:date>2016-01-18T16:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I "PUT" files correctly into WebHDFS via Knox?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-quot-PUT-quot-files-correctly-into-WebHDFS-via-Knox/m-p/378722#M15285</link>
      <description>&lt;P&gt;Hi there!&lt;BR /&gt;I'm in the same situation but my cluster is also kerberized.&lt;BR /&gt;I don't have full access to the cluster so if I provide a datanode from the response I get "&lt;SPAN&gt;&lt;SPAN class="ui-provider ee azy azz baa bab bac bae baf bag bah bai baj bak bal bam ban bao bap baq bar bas bat bau bav baw bax bay baz bba bbb bbc bbd bbe bbf bbg"&gt;Could not resolve host&lt;/SPAN&gt;&lt;/SPAN&gt;" error.&lt;BR /&gt;So I'm wondering&amp;nbsp; what do u mean by using external IP address?&lt;BR /&gt;Can u post here your requests?&lt;BR /&gt;Thanks a ton!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 18:58:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-quot-PUT-quot-files-correctly-into-WebHDFS-via-Knox/m-p/378722#M15285</guid>
      <dc:creator>Sergeii</dc:creator>
      <dc:date>2023-11-07T18:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I "PUT" files correctly into WebHDFS via Knox?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-quot-PUT-quot-files-correctly-into-WebHDFS-via-Knox/m-p/378723#M15286</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107786"&gt;@Sergeii&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;As this is an older post, you would have a better chance of receiving a resolution by&lt;A href="“https://community.cloudera.com/t5/forums/postpage/board-id/Questions”" target="_blank"&gt; starting a new thread&lt;/A&gt;. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post. Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 19:59:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-quot-PUT-quot-files-correctly-into-WebHDFS-via-Knox/m-p/378723#M15286</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2023-11-07T19:59:03Z</dc:date>
    </item>
  </channel>
</rss>

