# cd /opt/cdh5.14.2/hadoop-2.6.0-cdh5.14.2/ # sbin/hadoop-daemon.sh start namenode # sbin/hadoop-daemon.sh start datanode # sbin/yarn-daemon.sh start resourcemanager # # cd /opt/cdh5.14.2/hive-1.1.0-cdh5.14.2/ # bin/hive --service metastore & # bin/hive --service hiveserver2 & # # service kudu-master start # service kudu-tserver start # # service impala-state-store start # service impala-catalog start # service impala-server start [root@centos00 ~]# cd /opt/cdh5.14.2/hadoop-2.6.0-cdh5.14.2/ [root@centos00 hadoop-2.6.0-cdh5.14.2]# sbin/hadoop-daemon.sh start namenode [root@centos00 hadoop-2.6.0-cdh5.14.2]# sbin/hadoop-daemon.sh start datanode [root@centos00 hadoop-2.6.0-cdh5.14.2]# sbin/yarn-daemon.sh start resourcemanager [root@centos00 ~]# cd /opt/cdh5.14.2/hive-1.1.0-cdh5.14.2/ [root@centos00 hive-1.1.0-cdh5.14.2]# bin/hive --service metastore & [root@centos00 hive-1.1.0-cdh5.14.2]# bin/hive --service hiveserver2 & [root@centos00 ~]# service kudu-master start [root@centos00 ~]# service kudu-tserver start [root@centos00 ~]# service impala-state-store start [root@centos00 ~]# service impala-catalog start [root@centos00 ~]# service impala-server start [root@centos00 ~]# impala-shell Starting Impala Shell without Kerberos authentication Connected to centos00:21000 Server version: impalad version 2.11.0-cdh5.14.2 RELEASE (build ed85dce709da9557aeb28be89e8044947708876c) *********************************************************************************** Welcome to the Impala shell. (Impala Shell v2.11.0-cdh5.14.2 (ed85dce) built on Tue Mar 27 13:39:48 PDT 2018) You can change the Impala daemon that you're connected to by using the CONNECT command.To see how Impala will plan to run your query without actually executing it, use the EXPLAIN command. You can change the level of detail in the EXPLAIN output by setting the EXPLAIN_LEVEL query option. *********************************************************************************** [centos00:21000] > CREATE TABLE my_kudu_table > ( > id BIGINT, > name STRING, > PRIMARY KEY(id) > ) > PARTITION BY HASH PARTITIONS 16 > STORED AS KUDU > TBLPROPERTIES ( > 'kudu.master_addresses' = 'centos00:7051', > 'kudu.table_name' = 'my_kudu_table', > 'kudu.num_tablet_replicas' = '1' > ); [centos00:21000] > insert into my_kudu_table values(10, "Phoniex"); [centos00:21000] > select * from my_kudu_table; +----+---------+ | id | name | +----+---------+ | 10 | Phoniex | +----+---------+