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

Fix ImportSemanticAnalyzer to allow for different src/dst filesystems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1, 2.1.0
    • Import/Export
    • None

    Description

      In ImportSemanticAnalyzer, there is an assumption that the src filesystem for import and the final location are on the same filesystem. Therefore the check for emptiness and getExternalTmpLocation will be looking on the wrong filesystem and will cause an error. The output path should be fed into getExternalTmpLocation to get a temporary file on the correct filesystem. The check for emptiness should use the output filesystem.

      Attachments

        1. HIVE-13463-4.patch
          4 kB
          Zach York
        2. HIVE-13463-3.patch
          4 kB
          Sergey Shelukhin
        3. HIVE-13463-2.patch
          4 kB
          Zach York
        4. HIVE-13463-1.patch
          4 kB
          Zach York
        5. HIVE-13463.patch
          4 kB
          Zach York
        6. HIVE-13463.4.patch
          4 kB
          Sergey Shelukhin

        Activity

          People

            zyork Zach York
            zyork Zach York
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: