【 TiDB 使用环境】生产环境
【 TiDB 版本】v6.5.3
2024-12-25 10:25:25 [main] ERROR SparkSQLEngine:88 - Failed to instantiate SparkSession: Multiple entries with same key: perio_scan_process_orig=table_id: 12961
columns {
column_id: 1
tp: 15
collation: -46
columnLen: 20
decimal: 0
flag: 4097
default_val: "\000"
pk_handle: false
}
columns {
column_id: 2
tp: 10
collation: -63
columnLen: 10
decimal: 0
flag: 128
default_val: "\000"
pk_handle: false
}
columns {
column_id: 3
tp: 10
collation: -63
columnLen: 10
decimal: 0
flag: 128
default_val: "\000"
pk_handle: false
}
columns {
column_id: 4
tp: 3
collation: -63
columnLen: 11
decimal: 0
flag: 0
default_val: "\000"
pk_handle: false
}
and perio_scan_process_orig=table_id: 12958
columns {
column_id: 1
tp: 15
collation: -46
columnLen: 20
decimal: 0
flag: 4097
default_val: "\000"
pk_handle: false
}
columns {
column_id: 2
tp: 10
collation: -63
columnLen: 10
decimal: 0
flag: 128
default_val: "\000"
pk_handle: false
}
columns {
column_id: 3
tp: 10
collation: -63
columnLen: 10
decimal: 0
flag: 128
default_val: "\000"
pk_handle: false
}
columns {
column_id: 4
tp: 3
collation: -63
columnLen: 11
decimal: 0
flag: 0
default_val: "\000"
pk_handle: false
}
java.lang.IllegalArgumentException: Multiple entries with same key: perio_scan_process_orig=table_id: 12961
columns {
column_id: 1
tp: 15
collation: -46
columnLen: 20
decimal: 0
flag: 4097
default_val: "\000"
pk_handle: false
}
columns {
column_id: 2
tp: 10
collation: -63
columnLen: 10
decimal: 0
flag: 128
default_val: "\000"
pk_handle: false
}
columns {
column_id: 3
tp: 10
collation: -63
columnLen: 10
decimal: 0
flag: 128
default_val: "\000"
pk_handle: false
}
columns {
column_id: 4
tp: 3
collation: -63
columnLen: 11
decimal: 0
flag: 0
default_val: "\000"
pk_handle: false
}
and perio_scan_process_orig=table_id: 12958
columns {
column_id: 1
tp: 15
collation: -46
columnLen: 20
decimal: 0
flag: 4097
default_val: "\000"
pk_handle: false
}
columns {
column_id: 2
tp: 10
collation: -63
columnLen: 10
decimal: 0
flag: 128
default_val: "\000"
pk_handle: false
}
columns {
column_id: 3
tp: 10
collation: -63
columnLen: 10
decimal: 0
flag: 128
default_val: "\000"
pk_handle: false
}
columns {
column_id: 4
tp: 3
collation: -63
columnLen: 11
decimal: 0
flag: 0
default_val: "\000"
pk_handle: false
}
出现的原因好像是tispark长时间连接tidb。