Hive
  1. Hive
  2. HIVE-3486

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Query Processor
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Activity

          People

          • Assignee:
            Kevin Wilfong
            Reporter:
            Kevin Wilfong
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development