[ https://issues.apache.org/jira/browse/FLINK-21006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17269787#comment-17269787 ]
Jark Wu commented on FLINK-21006: --------------------------------- The set() method of Hadoop Configuration calls Predication.checkArgument, see: https://github.com/apache/hadoop/blob/branch-3.1.3/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java#L1357 Hadoop upgrades guave to 27.0-jre in 3.x, see: https://issues.apache.org/jira/browse/HADOOP-16213 Hive also encountered this problem, and fix this by using guava 27.0-jre, see: https://issues.apache.org/jira/browse/HIVE-22915 I think the problem maybe we have a guava conflicts in the testing environment. > HBaseTablePlanTest tests failed in haoop 3.1.3 with > "java.lang.NoSuchMethodError: > com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V" > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: FLINK-21006 > URL: https://issues.apache.org/jira/browse/FLINK-21006 > Project: Flink > Issue Type: Bug > Components: Connectors / HBase, Table SQL / Ecosystem > Affects Versions: 1.13.0 > Reporter: Huang Xingbo > Assignee: WeiNan Zhao > Priority: Critical > Labels: pull-request-available, test-stability > Fix For: 1.13.0 > > > [https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=12159&view=logs&j=ba53eb01-1462-56a3-8e98-0dd97fbcaab5&t=bfbc6239-57a0-5db0-63f3-41551b4f7d51] > {code:java} > 2021-01-15T22:48:58.1843544Z Caused by: java.lang.NoSuchMethodError: > com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V > 2021-01-15T22:48:58.1844358Z at > org.apache.hadoop.conf.Configuration.set(Configuration.java:1357) > 2021-01-15T22:48:58.1845035Z at > org.apache.hadoop.conf.Configuration.set(Configuration.java:1338) > 2021-01-15T22:48:58.1845805Z at > org.apache.flink.connector.hbase.options.HBaseOptions.getHBaseConfiguration(HBaseOptions.java:157) > 2021-01-15T22:48:58.1846960Z at > org.apache.flink.connector.hbase1.HBase1DynamicTableFactory.createDynamicTableSource(HBase1DynamicTableFactory.java:73) > 2021-01-15T22:48:58.1848020Z at > org.apache.flink.table.factories.FactoryUtil.createTableSource(FactoryUtil.java:119) > 2021-01-15T22:48:58.1848574Z ... 49 more > {code} > The exception seems that the different version of guava caused. > -- This message was sent by Atlassian Jira (v8.3.4#803005)