title: Connect hadoop in C#
body: <p>I want to connect hadoop in c# using HDInsight. I have created a cluster in AZURE and it was created successfully. and also I enabled remote desktop connection in it.
  When I entered the credentials in C# and execute the job then I get the connection error. I am confused in providing the parameters. Kindly assist me.</p>
  
  <pre><code>var hadoop = Hadoop.Connect(new Uri("https://clustername.azurehdinsight.net"), "admin", "");
  //I have set remote desktop password
  
  var config = new HadoopJobConfiguration();
  
  
  
                  config.InputPath = "input/CodeFiles";
                  config.OutputFolder = "output/CodeFiles";
                  var result = hadoop.MapReduceJob.ExecuteJob&lt;NamespaceCounterJob&gt;();
  </code></pre>
  
  <p>Last line gives the exception. 
  Exception message is: </p>
  
  <blockquote>
    <p>One or more errors occured</p>
  </blockquote>
  
  <p>And this is the inner exception:</p>
  
  <blockquote>
    <p>Unable to connect to the remote server</p>
  </blockquote>