title: presto hive: Query failed: Partition location does not exist:
body: <p>I have presto server(linux) with config.properties:</p>
  
  <pre><code>coordinator=false
  datasources=hive
  node-scheduler.include-coordinator=false
  http-server.http.port=8080
  query.max-memory=5GB
  query.max-memory-per-node=1GB
  discovery-server.enabled=true
  discovery.uri=http://localhost:8080
  </code></pre>
  
  <p>And catalog/hive.properties:</p>
  
  <pre><code>connector.name=hive-cdh4
  hive.metastore.uri=thrift://another-machine:port
  </code></pre>
  
  <p>Hive are working on another mashine (windows(!)).
  Db client works correct with hive. Tables can be created, updated etc.</p>
  
  <p>But if I use presto client (presto.jar from linux) 
  ERROR:</p>
  
  <pre><code>Query 20160426_133746_00003_8iq7y failed: Partition location does not exist: file:/C:/tmp/user/hive/warehouse/test
  </code></pre>
  
  <p>Path is correct. Exist.</p>
  
  <p>hive-site.xml config contains:</p>
  
  <pre><code>&lt;property&gt;
     &lt;name&gt;hive.metastore.warehouse.dir&lt;/name&gt;
     &lt;value&gt;file:///C:/tmp/user/hive/warehouse&lt;/value&gt;
     &lt;description&gt;location of the warehouse directory&lt;/description&gt;
   &lt;/property&gt;
  </code></pre>
  
  <p>Need help to resolve this problem. Thanks.</p>