1-844-696-6465 (US)        +91 77600 44484        help@dezyre.com

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



0

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| +-------+

|default|

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)


0

Hi,

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.

Thanks.


0

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

the forum part is not desinged properly .

Your Answer

Click on this code-snippet-icon icon to add code snippet.

Upload Files (Maximum image file size - 1.5 MB, other file size - 10 MB, total size - not more than 50 MB)

Email
Password