title: failed to get database default returning NoSuchObjectException
body: <p>When I start spark I get this warnings:</p>
  
  <pre><code>Using Scala version 2.10.5 (OpenJDK 64-Bit Server VM, Java 1.8.0_77)
  Type in expressions to have them evaluated.
  Type :help for more information.
  Spark context available as sc.
  16/04/03 15:07:31 WARN Connection: BoneCP specified but not present in CLASSPATH (or one of dependencies)
  16/04/03 15:07:31 WARN Connection: BoneCP specified but not present in CLASSPATH (or one of dependencies)
  16/04/03 15:07:39 WARN ObjectStore: Version information not found in metastore. hive.metastore.schema.verification is not enabled so recording the schema version 1.2.0
  16/04/03 15:07:39 WARN ObjectStore: Failed to get database default, returning NoSuchObjectException
  SQL context available as sqlContext.
  
  scala&gt; 
  </code></pre>
  
  <p>And also when I execute this command: <code>var sqlContext = new org.apache.spark.sql.hive.HiveContext(sc)</code></p>
  
  <p>I get again this warning:</p>
  
  <pre><code>scala&gt; var sqlContext = new org.apache.spark.sql.hive.HiveContext(sc)
  16/04/03 15:04:31 WARN Connection: BoneCP specified but not present in CLASSPATH (or one of dependencies)
  16/04/03 15:04:31 WARN Connection: BoneCP specified but not present in CLASSPATH (or one of dependencies)
  16/04/03 15:04:35 WARN ObjectStore: Failed to get database default, returning NoSuchObjectException
  sqlContext: org.apache.spark.sql.hive.HiveContext = org.apache.spark.sql.hive.HiveContext@13453610
  </code></pre>
  
  <p>So my question is if you know why this warning is happening and if, although the warning is happening, the command <code>var sqlContext = new org.apache.spark.sql.hive.HiveContext(sc)</code> its working correctly?</p>