Commit Graph

242 Commits

Author SHA1 Message Date
Lenni Kuff
0bcb54fcf8 Add GetRuntimeProfile RPC and enable printing runtime profile from impala-shell 2014-01-08 10:48:44 -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
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
Henry Robinson
7ba437a52e Code changes to build against thrift 0.9.0 in thirdparty/ 2014-01-08 10:47:22 -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
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
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
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
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