unable to see all the databases when using hive context in scala ?


Scala > hiveContext.sql("show databases").show

17/05/31 11:25:57 WARN metastore.ObjectStore: Version information not found in metastore. hive.metastore.schema.verification is not enabled so recording the schema version 1.1.0

17/05/31 11:25:58 WARN metastore.ObjectStore: Failed to get database default,

returning NoSuchObjectException

+-------+ | result| +-------+


How to check that both databases exsist. ?

i dont see the movie databases here in scala terminal , but i can view them in hive in hue browser ?


2 Answer(s)



It looks like BoneCP jars is not available on the driver classpath, could you please try invoke spark-shell with --jar option specifying bonecp jars path on local.

Hope this helps.



please , i find difficult to navigate to the forum, to post the question.

the forum part is not desinged properly .