久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <small id='5POm8'></small><noframes id='5POm8'>

  • <tfoot id='5POm8'></tfoot>

        <i id='5POm8'><tr id='5POm8'><dt id='5POm8'><q id='5POm8'><span id='5POm8'><b id='5POm8'><form id='5POm8'><ins id='5POm8'></ins><ul id='5POm8'></ul><sub id='5POm8'></sub></form><legend id='5POm8'></legend><bdo id='5POm8'><pre id='5POm8'><center id='5POm8'></center></pre></bdo></b><th id='5POm8'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='5POm8'><tfoot id='5POm8'></tfoot><dl id='5POm8'><fieldset id='5POm8'></fieldset></dl></div>

        <legend id='5POm8'><style id='5POm8'><dir id='5POm8'><q id='5POm8'></q></dir></style></legend>

        • <bdo id='5POm8'></bdo><ul id='5POm8'></ul>
      1. kafka-connect-jdbc:SQLException:僅在使用分布式模式時沒

        kafka-connect-jdbc : SQLException: No suitable driver only when using distributed mode(kafka-connect-jdbc:SQLException:僅在使用分布式模式時沒有合適的驅動程序)

              <tbody id='ur2Mh'></tbody>
            <i id='ur2Mh'><tr id='ur2Mh'><dt id='ur2Mh'><q id='ur2Mh'><span id='ur2Mh'><b id='ur2Mh'><form id='ur2Mh'><ins id='ur2Mh'></ins><ul id='ur2Mh'></ul><sub id='ur2Mh'></sub></form><legend id='ur2Mh'></legend><bdo id='ur2Mh'><pre id='ur2Mh'><center id='ur2Mh'></center></pre></bdo></b><th id='ur2Mh'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='ur2Mh'><tfoot id='ur2Mh'></tfoot><dl id='ur2Mh'><fieldset id='ur2Mh'></fieldset></dl></div>
            <legend id='ur2Mh'><style id='ur2Mh'><dir id='ur2Mh'><q id='ur2Mh'></q></dir></style></legend>
                <bdo id='ur2Mh'></bdo><ul id='ur2Mh'></ul>

                <tfoot id='ur2Mh'></tfoot>
                • <small id='ur2Mh'></small><noframes id='ur2Mh'>

                • 本文介紹了kafka-connect-jdbc:SQLException:僅在使用分布式模式時沒有合適的驅動程序的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我們已經成功地使用了 mySQL - 使用 jdbc 獨立連接器的 kafka 數據攝取,但現在面臨在分布式模式下使用相同的問題(作為 kafka 連接服務).

                  We have successfully used mySQL - kafka data ingestion using jdbc standalone connector but now facing issue in using the same in distributed mode (as kafka connect service ).

                  connect-distributed.properties 文件-

                  connect-distributed.properties file-

                  bootstrap.servers=IP1:9092,IP2:9092
                  group.id=connect-cluster
                  key.converter.schemas.enable=true
                  value.converter.schemas.enable=true
                  offset.storage.topic=connect-offsets
                  offset.storage.replication.factor=2
                  config.storage.topic=connect-configs
                  config.storage.replication.factor=2
                  status.storage.topic=connect-status
                  status.storage.replication.factor=2
                  offset.flush.interval.ms=10000
                  plugin.path=/usr/share/java,/usr/share/java/kafka-connect-jdbc
                  

                  我有我的連接器罐子-

                  /usr/share/java/kafka-connect-jdbc
                  
                  -rw-r--r-- 1 root root  906708 Jul 29 01:18 zookeeper-3.4.13.jar
                  -rw-r--r-- 1 root root   74798 Jul 29 01:18 zkclient-0.10.jar
                  -rw-r--r-- 1 root root 5575351 Jul 29 01:18 sqlite-jdbc-3.8.11.2.jar
                  -rw-r--r-- 1 root root   41203 Jul 29 01:18 slf4j-api-1.7.25.jar
                  -rw-r--r-- 1 root root  658466 Jul 29 01:18 postgresql-9.4-1206-jdbc41.jar
                  -rw-r--r-- 1 root root 1292696 Jul 29 01:18 netty-3.10.6.Final.jar
                  -rw-r--r-- 1 root root  489884 Jul 29 01:18 log4j-1.2.17.jar
                  -rw-r--r-- 1 root root  211219 Jul 29 01:18 kafka-connect-jdbc-5.0.0.jar
                  -rw-r--r-- 1 root root  317816 Jul 29 01:18 jtds-1.3.1.jar
                  -rw-r--r-- 1 root root   87325 Jul 29 01:18 jline-0.9.94.jar
                  -rw-r--r-- 1 root root   20844 Jul 29 01:18 common-utils-5.0.0.jar
                  -rw-r--r-- 1 root root   20437 Jul 29 01:18 audience-annotations-0.5.0.jar
                  -rw-r----- 1 root root 2132635 Nov 11 16:31 mysql-connector-java-8.0.13.jar
                  

                  我可以通過這種方式運行腳本來運行獨立模式-

                  I am able to run the standalone mode by running the script in this way-

                  /usr/bin/connect-standalone /etc/kafka/connect-standalone.properties /etc/kafka-connect-jdbc/source-quickstart-mysql.properties
                  

                  但是當我嘗試調用 REST API 來運行分布式模式連接器時,出現錯誤:

                  But when I try to invoke the REST API to run a distributed mode connector , I get the error:

                  curl -X POST -H "Accept:application/json" -H "Content-Type:application/json" X.X.X.X:8083/connectors/ -d '{"name": "linuxemp-connector", "config": { "connector.class": "io.confluent.connect.jdbc.JdbcSourceConnector", "tasks.max": "1", "connection.url": "jdbc:mysql://Y.Y.Y.Y:3306/linux_db?user=groot&password=pwd","table.whitelist": "emp","mode": "timestamp","incrementing.column.name":"empid","topic.prefix": "mysqlconnector-" } }'
                  

                  錯誤-

                  {"error_code":400,"message":"Connector configuration is invalid and contains the following 2 error(s):\nInvalid value java.sql.SQLException: No suitable driver found for jdbc:mysql://Y.Y.Y.Y:3306/linux_db?user=groot&password=pwd for configuration Couldn't open connection to jdbc:mysql://Y.Y.Y.Y:3306/linux_db?user=groot&password=pwd\nInvalid value java.sql.SQLException: No suitable driver found for jdbc:mysql://Y.Y.Y.Y:3306/linux_db?user=groot&password=pwd for configuration Couldn't open connection to jdbc:mysql://Y.Y.Y.Y:3306/linux_db?user=groot&password=pwd\nYou can also find the above list of errors at the endpoint `/{connectorType}/config/validate`"}
                  

                  注意-連接器 jars 放置在所有連接節點上,plugin.path 在所有連接節點上都相同,并且 kafka-connect 服務已啟動并運行.

                  note- connector jars are placed on all connect nodes , plugin.path is same on all connect nodes and kafka-connect service is up and running .

                  我錯過了什么?為什么我無法提交 REST 調用來啟動此 mysql 管道的分布式連接工作器/任務?這在獨立模式下非常有效.但是在分布式模式下拋出錯誤.

                  What am I missing ? Why am I not able to submit REST call to start a distributed connect worker/task for this mysql pipeline ? This works absolutely fine with standalone mode . But throws error with distributed mode .

                  請幫忙!

                  謝謝!

                  推薦答案

                  通過修復以下問題,問題得到解決 -

                  By fixing below things, the issue got resolved -

                  1.修改/usr/share/java/kafka-connect-jdbc/mysql-connector-java-8.0.13.jar的權限為7552.在插件路徑中只保留/usr/share/java.

                  1.Changed permissions of /usr/share/java/kafka-connect-jdbc/mysql-connector-java-8.0.13.jar to 755 2.Keep only /usr/share/java in plugin path.

                  3.更改我的sql表結構,使其具有一個主鍵和一個具有增量性質或時間戳的列屬性.

                  3.Change my sql table structure to have one primary key and one column property with incremental nature or timestamp.

                  這篇關于kafka-connect-jdbc:SQLException:僅在使用分布式模式時沒有合適的驅動程序的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How to use windowing functions efficiently to decide next N number of rows based on N number of previous values(如何有效地使用窗口函數根據 N 個先前值來決定接下來的 N 個行)
                  reuse the result of a select expression in the quot;GROUP BYquot; clause?(在“GROUP BY中重用選擇表達式的結果;條款?)
                  Does ignore option of Pyspark DataFrameWriter jdbc function ignore entire transaction or just offending rows?(Pyspark DataFrameWriter jdbc 函數的 ignore 選項是忽略整個事務還是只是有問題的行?) - IT屋-程序員軟件開發技
                  Error while using INSERT INTO table ON DUPLICATE KEY, using a for loop array(使用 INSERT INTO table ON DUPLICATE KEY 時出錯,使用 for 循環數組)
                  pyspark mysql jdbc load An error occurred while calling o23.load No suitable driver(pyspark mysql jdbc load 調用 o23.load 時發生錯誤 沒有合適的驅動程序)
                  How to integrate Apache Spark with MySQL for reading database tables as a spark dataframe?(如何將 Apache Spark 與 MySQL 集成以將數據庫表作為 Spark 數據幀讀取?)
                  <i id='IxTWP'><tr id='IxTWP'><dt id='IxTWP'><q id='IxTWP'><span id='IxTWP'><b id='IxTWP'><form id='IxTWP'><ins id='IxTWP'></ins><ul id='IxTWP'></ul><sub id='IxTWP'></sub></form><legend id='IxTWP'></legend><bdo id='IxTWP'><pre id='IxTWP'><center id='IxTWP'></center></pre></bdo></b><th id='IxTWP'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='IxTWP'><tfoot id='IxTWP'></tfoot><dl id='IxTWP'><fieldset id='IxTWP'></fieldset></dl></div>
                    <bdo id='IxTWP'></bdo><ul id='IxTWP'></ul>

                    <legend id='IxTWP'><style id='IxTWP'><dir id='IxTWP'><q id='IxTWP'></q></dir></style></legend>
                      <tbody id='IxTWP'></tbody>
                    • <small id='IxTWP'></small><noframes id='IxTWP'>

                        1. <tfoot id='IxTWP'></tfoot>

                          • 主站蜘蛛池模板: 日韩电影一区 | 亚洲一区二区电影在线观看 | 亚洲精品久久久一区二区三区 | 日本公妇乱淫xxxⅹ 国产在线不卡 | 91精品久久 | 久久婷婷国产香蕉 | 成年免费大片黄在线观看岛国 | 亚洲一二三区在线观看 | 黄色片在线| 国产精品久久久久久吹潮 | 日本三级电影免费 | 午夜免费在线电影 | 亚洲欧美中文日韩在线v日本 | 一级二级三级黄色 | 久久精品色视频 | 成人福利网站 | 久草视频网站 | 亚洲欧美日韩久久 | 日韩欧美手机在线 | 亚洲精品欧美 | 日韩精品在线看 | 国产91丝袜在线18 | 午夜精品久久久久久不卡欧美一级 | 欧美区在线| 日韩视频在线观看一区二区 | 日韩一区二区在线播放 | 日韩欧美视频网站 | 国产毛片久久久 | 精品久久国产视频 | 日韩一级免费大片 | 亚洲成年人免费网站 | 久久久久国产精品一区二区 | 亚洲视频一区在线观看 | 国产乱码精品一区二三赶尸艳谈 | 国产精品久久久久国产a级 欧美日本韩国一区二区 | 毛片一区二区 | 国产日韩一区二区三免费高清 | 国产精品色 | 成人在线精品 | 中文字幕亚洲欧美 | 日本在线播放一区二区 |