摘要: 一、hive 交互式命令参数#帮助[root@hadoop-senior hive-0.13.1]# bin/hive -hMissing argument for option: husage: hive -d,--define Variable subsitution to apply to hive com... 阅读全文
posted @ 2019-04-19 15:40 米兰的小铁將 阅读(412) 评论(0) 推荐(0)
摘要: 一、Hive数据仓库位置配置1、#Hive数据仓库位置配置:默认位置(hive根目录): /user/hive/warehouse注意事项: *在仓库目录下,没有对默认的数据库default创建文件夹 *如果某张表属于default数据库,直接在数据仓库目录下创建一个文件夹,而且default数据库的目录不显示;2、在hive命令行执行hdfs命令:#删除一个文件hive (de... 阅读全文
posted @ 2019-04-19 15:12 米兰的小铁將 阅读(417) 评论(0) 推荐(0)
摘要: 一、配置文件 1、重命名配置文件 2、配置log目录 2、命令行设置 阅读全文
posted @ 2019-04-19 14:00 米兰的小铁將 阅读(3079) 评论(0) 推荐(0)
摘要: 一、基本命令和设置1、命令[root@hadoop-senior hive-0.13.1]# bin/hiveLogging initialized using configuration in jar:file:/opt/modules/hive-0.13.1/lib/hive-common-0.13.1.jar!/hive-log4j.propertieshive> show database... 阅读全文
posted @ 2019-04-19 11:33 米兰的小铁將 阅读(250) 评论(0) 推荐(0)
摘要: 一、配置1、配置文件#创建配置文件[root@hadoop-senior ~]# cd /opt/modules/hive-0.13.1/conf/[root@hadoop-senior conf]# lshive-default.xml.template hive-env.sh hive-exec-log4j.properties.template hive-log4j.propertie... 阅读全文
posted @ 2019-04-19 10:44 米兰的小铁將 阅读(1429) 评论(0) 推荐(0)