You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by GitBox <gi...@apache.org> on 2022/08/28 06:29:56 UTC

[GitHub] [incubator-linkis] denghaibin92 opened a new issue, #3118: [Question] NoSuchMethodError: com.google.common.base.Preconditions.checkArgument When excution hql

denghaibin92 opened a new issue, #3118:
URL: https://github.com/apache/incubator-linkis/issues/3118

   ### Before asking
   
   - [X] I have read the [How to ask for help](https://linkis.apache.org/community/how-to-ask-for-help) (我已阅读[如何寻求帮助](https://linkis.apache.org/zh-CN/community/how-to-ask-for-help)指引文档).
   
   
   ### Your environment
   
   <!-- Please describe the linkis version you are using and basic environment information -->
   <!-- 请描述您使用的linkis版本和基本环境信息 -->
   - Linkis version used: 1.1.1
   - Environment name and version:
   hadoop-3.2.4
   hive-3.1.2
   spark-3.2.1
   scala-2.12.2
   jdk 1.8.0_121
   
   
   ### Describe your questions
   
   <!-- Please describe your questions -->
   <!-- 请描述您的问题 -->
   Q1.  NoSuchMethodError: com.google.common.base.Preconditions.checkArgument When excution hql
   怀疑是guava 包冲突,hive 下的guava 版本是27 ,linkis 版本下的是30
   step1: 将linkis 下的guava 包替换hive guava 包,hive能成功运行,linkis 正常运行 ,提交linkis hql 任务失败
   step2:将hive 下的guava 包替换linkis guava 包,hive能成功运行,linkis 正常运行 提交linkis hql 任务,失败
   
   
   ### Eureka service list
   
   <!-- You can directly copy and paste the screenshot of the list of registered service instances displayed on the Eureka page here -->
   <!--  可以将Eureka页面显示的注册服务实例列表的的截图 直接复制并粘贴到这里。 粘贴后,会自动生成如下格式的url-->
   
   eg:![image](https://user-images.githubusercontent.com/7869972/183326205-381b4e30-c727-44ba-8197-9998da78b1e3.png)
   <img width="711" alt="企业微信截图_20220828133732" src="https://user-images.githubusercontent.com/86011086/187060806-0840081c-5902-48f8-8d9c-de3d793f3096.png">
   
   
   ### Some logs info or acctch file
   
   <!-- Please add the log in the following format, the key error log must be pasted in the code style, and the text as much as possible, the detailed log or other files can be dragged and uploaded as an attachment -->
   <!-- 请按如下格式 添加日志,关键错误日志请贴到[````log][````]之间,尽可能贴文字,详细日志或则其它文件,可以拖拽上传作为附件 -->
   
   linkis-xxx.log:
   ````log
   
   <!--日志文字贴到这里-->
   
   ````
   log file:
    <!-- 拖拽上传后,会自动生成如下示例格式的附件url -->
   [linkis-xxx.log](https://github.com/apache/incubator-linkis/files/9219529/yarn-error.log)
   [hive-log.zip](https://github.com/apache/incubator-linkis/files/9439198/hive-log.zip)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [incubator-linkis] denghaibin92 closed issue #3118: [Question] NoSuchMethodError: com.google.common.base.Preconditions.checkArgument When excution hql

Posted by GitBox <gi...@apache.org>.
denghaibin92 closed issue #3118: [Question] NoSuchMethodError: com.google.common.base.Preconditions.checkArgument When excution hql
URL: https://github.com/apache/incubator-linkis/issues/3118


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [incubator-linkis] denghaibin92 commented on issue #3118: [Question] NoSuchMethodError: com.google.common.base.Preconditions.checkArgument When excution hql

Posted by GitBox <gi...@apache.org>.
denghaibin92 commented on issue #3118:
URL: https://github.com/apache/incubator-linkis/issues/3118#issuecomment-1231107793

   原因:guava 版本冲突 
   ①、用hive 版本的guava替换linkis下的所有guava包
   ②、hive-exce 也依赖guava,将hive/lib 下的hive-exec-3.1.2.jar 包替换linkis以下两个目录
   LinkisInstall/lib/linkis-engineconn-plugins/hive/dist/v3.1.2/lib/hive-exec-3.1.2.jar                                          
   LinkisInstall/lib/linkis-public-enhancements/linkis-ps-metadatamanager/service/hive/hive-exec-2.3.3.jar
   
   如果集群安装了atlas,把atlas hook/hive 下的所有文件copy到下面目录
    /opt/linkis-1.1.1/LinkisInstall/lib/linkis-engineconn-plugins/hive/dist/v3.1.2/lib
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [incubator-linkis] github-actions[bot] commented on issue #3118: [Question] NoSuchMethodError: com.google.common.base.Preconditions.checkArgument When excution hql

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #3118:
URL: https://github.com/apache/incubator-linkis/issues/3118#issuecomment-1229390859

   :blush:  Welcome to the Apache Linkis (incubating) community!!
   We are glad that you are contributing by opening this issue.
   
   Please make sure to include all the relevant context.
   We will be here shortly.
   
   If you are interested in contributing to our website project, please let us know!
   You can check out our contributing guide on 
    :point_right:  [How to Participate in Project Contribution](https://linkis.apache.org/community/how-to-contribute).
    
   WeChat  Group:
   
   ![image](https://linkis.apache.org/Images/wedatasphere_contact_01.png)
   Mailing Lists:
   |name|description|Subscribe|Unsubscribe|archive|
   |:-----|:--------|:------|:-------|:-----|
   | [dev@linkis.apache.org](mailto:dev@linkis.apache.org) | community activity information | [subscribe](mailto:dev-subscribe@linkis.apache.org) | [unsubscribe](mailto:dev-unsubscribe@linkis.apache.org) | [archive](http://mail-archives.apache.org/mod_mbox/linkis-dev) |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org