Lenni Kuff
06b5a3fe67
Stop printing the query string in impala-shell when running the 'profile' command
...
This information is now embedded in the runtime profile so there is no need to print
it twice.
2014-01-08 10:48:55 -08:00
Lenni Kuff
0bcb54fcf8
Add GetRuntimeProfile RPC and enable printing runtime profile from impala-shell
2014-01-08 10:48:44 -08:00
Lenni Kuff
d763948f01
Remove generated files from impala-shell packages (eggs)
2014-01-08 10:48:31 -08:00
Lenni Kuff
1cd847c856
IMPALA-81: Add support for CREATE/DROP DATABASE/TABLE
...
This adds Impala support for CREATE/DROP DATABASE/TABLE. With this change, Impala
supports creating tables in the metastore stored as text, sequence, and rc file format.
It currently only supports creating unpartitioned tables and tables stored in HDFS.
2014-01-08 10:48:30 -08:00
ishaan
45297b01ff
Fix use db_name in the shell.
2014-01-08 10:48:28 -08:00
ishaan
fa3500eb43
Improve display of query results in the impala shell
2014-01-08 10:48:27 -08:00
Lenni Kuff
279c2ee996
Add .gitignore file for Impala shell build artifacts
2014-01-08 10:48:07 -08:00
ishaan
083b66e6f2
Make the shell work on SLES by adding pkg_resources.py from setuptools.
2014-01-08 10:48:07 -08:00
ishaan
846301c394
Change make_shell_tarball to be able to build external python modules in the repository.
2014-01-08 10:48:00 -08:00
ishaan
270ca262cf
IMPALA-42, Shell: connect with no arguments should fail gracefully.
2014-01-08 10:47:58 -08:00
ishaan
d7a684de3f
The impala shell should process multiple queries on the command line.
2014-01-08 10:47:57 -08:00
ishaan
bb9405a0f3
Add exit command to the impala shell
2014-01-08 10:47:55 -08:00
Sean Mackrory
aed6a66e29
IMP-744: Impala-shell wrapper shell script missing exec to run as single process
2014-01-08 10:47:54 -08:00
ishaan
5166bda649
Make sasl buildable on ubuntu 11/12.
2014-01-08 10:47:52 -08:00
ishaan
83e9bccabb
Add the sasl package to source for the shell.
2014-01-08 10:47:51 -08:00
Henry Robinson
7ba437a52e
Code changes to build against thrift 0.9.0 in thirdparty/
2014-01-08 10:47:22 -08:00
ishaan
014d1f8c04
Make $IMPALA_HOME/shell hold python modules.
2014-01-08 10:47:20 -08:00
Skye Wanderman-Milne
8987593967
IMP-633 File Permission error should be returned the shell and visible to the user
...
Log that an error occurred opening the file and call get_log in the shell when an insert fails. Don't unregister query in ImpalaServer::Wait so we can recover error message later.
2014-01-08 10:47:19 -08:00
Alan Choi
ff704ce586
IMP-690: impala-shell calls PingImpalaService thrift API to verify
...
the connected server is an impalad.
2014-01-08 10:47:13 -08:00
ishaan
b19dc9c711
The shell should display verbose output by default. Add a flag to disable.
2014-01-08 10:47:04 -08:00
ishaan
cdc3e16cf7
Add the ability to store cross session command history in the shell.
2014-01-08 10:47:03 -08:00
ishaan
bb66609b6d
Store and display results in batches for the shell to not overload memory.
2014-01-08 10:47:00 -08:00
ishaan
0d41ed563c
Add command line options to the shell which specified which database to use after connecting.
2014-01-08 10:47:00 -08:00
ishaan
25147054a5
Add user option to refresh catalogue after connection
2014-01-08 10:46:55 -08:00
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