title: Access s3n urls via hadoop and point to riak cs
body: <p>I have code written for amazon emr using s3 and s3n urls in hadoop.</p>
  
  <p>eg pig:</p>
  
  <pre><code>X = LOAD("s3n://testbucket/testfile.txt") using PigStorage();
  </code></pre>
  
  <p>I'd like to continue using the code and switch to using Riak-CS instead of amazon s3. </p>
  
  <p>i.e I'd like that s3 url to point to my Riak CS Cluster, where I will setup the bucket and file.</p>
  
  <p>Is there an option in Hadoop config to route s3n urls via Proxy or specific hostname.</p>