What is the default location where Hive stores table data?

Free Online Certification Courses – Learn Today. Lead Tomorrow. Forums Apache Hadoop What is the default location where Hive stores table data?

Viewing 1 reply thread
  • Author
    Posts
    • #5171
      DataFlair TeamDataFlair Team
      Spectator

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

    • #5174
      DataFlair TeamDataFlair Team
      Spectator

      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 1 reply thread
  • You must be logged in to reply to this topic.