title: Presto Query HIVE Table Exception: Failed to list directory
body: <p>I'm new to Presto. I have two machine for presto 0.160, one is coordinator, the other is worker. I want to query table in hive. Now I can "show tables", "desc tablename", but when I want to "select * from tablename", exception occured: "Query 20170728_123013_00011_q4s3a failed: Failed to list directory: hdfs://cdh-test/user/hive/warehouse/employee_hive"</p>
  
  <pre><code>presto&gt; desc hive.default.employee_hive;
  
  
  Column    |  Type   | Comment 
  -------------+---------+---------
   eid         | integer |         
   name        | varchar |         
   salary      | varchar |         
   destination | varchar |         
  (4 rows)
  
  Query 20170728_123001_00010_q4s3a, FINISHED, 2 nodes
  Splits: 2 total, 2 done (100.00%)
  0:00 [4 rows, 268B] [40 rows/s, 2.68KB/s]
  
  presto&gt; select * from hive.default.employee_hive;
  
  Query 20170728_123013_00011_q4s3a, FAILED, 1 node
  Splits: 1 total, 0 done (0.00%)
  0:00 [0 rows, 0B] [0 rows/s, 0B/s]
  
  Query 20170728_123013_00011_q4s3a failed: Failed to list directory: hdfs://cdh-test/user/hive/warehouse/employee_hive
  </code></pre>
  
  <p>Here is my configuration for hive catalog:</p>
  
  <pre><code>connector.name=hive-cdh4
  hive.metastore.uri=thrift://***:9083
  hive.config.resources=/etc/hadoop/conf/core-site.xml,/etc/hadoop/conf/hdfs-site.xml
  </code></pre>
  
  <p>where am I wrong?                </p>