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

Use hive executable in (non-JDBC) Hive imports

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • 3.0.0
    • hive-integration
    • 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

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

              Dates

                Created:
                Updated: