[ https://issues.apache.org/jira/browse/SPARK-14067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15670644#comment-15670644 ]
Herman van Hovell commented on SPARK-14067: ------------------------------------------- This is expected behavior. We need the default database for a number of operations. We try to look it up in the metastore, if it does not exist the metastore gives a warning and we will create a default database. > spark-shell WARN ObjectStore: Failed to get database default,returning > NoSuchObjectException > -------------------------------------------------------------------------------------------- > > Key: SPARK-14067 > URL: https://issues.apache.org/jira/browse/SPARK-14067 > Project: Spark > Issue Type: Bug > Components: Spark Shell > Affects Versions: 1.6.0, 1.6.1 > Environment: OS:ubuntu14.04 LTS 3 vms, > 1, having start hadoop cluster with 3 nodes; > 2, having start spark's standalone deploy mode cluster with 3 nodes > by sbin/start-all.sh > 3, then before entering scala console, an exception happened as below, > but can type :help command. > Reporter: gloCalHelp.com > Priority: Critical > > OS:ubuntu14.04 LTS 3 vms, > 1, having start hadoop cluster with 3 nodes; > 2, having start spark's standalone deploy mode cluster with 3 nodes > by sbin/start-all.sh > 3, then before entering scala console, an exception happened as title and > below log, > but can type :help command. > / __/__ ___ _____/ /__ > _\ \/ _ \/ _ `/ __/ '_/ > /___/ .__/\_,_/_/ /_/\_\ version 1.6.1 > /_/ > Using Scala version 2.10.5 (Java HotSpot(TM) Client VM, Java 1.7.0_45) > Type in expressions to have them evaluated. > Type :help for more information. > 16/03/22 16:03:19 WARN Utils: Your hostname, master resolves to a loopback > address: 127.0.0.1; using 192.168.185.168 instead (on interface eth0) > 16/03/22 16:03:19 WARN Utils: Set SPARK_LOCAL_IP if you need to bind to > another address > Spark context available as sc. > 16/03/22 16:04:06 WARN Connection: BoneCP specified but not present in > CLASSPATH (or one of dependencies) > 16/03/22 16:04:08 WARN Connection: BoneCP specified but not present in > CLASSPATH (or one of dependencies) > 16/03/22 16:04:28 WARN ObjectStore: Version information not found in > metastore. hive.metastore.schema.verification is not enabled so recording the > schema version 1.2.0 > 16/03/22 16:04:29 WARN ObjectStore: Failed to get database default, returning > NoSuchObjectException > Java HotSpot(TM) Client VM warning: You have loaded library > /tmp/libnetty-transport-native-epoll7745204847881537447.so which might have > disabled stack guard. The VM will try to fix the stack guard now. > It's highly recommended that you fix the library with 'execstack -c > <libfile>', or link it with '-z noexecstack'. > 16/03/22 16:04:42 WARN Connection: BoneCP specified but not present in > CLASSPATH (or one of dependencies) > 16/03/22 16:04:44 WARN Connection: BoneCP specified but not present in > CLASSPATH (or one of dependencies) > SQL context available as sqlContext. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org