title: Hive Databases Only List default DB
body: <p>When I try to list all hive databases through Spark (1.6)</p>
  
  <pre><code>scala&gt; val tdf = sqlContext.sql("SHOW DATABASES");
  tdf: org.apache.spark.sql.DataFrame = [result: string]
  scala&gt; tdf.show
  +-------+
  | result|
  +-------+
  |default|
  +-------+
  </code></pre>
  
  <p>When I try to list all hive databases through hive shell</p>
  
  <pre><code>hive&gt; show databases;
  OK
  default
  Time taken: 0.621 seconds, Fetched: 1 row(s)
  </code></pre>
  
  <p>While in my hive, actually I already have lot of databases. Am I miss some configuration on my Cloudera cluster? Or maybe there are some problem with my hive metastore?</p>