Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-3323

Use hive executable in (non-JDBC) Hive imports

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: hive-integration
    • Labels:
      None

      Description

      When doing Hive imports the old way (not via JDBC that was introduced in SQOOP-3309) we're trying to use the CliDriver class from Hive and fall back to the hive executable (a.k.a. Hive Cli) if that class is not found.

      Since CliDriver and the hive executable that's relying on it are deprecated (see also HIVE-10511), we should switch to using beeline to talk to Hive. With recent additions (e.g. HIVE-18963) this should be easier than before.

      As a first step we could switch to using hive executable. With HIVE-19728 it will be possible (in Hive 3.1) to configure hive to actually run beeline when using the hive executable. This way we could leave it to the user to decide whether to use the deprecated cli or use beeline instead.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dvoros Daniel Voros
                Reporter:
                dvoros Daniel Voros
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: