07 2020 档案
摘要:1、在application.yml配置cache-enabled: true mybatis: config-location: classpath:/mybatis-config.xml, classpath:mybatis/mybatis-config.xml mapper-locations
阅读全文
摘要:1、idea使用sprak的时候,如果是java 工程中用scala写的类无法进行编译。 1、看是否安装了scala 2、看scala的版本和jdk的版本是否兼容(本人就是碰到了不兼容,所以scala进行了降级处理)
阅读全文
摘要:1、脚本化运行 大量的hive查询任务,如果用交互式shell来进行输入的话,显然效率及其低下,因此,生产中更多的是使用脚本化运行机制: 该机制的核心点是:hive可以用一次性命令的方式来执行给定的hql语句 hive -e "insert into table t_dest select * fr
阅读全文
摘要:1、mysql的安装,目的是存放hive的元数据 2、下载hive包,并进行解压 3、配置文件hive-site.xml <configuration> <property> <name>javax.jdo.option.ConnectionURL</name> <value>jdbc:mysql:
阅读全文
摘要:https://www.cnblogs.com/MWCloud/p/11346867.html
阅读全文