环境:测试环境
方式一:直接hive
hive> [ecs_platform@bj-ecs-jm429-D-a2-1-m610-2-null-7 hive]$ hive
WARNING: Use "yarn jar" to launch YARN applications.
Logging initialized using configuration in file:/etc/hive/2.4.0.0-169/0/hive-log4j.properties
hive>
方式二:使用bin/hive
[ecs_platform@bj-ecs-jm429-D-a2-1-m610-2-null-7 lib]$ cd ..
[ecs_platform@bj-ecs-jm429-D-a2-1-m610-2-null-7 hive]$ ls
bin conf doc etc hive.tar.gz lib log man metastore scripts
[ecs_platform@bj-ecs-jm429-D-a2-1-m610-2-null-7 hive]$ pwd
/usr/hdp/2.4.0.0-169/hive
[ecs_platform@bj-ecs-jm429-D-a2-1-m610-2-null-7 hive]$ bin/hive
WARNING: Use "yarn jar" to launch YARN applications.
Logging initialized using configuration in file:/etc/hive/2.4.0.0-169/0/hive-log4j.properties
hive>
阅读(1963) | 评论(0) | 转发(0) |