<?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 Using C# to upload files via Knox (LDAP) and webHDFS in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-C-to-upload-files-via-Knox-LDAP-and-webHDFS/m-p/138308#M19235</link>
    <description>&lt;P&gt;I am having trouble finding any documentation on being able to access webHDFS from a C# app (not much of a surprise). I'm simply struggling with knowing how to pass the password to authenticate. Any suggestions?&lt;/P&gt;</description>
    <pubDate>Fri, 12 Feb 2016 07:34:28 GMT</pubDate>
    <dc:creator>kvasko</dc:creator>
    <dc:date>2016-02-12T07:34:28Z</dc:date>
    <item>
      <title>Using C# to upload files via Knox (LDAP) and webHDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-C-to-upload-files-via-Knox-LDAP-and-webHDFS/m-p/138308#M19235</link>
      <description>&lt;P&gt;I am having trouble finding any documentation on being able to access webHDFS from a C# app (not much of a surprise). I'm simply struggling with knowing how to pass the password to authenticate. Any suggestions?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 07:34:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-C-to-upload-files-via-Knox-LDAP-and-webHDFS/m-p/138308#M19235</guid>
      <dc:creator>kvasko</dc:creator>
      <dc:date>2016-02-12T07:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using C# to upload files via Knox (LDAP) and webHDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-C-to-upload-files-via-Knox-LDAP-and-webHDFS/m-p/138309#M19236</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2337/kvasko.html" nodeid="2337"&gt;@Kevin Vasko&lt;/A&gt; Knox provides REST API, so just consider Knox to be an https or http site and you want to access it using GET, PUT, POST etc with simple authentication. You can use C# classes like WebRequest and NetworkCredentials, here is one good looking &lt;A href="http://stackoverflow.com/questions/1127223/c-sharp-ssl-basic-access-authentication"&gt;sample&lt;/A&gt;. Try first to list a directory (GET). And note that file upload is a &lt;A href="https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#Create_and_Write_to_a_File"&gt;2-step PUT process&lt;/A&gt;. &lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 13:10:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-C-to-upload-files-via-Knox-LDAP-and-webHDFS/m-p/138309#M19236</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-02-12T13:10:49Z</dc:date>
    </item>
  </channel>
</rss>

