首页 技术 正文
技术 2022年11月10日
0 收藏 457 点赞 3,390 浏览 1077 个字

help

help命令用于查询其它命令的用法

[quickstart.cloudera:21000] > help select;
Executes a SELECT... query, fetching all rows

直接输入help不带其它命令会列出目前可用的命令:

[quickstart.cloudera:21000] > help;Documented commands (type help <topic>):
========================================
connect exit history profile select shell unset values with
describe explain insert quit set show use versionUndocumented commands:
======================
alter create desc drop help load summary

version

version命令用于查看impala的当前版本。

[quickstart.cloudera:21000] > version;
Shell version: Impala Shell v2.2.0-cdh5.4.2 (b7f0e80) built on Tue May 19 16:45:28 PDT 2015
Server version: impalad version 2.2.0-cdh5.4.2 RELEASE (build b7f0e80e29971632ae1c422243d56c9ef65b8c5b)

history

列出最近执行的一些命令,作用类似于Linux下的history。

[quickstart.cloudera:21000] > history;
[1]: show tables ;
[2]: hrlp;
[3]: help;
[4]: help select;
[5]: version;
[6]: history;

quit / exit

用于从impala-shell中退出。

[quickstart.cloudera:21000] > exit;
Goodbye root

connect

用于连接到特定端口的实例,如果没有指定的话默认连接到本机的21000端口。

[quickstart.cloudera:21000] > connect;
Connected to quickstart.cloudera:21000
Server version: impalad version 2.2.0-cdh5.4.2 RELEASE (build b7f0e80e29971632ae1c422243d56c9ef65b8c5b)

.

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,487
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,903
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,736
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,487
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:8,127
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:5,289