国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

flink寫mysql報錯Could not retrieve transation read-only status server

這篇具有很好參考價值的文章主要介紹了flink寫mysql報錯Could not retrieve transation read-only status server。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

事務(wù)隔離級別前提下還是報錯

SET GLOBAL tx_isolation='READ-COMMITTED';

?flink寫mysql報錯Could not retrieve transation read-only status server

?show global variables like 'wait timeout';

發(fā)現(xiàn)mysql是8小時。如果flnk超過8小時沒有發(fā)送數(shù)據(jù),invoke將會導(dǎo)致

mysql主動斷開連接,而java側(cè)并無感知。

解決問題,在使用connect前,判斷當(dāng)前connect是否可用。

不可用重新創(chuàng)建鏈接即可。

寫法:借鑒FlinkJdbc再重試次數(shù)內(nèi)check當(dāng)前connect的寫法。也可以用durid池寫法。

flink寫mysql報錯Could not retrieve transation read-only status server文章來源地址http://www.zghlxwxcb.cn/news/detail-469237.html

到了這里,關(guān)于flink寫mysql報錯Could not retrieve transation read-only status server的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • IDEA Git 報錯could not read from remote repository

    IDEA Git 報錯could not read from remote repository

    Git:could not read from remote repository。 首先再git后臺,檢查是否有對應(yīng)工程的權(quán)限 1? 檢查idea工程project目錄下的.git文件夾下的.config文件,origin配置是否正確 打開.config文件,url有兩種方式:https的方式、ssh的方式, 檢查對應(yīng)的url是否正確 2 如果正確,請配置ssh 密鑰,網(wǎng)上隨便

    2024年02月08日
    瀏覽(31)
  • git pull 報錯 could not read from remote repository解決

    git pull 報錯 remote: Your account has been blocked. fatal: could not read from remote repository。一般是SSH的形式clone的倉庫,權(quán)限被更改了。 如下步驟解決: 重新 生成 gitLabKey 并應(yīng)用: ? ? ? ?? ? ? ? ? step 1: ? ? 使用命令 ssh-keygen -t rsa -b 2048 -C \\\"lvl@svtc.com\\\" ? ? ? ?? ? ? ? ? step 2: ? ? 出現(xiàn)

    2024年02月16日
    瀏覽(21)
  • 使用nvm安裝node報錯,Could not retrieve https://nodejs.org/dist/latest/SHASUMS256.txt. Get “https://nodej

    使用nvm安裝node報錯,Could not retrieve https://nodejs.org/dist/latest/SHASUMS256.txt. Get “https://nodej

    在使用nvm安裝node時,會遇到安裝失敗的情況,如下圖所示: 打開nvm目錄下的setting.tet文件 在文件中添加以下內(nèi)容: 保存文件并關(guān)閉 使用nvm安裝node,如 nvm install 版本號 這樣,就可以成功安裝node了。

    2024年02月19日
    瀏覽(26)
  • git報錯:Permission denied (publickey). fatal: Could not read from remote repository.

    git報錯:Permission denied (publickey). fatal: Could not read from remote repository.

    背景 :由于新?lián)Q了電腦,新裝了git,所以在用git拉取代碼的時候就出現(xiàn)了標(biāo)題一樣的錯誤 ternimal下出現(xiàn)下面錯誤: Permissiondenied (publickey). fatal:Could not read from remote repository. Pleasemake sure you have the correct access rights and the repository exists. 分析原因 : 原因是由于你在本地(或者服務(wù)

    2024年02月05日
    瀏覽(28)
  • git克隆報錯:Permission denied (publickey).fatal: Could not read from remote repository解決辦法

    git克隆報錯:Permission denied (publickey).fatal: Could not read from remote repository解決辦法

    Permission denied (publickey).fatal: Could not read from remote repository 1、問題解決首先參考文章 例如:缺少公鑰解決辦法 2、生成公鑰報錯 ssh-keygen -t rsa -C ‘郵箱’ 生成公鑰時,報錯如下: 解決辦法: 需要換到C盤的C:UsersASUS.ssh目錄下,再右鍵Git Bash Here 輸入命令: ssh-keygen -t rsa -C \\\'

    2024年02月04日
    瀏覽(26)
  • Git 報錯:Connection closed by remote host. fatal: Could not read from remote repository.

    1、背景: 今天部署到GitHub時,出現(xiàn)此錯誤。昨天還正常,今天突然這樣。 2、詳細(xì)錯誤信息: 3、解析錯誤信息: 錯誤信息翻譯成中文后: 通過以上可知: 系統(tǒng)連接不到GitHub,因此無法用SSH密鑰進行識別。 ---- 說明是網(wǎng)絡(luò)問題。 4、實踐探索 - 解決過程: 出現(xiàn)錯誤的時候,

    2024年02月07日
    瀏覽(49)
  • jenkins 報錯fatal:could not read Username for ‘XXX‘:No such device or address

    #原因:機器做遷移,或者斷電,遇到突發(fā)情況 #解決: 一.排查HOME和USER環(huán)境變量 可以在項目執(zhí)行shell腳本的時候echo $HOME和USER 也可以在構(gòu)建記錄位置點擊compare environment 對比兩次構(gòu)建的環(huán)境變量 二.查看指定節(jié)點的git憑證 查看家目錄下cat .git* 三.重啟jenkins salve節(jié)點 (按此方法

    2024年02月09日
    瀏覽(21)
  • [git]報錯fatal: ‘origin‘ does not appear to be a git repository Could not read from remote repository

    [git]報錯fatal: ‘origin‘ does not appear to be a git repository Could not read from remote repository

    問題1: ? fatal: \\\'origin\\\' does not appear to be a git repository fatal: Could not read from remote repository. 說明庫是有的,但是沒辦法push。所以重新關(guān)聯(lián)一下。 解決方法: 輸入以下代碼, 這是因為本地的分支沒有和遠(yuǎn)程分支建立聯(lián)系,需要執(zhí)行以下代碼就可以正常 push 了 ? 問題2: ? fatal:

    2024年02月09日
    瀏覽(29)
  • android studio 提示錯誤 “Operation is not supported for read-only collection“

    Android studio從長頸鹿升級到 新版本小刺猬 ,之后 新建項目build 一個小時之后運行,竟然提示如下錯誤, wtf,嘗試過 新建項目,clean項目,重新build ,清除as 緩存等方法都還是在運行時出現(xiàn)錯誤提示, 猜測是新舊版本存在不兼容的地方,具體哪里也不好定位了, 最后使用重置大

    2024年01月24日
    瀏覽(18)
  • es報錯[FORBIDDEN/12/index read-only / allow delete (api)]

    es磁盤滿了 put 請求 http://loclahost:9200/_settings

    2024年02月15日
    瀏覽(24)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包