Commit Graph

31 Commits

Author SHA1 Message Date
ishaan
ccfc84fd6a import saslwrapper instead of sasl for Centos/Rhel 2014-01-08 10:46:54 -08:00
Lenni Kuff
36a8d4bcb1 IMP-611: Impala shell ignores TStatus return values 2014-01-08 10:46:53 -08:00
ishaan
ec07adf6ee Enable the shell to consume erros and continue for batch processing. 2014-01-08 10:46:51 -08:00
Lenni Kuff
ef48f65e76 Add test framework for running Impala query tests via Python
This is the first set of changes required to start getting our functional test
infrastructure moved from JUnit to Python. After investigating a number of
option, I decided to go with a python test executor named py.test
(http://pytest.org/). It is very flexible, open source (MIT licensed), and will
enable us to do some cool things like parallel test execution.

As part of this change, we now use our "test vectors" for query test execution.
This will be very nice because it means if load the "core" dataset you know you
will be able to run the "core" query tests (specified by --exploration_strategy
when running the tests).

You will see that now each combination of table format + query exec options is
treated like an individual test case. this will make it much easier to debug
exactly where something failed.

These new tests can be run using the script at tests/run-tests.sh
2014-01-08 10:46:50 -08:00
Lenni Kuff
0098b46907 Bump Impala version to .3 and fix Impala shell version generation 2014-01-08 10:46:49 -08:00
ishaan
66be79e762 Default to port 21000 if no port is specified: On behalf of Ricky Saltzer. 2014-01-08 10:46:40 -08:00
Alan Choi
432a7631af Fix impala_shell and impala_beeswax to use the new key=value query option 2014-01-08 10:46:35 -08:00
ishaan
5a867a9089 Add version string on the command line. 2014-01-08 10:46:34 -08:00
Henry Robinson
2f339f2ed8 Add ASL license to all public files 2014-01-08 10:46:32 -08:00
ishaan
fd2a36d56f The non-interactive shell should return a non-zero rc when the connection fails. 2014-01-08 10:46:30 -08:00
ishaan
7e87d7125e The shell should filter out comments in the query file. 2014-01-08 10:46:29 -08:00
ishaan
54317a34ee set displays query options. 2014-01-08 10:46:28 -08:00
ishaan
b0dbc8525c User should be able to enter a default service name in the shell. 2014-01-08 10:46:28 -08:00
Henry Robinson
b4d71b2b8d Reduce polling time for CLI 2014-01-08 10:46:17 -08:00
Henry Robinson
a52322a0a1 IMP-426: Fix quoting of arguments in impala-shell 2014-01-08 10:46:15 -08:00
Lenni Kuff
42b9e96ce1 Fix bug in CLI that required sasl module to be installed even if not using Kerberos 2014-01-08 10:46:15 -08:00
ishaan
d2442a3b71 Enable the shell to talk to a kerberized impalad 2014-01-08 10:46:14 -08:00
Henry Robinson
c4fc33d0a4 Fix packaged shell command-line parameters 2014-01-08 10:46:00 -08:00
Lenni Kuff
0c5e41c5d5 Fix git hash / version info generation for packaging builds
The packaging builds are done in a way that doesn't allow for us to query the
git hash at the time of build. The fix is to generate a version file before
build time and use that to populate the changes. This changes adds a
save-version.sh script that is run before the package build starts. This change also consolidates the version info gathering between core impala and the CLI.
2014-01-08 10:45:59 -08:00
ishaan
ff7933f51b Handle commands terminated by semi-colons 2014-01-08 10:45:14 -08:00
Henry Robinson
ac619f4466 Fix cancellation in the shell 2014-01-08 10:45:12 -08:00
ishaan
535894ba61 Take out options.interactive and strip() the command line
to take out leading whitespace.
2014-01-08 10:45:12 -08:00
ishaan
76a4719f09 Shell enhancements: case sensitivity, help commands, interactive mode. 2014-01-08 10:45:11 -08:00
Henry Robinson
f06ca4578c Build tarball with impala-shell-0.1 root directory 2014-01-08 10:45:09 -08:00
Henry Robinson
6136e2f9c1 Fix broken option defaults in the shell 2014-01-08 10:45:08 -08:00
Henry Robinson
6bf2b3c74e Add tarball build-step for shell, also shell version number 2014-01-08 10:45:07 -08:00
ishaan
23db0c0605 Enable query cancellation on Ctrl^c, enable shell exit on Ctrl^D, misc error handling. 2014-01-08 10:45:05 -08:00
Henry Robinson
e7348a209b IMP-232: Parallel INSERT OVERWRITE 2014-01-08 10:45:04 -08:00
Henry Robinson
e3e6ba984b Show / describe 2014-01-08 10:44:49 -08:00
Henry Robinson
e5893064b0 Fix build failure 2014-01-08 10:44:37 -08:00
Henry Robinson
fb681fba4e Simple Python shell for Impala 2014-01-08 10:44:37 -08:00