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

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

      <legend id='6Psjq'><style id='6Psjq'><dir id='6Psjq'><q id='6Psjq'></q></dir></style></legend>

      1. <tfoot id='6Psjq'></tfoot>

        <small id='6Psjq'></small><noframes id='6Psjq'>

          <bdo id='6Psjq'></bdo><ul id='6Psjq'></ul>

      2. 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)程序)

              <bdo id='Nib8m'></bdo><ul id='Nib8m'></ul>

              <small id='Nib8m'></small><noframes id='Nib8m'>

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

                  <tbody id='Nib8m'></tbody>
                  <legend id='Nib8m'><style id='Nib8m'><dir id='Nib8m'><q id='Nib8m'></q></dir></style></legend>

                • 本文介紹了kafka-connect-jdbc:SQLException:僅在使用分布式模式時(shí)沒有合適的驅(qū)動(dòng)程序的處理方法,對大家解決問題具有一定的參考價(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)程序的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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ù)幀讀取?)

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

                        <legend id='tmqPB'><style id='tmqPB'><dir id='tmqPB'><q id='tmqPB'></q></dir></style></legend>
                          <bdo id='tmqPB'></bdo><ul id='tmqPB'></ul>

                            <small id='tmqPB'></small><noframes id='tmqPB'>

                              <tbody id='tmqPB'></tbody>
                          • <i id='tmqPB'><tr id='tmqPB'><dt id='tmqPB'><q id='tmqPB'><span id='tmqPB'><b id='tmqPB'><form id='tmqPB'><ins id='tmqPB'></ins><ul id='tmqPB'></ul><sub id='tmqPB'></sub></form><legend id='tmqPB'></legend><bdo id='tmqPB'><pre id='tmqPB'><center id='tmqPB'></center></pre></bdo></b><th id='tmqPB'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='tmqPB'><tfoot id='tmqPB'></tfoot><dl id='tmqPB'><fieldset id='tmqPB'></fieldset></dl></div>
                            主站蜘蛛池模板: 亚洲一区二区三区在线播放 | 亚洲欧美综合精品久久成人 | 久久国产99 | 一级毛片大全免费播放 | av黄色片 | 久久综合一区 | 国产成人av在线播放 | 日本在线免费视频 | av性色全交蜜桃成熟时 | 成人午夜网站 | 天堂综合 | 欧美激情国产日韩精品一区18 | 亚洲在线 | 宅女噜噜66国产精品观看免费 | 欧美福利 | 日本电影网站 | 欧美 日韩 综合 | 亚洲顶级毛片 | 久久精品一区二区三区四区 | 亚洲欧美国产一区二区三区 | 黄色欧美大片 | 在线欧美激情 | 九九久久国产 | 波多野结衣一区二区三区在线观看 | 亚洲精品一区二区 | 国产精品免费看 | 一区二区精品视频 | av日日操 | 操皮视频 | 羞羞视频网站 | 综合久| 日本不卡免费新一二三区 | 一区二区三区视频 | 欧美成人aaa级毛片在线视频 | 欧美小视频在线观看 | 狠狠做六月爱婷婷综合aⅴ 国产精品视频网 | 国产精品日女人 | 国产91久久精品一区二区 | 久久久久99| 亚洲成人精品久久 | h视频在线观看免费 |