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

Fix ImportSemanticAnalyzer to allow for different src/dst filesystems

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1, 2.1.0
    • Component/s: Import/Export
    • Labels:
      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.patch
          4 kB
          Zach York
        2. HIVE-13463-1.patch
          4 kB
          Zach York
        3. HIVE-13463-2.patch
          4 kB
          Zach York
        4. HIVE-13463-3.patch
          4 kB
          Sergey Shelukhin
        5. HIVE-13463-4.patch
          4 kB
          Zach York
        6. HIVE-13463.4.patch
          4 kB
          Sergey Shelukhin

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: