摘要: if(StringUtils.isEmpty(token)){ response.setCharacterEncoding("UTF-8"); response.setContentType("application/json; charset=utf-8"); PrintWriter out = 阅读全文
posted @ 2020-02-24 13:42 阿豪吖 阅读(6074) 评论(0) 推荐(1) 编辑
摘要: 一、1.1(关键)映射配置(亲测可用) import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.ResourceHand 阅读全文
posted @ 2020-01-17 11:34 阿豪吖 阅读(5363) 评论(0) 推荐(0) 编辑
摘要: 1.oracle单机中java程序连接的url url=jdbc:oracle:thin:@10.2.111.189:1521:orcl2.oracle集群中java程序连接的url url=jdbc:oracle:thin:@(description=(address_list=(address= 阅读全文
posted @ 2020-01-16 14:10 阿豪吖 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 1.安装yum源头 rpm -ivh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm yum info nginx yum install -y nginx2.启动n 阅读全文
posted @ 2019-12-26 14:18 阿豪吖 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 1.启动集群 ./start-all.sh 2.启动hiveserver2 hiveserver2 3.简单工具类 import org.junit.After; import org.junit.Before; import org.junit.Test; import java.sql.*; / 阅读全文
posted @ 2019-12-18 15:33 阿豪吖 阅读(2282) 评论(0) 推荐(0) 编辑
摘要: 原因:集群时间不一致造成的 解决:同步集群时间即可 阅读全文
posted @ 2019-12-18 00:29 阿豪吖 阅读(1058) 评论(0) 推荐(0) 编辑
摘要: 错误原因: namenode内存空间不够,JVM剩余内存空间不够新job运行所致 解决办法: 将hive设置成本地模式来执行任务 set hive.exec.mode.local.auto=true; 阅读全文
posted @ 2019-12-17 23:30 阿豪吖 阅读(2738) 评论(0) 推荐(0) 编辑
摘要: 1.启动spark SQL时,报错: Caused by: org.datanucleus.store.rdbms.connectionpool.DatastoreDriverNotFoundException: The specified datastore driver ("com.mysql. 阅读全文
posted @ 2019-12-16 23:49 阿豪吖 阅读(549) 评论(0) 推荐(0) 编辑
摘要: 报错信息: Exception in thread "main" java.lang.RuntimeException: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolut 阅读全文
posted @ 2019-11-27 23:41 阿豪吖 阅读(935) 评论(0) 推荐(0) 编辑
摘要: 1.安装配置hadoopj集群 https://www.cnblogs.com/zhangjiahao/p/10992171.html 2.安装配置zookeeper https://www.cnblogs.com/zhangjiahao/p/11768898.html 3.安装配置hbase 1. 阅读全文
posted @ 2019-11-05 01:10 阿豪吖 阅读(823) 评论(0) 推荐(0) 编辑