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.