程式提交至spark運行,一開始運行正常隨后越來越慢直到一直卡死,有時報錯
java.io.IOException: Could not set up IO Streams to hostname/ip:60020
但總是后臺一直告警:告警如下
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=24ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20128ms, replay=24ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=12ops, last exception: java.io.IOException: Couldn't setup connection for xxxxr@COM to hbase/hostname@COM on hostname,60020,1588212757580, tracking started null, retrying after=20129ms, replay=12ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=27ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20024ms, replay=27ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=21ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20152ms, replay=21ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=26ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20142ms, replay=26ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=31ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20161ms, replay=31ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=27ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20025ms, replay=27ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=22ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20171ms, replay=22ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=18ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20094ms, replay=18ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=19ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20009ms, replay=19ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=25ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20156ms, replay=25ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=22ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20019ms, replay=22ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=18ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20127ms, replay=18ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=21ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20188ms, replay=21ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=32ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20074ms, replay=32ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=22ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20118ms, replay=22ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=26ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20085ms, replay=26ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=22ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20003ms, replay=22ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=21ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20196ms, replay=21ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=24ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20044ms, replay=24ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=28ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20073ms, replay=28ops
INFO AsyncProcess: #16, table=xxxxxxxxxx, attempt=20/35 failed=24ops, last exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: This connection is closing on hostname,60020,1588212757580, tracking started null, retrying after=20097ms, replay=24ops
20/07/29 09:05:21 WARN UserGroupInformation: PriviledgedActionException as:xxxxr@COM(auth:KERBEROS) cause:org.apache.hadoop.ipc.RemoteException(javax.security.sasl.SaslException): GSS initiate failed
20/07/29 09:05:21 WARN UserGroupInformation: PriviledgedActionException as:xxxxr@COM(auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7) - UNKNOWN_SERVER)]
頻繁出現,最后直到報錯
uj5u.com熱心網友回復:
認證錯誤 是不是憑證檔案不對uj5u.com熱心網友回復:
應該不是,要是keytab檔案 應該一開始就報錯不會執行一段時間后報錯,對了同時問一下table.put(putLists); putLists.clear()這個方式運行,會出現丟失資料現象,請問您有什么方法可以實作零丟失嗎?轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/9477.html
標籤:Spark
