You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by "stdnt-xiao (via GitHub)" <gi...@apache.org> on 2023/05/06 14:54:55 UTC
[GitHub] [linkis] stdnt-xiao commented on issue #1398: [Bug] 异常提示“queryDbsWithTables”,后台搜不到这些关键字(Error message "queryDbsWithTables", background search can not find these keywords)
stdnt-xiao commented on issue #1398:
URL: https://github.com/apache/linkis/issues/1398#issuecomment-1537158806
1.Find error at logs/linkis-ps-publicservice.log.
![image](https://user-images.githubusercontent.com/20313983/236631050-a8575ab2-d01f-4874-bac3-bc2cae6ebde4.png)
2.Resolvent
vim conf/linkis-ps-publicservice.properties
```
##hive meta
hive.meta.url=jdbc:mysql://192.168.1.34:3306/hive?useSSL=false&characterEncoding=UTF-8&allowMultiQueries=true&useAffectedRows=true
```
sbin/linkis-daemon.sh restart cg-engineconnmanager
3.Analysis
vim deploy-config/db.sh
```
### Provide the DB information of Hive metadata database.
**### Attention! If there are special characters like "&", they need to be enclosed in quotation marks.**
HIVE_META_URL="jdbc:mysql://ip:port/hive?useSSL=false&characterEncoding=UTF-8&allowMultiQueries=true&useAffectedRows=true"
```
Note:
You may need to transfer the processing. For example, the templates mode of ansible.
```
HIVE_META_URL="jdbc:mysql://{{ hostvars[groups['mysql'][0]].ansible_ssh_host }}:{{ MYSQL_PORT }}/hive?useSSL=false\&characterEncoding=UTF-8\&allowMultiQueries=true\&useAffectedRows=true"
```
--
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