为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
- 【TiDB 版本】:3.1
- 【问题描述】:TiSpark读tidb表报错
tispark:2.1.8
spark:2.4.0
hadoop:2.6
Exception in thread “main” java.lang.NoSuchMethodError: com.google.common.primitives.UnsignedLong.fromLongBits(J)Lcom/google/common/primitives/UnsignedLong;
at com.pingcap.tispark.statistics.StatisticsHelper$.shouldUpdateHistogram(StatisticsHelper.scala:151)
at com.pingcap.tispark.statistics.StatisticsHelper$.shouldUpdateHistogram(StatisticsHelper.scala:137)
at com.pingcap.tispark.statistics.StatisticsManager$.com$pingcap$tispark$statistics$StatisticsManager$$putOrUpdateTblStats(StatisticsManager.scala:193)
at com.pingcap.tispark.statistics.StatisticsManager$$anonfun$loadStatsFromStorage$1.apply(StatisticsManager.scala:166)