Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-3486

CTAS in database with location on non-default name node fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0
    • Query Processor
    • None
    • Reviewed

    Description

      If a database has a location which is on a different name node than the default database's location, CTAS queries run in that database will fail.

      This is because the intermediate location which is where the final FileSinkOperator writes to is determined based on the scheme and authority of the value of hive.metastore.warehouse.dir instead of the table's database's location.

      Attachments

        1. HIVE-3486.2.patch.txt
          9 kB
          Kevin Wilfong
        2. HIVE-3486.1.patch.txt
          8 kB
          Kevin Wilfong

        Activity

          People

            kevinwilfong Kevin Wilfong
            kevinwilfong Kevin Wilfong
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: