久久久久久久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:僅在使用分布式模式時(shí)沒

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

              <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:僅在使用分布式模式時(shí)沒有合適的驅(qū)動(dòng)程序的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

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

                  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
                  

                  我可以通過這種方式運(yùn)行腳本來運(yùn)行獨(dú)立模式-

                  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
                  

                  但是當(dāng)我嘗試調(diào)用 REST API 來運(yùn)行分布式模式連接器時(shí),出現(xiàn)錯(cuò)誤:

                  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-" } }'
                  

                  錯(cuò)誤-

                  {"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 放置在所有連接節(jié)點(diǎn)上,plugin.path 在所有連接節(jié)點(diǎn)上都相同,并且 kafka-connect 服務(wù)已啟動(dòng)并運(yùn)行.

                  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 .

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

                  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 .

                  請幫忙!

                  謝謝!

                  推薦答案

                  通過修復(fù)以下問題,問題得到解決 -

                  By fixing below things, the issue got resolved -

                  1.修改/usr/share/java/kafka-connect-jdbc/mysql-connector-java-8.0.13.jar的權(quán)限為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表結(jié)構(gòu),使其具有一個(gè)主鍵和一個(gè)具有增量性質(zhì)或時(shí)間戳的列屬性.

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

                  這篇關(guān)于kafka-connect-jdbc:SQLException:僅在使用分布式模式時(shí)沒有合適的驅(qū)動(dòng)程序的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  How to use windowing functions efficiently to decide next N number of rows based on N number of previous values(如何有效地使用窗口函數(shù)根據(jù) N 個(gè)先前值來決定接下來的 N 個(gè)行)
                  reuse the result of a select expression in the quot;GROUP BYquot; clause?(在“GROUP BY中重用選擇表達(dá)式的結(jié)果;條款?)
                  Does ignore option of Pyspark DataFrameWriter jdbc function ignore entire transaction or just offending rows?(Pyspark DataFrameWriter jdbc 函數(shù)的 ignore 選項(xiàng)是忽略整個(gè)事務(wù)還是只是有問題的行?) - IT屋-程序員軟件開發(fā)技
                  Error while using INSERT INTO table ON DUPLICATE KEY, using a for loop array(使用 INSERT INTO table ON DUPLICATE KEY 時(shí)出錯(cuò),使用 for 循環(huán)數(shù)組)
                  pyspark mysql jdbc load An error occurred while calling o23.load No suitable driver(pyspark mysql jdbc load 調(diào)用 o23.load 時(shí)發(fā)生錯(cuò)誤 沒有合適的驅(qū)動(dòng)程序)
                  How to integrate Apache Spark with MySQL for reading database tables as a spark dataframe?(如何將 Apache Spark 與 MySQL 集成以將數(shù)據(jù)庫表作為 Spark 數(shù)據(jù)幀讀取?)
                  <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>

                          • 主站蜘蛛池模板: 99视频免费观看 | 日韩精品久久久 | 黄色小视频免费观看 | 99re视频| 日韩一区二区三区在线播放 | 亚洲成人免费 | 四虎在线免费视频 | 国内精品国产成人国产三级 | 欧美在线免费观看 | 欧美一级精品 | 成人少妇影院yyyy | 久久er99热精品一区二区 | 欧美a一级 | 久久91精品 | 精品黄色片 | 国产精品一区二区三 | 少妇福利视频 | 午夜久久久久久久 | 一区二区三区在线免费观看 | 超碰国产在线 | 欧美特黄视频 | 成人免费视频一区二区 | 日韩成人精品 | 日韩一区二区在线视频 | 欧美做爰xxxⅹ性欧美大片 | 免费在线a | 国产免费一区二区三区最新不卡 | 天天色影院 | 91视频在线免费观看 | 91精品国产日韩91久久久久久 | 亚洲成人免费网站 | 日本视频一区二区三区 | 黄色小视频免费观看 | 黄色91网站| 亚洲一区在线看 | 国产一区二区三区精品视频 | 欧美专区第一页 | 亚洲第一黄网 | 激情久久av | 亚洲成色www.777999| 日韩在线视频观看 |