摘要:
if(StringUtils.isEmpty(token)){ response.setCharacterEncoding("UTF-8"); response.setContentType("application/json; charset=utf-8"); PrintWriter out = 阅读全文
摘要:
一、1.1(关键)映射配置(亲测可用) import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.ResourceHand 阅读全文
摘要:
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= 阅读全文
摘要:
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 阅读全文
摘要:
1.启动集群 ./start-all.sh 2.启动hiveserver2 hiveserver2 3.简单工具类 import org.junit.After; import org.junit.Before; import org.junit.Test; import java.sql.*; / 阅读全文
摘要:
原因:集群时间不一致造成的 解决:同步集群时间即可 阅读全文
摘要:
错误原因: namenode内存空间不够,JVM剩余内存空间不够新job运行所致 解决办法: 将hive设置成本地模式来执行任务 set hive.exec.mode.local.auto=true; 阅读全文
摘要:
1.启动spark SQL时,报错: Caused by: org.datanucleus.store.rdbms.connectionpool.DatastoreDriverNotFoundException: The specified datastore driver ("com.mysql. 阅读全文
摘要:
报错信息: Exception in thread "main" java.lang.RuntimeException: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolut 阅读全文
摘要:
1.安装配置hadoopj集群 https://www.cnblogs.com/zhangjiahao/p/10992171.html 2.安装配置zookeeper https://www.cnblogs.com/zhangjiahao/p/11768898.html 3.安装配置hbase 1. 阅读全文