Front Page Forums Hadoop What is the default location where Hive stores table data?

This topic contains 1 reply, has 1 voice, and was last updated by  dfbdteam3 2 months, 4 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5171

    dfbdteam3
    Moderator

    What is the default location where Apache Hive stores table data?

    #5174

    dfbdteam3
    Moderator

    The default location is configured in “hive-default.xml.templete” file as

    <property>
    <name>hive.metastore.warehouse.dir</name>
    <value>/user/hive/warehouse</value>
    <description>location of default database for the warehouse</description>
    </property>

    so, all the hive files will store in “/user/hive/warehouse” location. We can change the location of storage by updating the property value.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.