anubhav tarar created SPARK-26453:
-------------------------------------

             Summary: running  spark sql cli is looking for wrong path of 
hive.metastore.warehouse.dir
                 Key: SPARK-26453
                 URL: https://issues.apache.org/jira/browse/SPARK-26453
             Project: Spark
          Issue Type: Bug
          Components: Build
    Affects Versions: 2.4.0
            Reporter: anubhav tarar


i started the spark sql cli and run the following sql

spark-sql> create table cars(make varchar(10));

it give me below error

2018-12-27 14:49:39 ERROR RetryingHMSHandler:159 - 
MetaException(message:file:*/user/hive/warehouse/*cars is not a directory or 
unable to create one)

Note:i have not specify hive.metastore.warehouse.dir anywhere i just downloaded 
the latest spark version from offical site and try to execute sql

 

further more metastore info logs is printed the right location,but looking at 
above error it seems that *hive.warehouse.metastore.dir* is not pointing to 
that location

 

*2018-12-27 14:49:36 INFO metastore:291 - Mestastore configuration 
hive.metastore.warehouse.dir changed from /user/hive/warehouse to 
file:/home/anubhav/Downloads/spark-2.4.0-bin-hadoop2.7/bin/spark-warehouse*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to