当前位置: 首页 > news >正文

一个网站可以有几个域名四川专业网站建设

一个网站可以有几个域名,四川专业网站建设,网站做优化有什么用吗,如何下载免费直播软件datart读取hive数据时,需要先在datart的lib目录下导入hive jdbc相关的包,这里面有几个坑记录下: 1.和springboot中commons-lang3冲突 2.hive中带的jetty和springboot冲突 3.hive jdbc的包的版本号一定要小于登录hive服务端的版本&#xff…

  datart读取hive数据时,需要先在datart的lib目录下导入hive jdbc相关的包,这里面有几个坑记录下:

1.和springboot中commons-lang3冲突

2.hive中带的jetty和springboot冲突

3.hive jdbc的包的版本号一定要小于登录hive服务端的版本,否则会报Required field ‘client_protocol’ is unset的错误,在引入hive jdbc包的时候,要先查看hive的版本,具体方法:可以找到hive的安装目录 whereis hive,查看hive lib目录下相关包的版本或者执行hive后,通过查看日志得到hive的版本。

最后在导入包的时候,一个个导比较麻烦,而且针对jar包冲突请求也不好处理,所以新建了个项目将所需的包引入,使用maven-shade-plugin插件进行打包并对冲突了的jar包进行重命名,消除冲突,最后的pom文件如下:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"><modelVersion>4.0.0</modelVersion><groupId>org.example</groupId><artifactId>hive-dependency</artifactId><version>1.0-SNAPSHOT</version><properties><maven.compiler.source>8</maven.compiler.source><maven.compiler.target>8</maven.compiler.target><hive.version>1.1.0</hive.version></properties><dependencies><!-- https://mvnrepository.com/artifact/org.apache.hive/hive-jdbc --><dependency><groupId>org.apache.hive</groupId><artifactId>hive-jdbc</artifactId><version>${hive.version}</version></dependency><dependency><groupId>org.apache.hadoop</groupId><artifactId>hadoop-common</artifactId><version>2.6.0</version></dependency><dependency><groupId>org.apache.hadoop</groupId><artifactId>hadoop-client</artifactId><version>2.7.1</version></dependency><dependency><groupId>org.apache.hive</groupId><artifactId>hive-exec</artifactId><version>${hive.version}</version><exclusions><exclusion><artifactId>commons-lang3</artifactId><groupId>org.apache.commons</groupId></exclusion></exclusions></dependency></dependencies><build><plugins><plugin><artifactId>maven-compiler-plugin</artifactId><configuration><source>1.8</source><target>1.8</target><encoding>UTF-8</encoding></configuration></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-shade-plugin</artifactId><version>2.4.3</version><executions><execution><phase>package</phase><goals><goal>shade</goal></goals><configuration><filters><filter><artifact>*:*</artifact><excludes><exclude>META-INF/*.SF</exclude><exclude>META-INF/*.DSA</exclude><exclude>META-INF/*.RSA</exclude><exclude>org/eclipse/*</exclude></excludes></filter></filters><relocations><relocation><pattern>org.apache.commons.lang3</pattern><shadedPattern>org.apache.commons.hive.lang3</shadedPattern></relocation><relocation><pattern>org.eclipse.jetty</pattern><shadedPattern>org.eclipse.hive.jetty</shadedPattern></relocation><relocation><pattern>org.mortbay</pattern><shadedPattern>org.mortbay.hive</shadedPattern></relocation></relocations></configuration></execution></executions></plugin></plugins></build><repositories><repository><id>aliyun</id><!--            <mirrorOf>*</mirrorOf>--><name>spring-plugin</name><url>https://maven.aliyun.com/repository/spring-plugin</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></repository></repositories>
</project>

http://www.yayakq.cn/news/404975/

相关文章:

  • 太原市0元网站建设百度推广助手app下载
  • 域名备案网站名称绵阳欣城建设
  • 赤峰做网站的公司服务商平台登录入口
  • 河南电商网站开发wordpress商业化插件
  • 珠海网站优化盐城做网站
  • 网站开发课题开发背景恩施做网站公司
  • 如何做网站网页流程国外网站建设发展现状
  • 温州市网站建设公司网络营销是啥意思
  • 如何免费建购物网站wordpress dashicons
  • 招聘网站开发时间网站建设方案产业
  • 东莞网站建设的方案博采网络
  • 外贸英语 网站网站建设中 倒计时
  • 手机网页设计制作网站wordpress 兔
  • 常州网站价格公司网站建设一条龙
  • 东莞做网站首选企业铭什么网站做简历
  • 手机怎么打开自己做的网站wordpress 云服务器
  • 网站优化目标网站图片3d显示效果
  • 护肤品网站建设环境分析深圳公司排行榜
  • 个人公司网站模板网站开发江西
  • 制作商城网站模板创意极简logo
  • 珠海市企业网站制作品牌新乡门户网站建设方案
  • 建立个人网站的详细步骤阿里云clouder网站建设
  • 怎样写网站设计意义5188关键词平台
  • 外贸网站模板外贸网站建设互联网搜索引擎有哪些
  • 品牌建设再发力广州seo公司推荐
  • 电商网页制作教程网站怎么关键字优化
  • 网站运营编辑做什么的砀山推广公司
  • 在百度做网站推广怎么做学做网站要学哪些
  • 音乐网站开发编程语言协会网站建设哪里实惠
  • 网站做竞价经常会被攻击吗wordpress为什么放弃