Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-19987

HBaseDynamicTableFactoryTest.testTableSourceFactory failed with "NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V"

    XMLWordPrintableJSON

    Details

      Description

      https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=9020&view=logs&j=ba53eb01-1462-56a3-8e98-0dd97fbcaab5&t=bfbc6239-57a0-5db0-63f3-41551b4f7d51

      
      2020-11-04T22:30:58.3273231Z testTableSourceFactory(org.apache.flink.connector.hbase1.HBaseDynamicTableFactoryTest) Time elapsed: 0.894 sec <<< ERROR! 2020-11-04T22:30:58.3274285Z org.apache.flink.table.api.ValidationException: 2020-11-04T22:30:58.3274931Z Unable to create a source for reading table 'default.default.t1'. 2020-11-04T22:30:58.3275159Z 2020-11-04T22:30:58.3275364Z Table options are: 2020-11-04T22:30:58.3275523Z 2020-11-04T22:30:58.3275882Z 'connector'='hbase-1.4' 2020-11-04T22:30:58.3276283Z 'table-name'='testHBastTable' 2020-11-04T22:30:58.3276712Z 'zookeeper.quorum'='localhost:2181' 2020-11-04T22:30:58.3277158Z 'zookeeper.znode.parent'='/flink' 2020-11-04T22:30:58.3277553Z at org.apache.flink.table.factories.FactoryUtil.createTableSource(FactoryUtil.java:125) 2020-11-04T22:30:58.3278358Z at org.apache.flink.connector.hbase1.HBaseDynamicTableFactoryTest.createTableSource(HBaseDynamicTableFactoryTest.java:332) 2020-11-04T22:30:58.3279046Z at org.apache.flink.connector.hbase1.HBaseDynamicTableFactoryTest.testTableSourceFactory(HBaseDynamicTableFactoryTest.java:104) 2020-11-04T22:30:58.3279623Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2020-11-04T22:30:58.3280067Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2020-11-04T22:30:58.3280703Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2020-11-04T22:30:58.3281149Z at java.lang.reflect.Method.invoke(Method.java:498) 2020-11-04T22:30:58.3281615Z at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) 2020-11-04T22:30:58.3282135Z at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) 2020-11-04T22:30:58.3282637Z at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 2020-11-04T22:30:58.3283151Z at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) 2020-11-04T22:30:58.3283749Z at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:239) 2020-11-04T22:30:58.3284221Z at org.junit.rules.RunRules.evaluate(RunRules.java:20) 2020-11-04T22:30:58.3284624Z at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) 2020-11-04T22:30:58.3285091Z at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) 2020-11-04T22:30:58.3285590Z at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) 2020-11-04T22:30:58.3286053Z at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) 2020-11-04T22:30:58.3286487Z at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) 2020-11-04T22:30:58.3286911Z at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) 2020-11-04T22:30:58.3287348Z at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) 2020-11-04T22:30:58.3287779Z at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) 2020-11-04T22:30:58.3288262Z at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 2020-11-04T22:30:58.3288721Z at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367) 2020-11-04T22:30:58.3289254Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274) 2020-11-04T22:30:58.3289781Z at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) 2020-11-04T22:30:58.3290312Z at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161) 2020-11-04T22:30:58.3291103Z at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290) 2020-11-04T22:30:58.3291649Z at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242) 2020-11-04T22:30:58.3292158Z at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121) 2020-11-04T22:30:58.3292703Z Caused by: java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V 2020-11-04T22:30:58.3293230Z at org.apache.hadoop.conf.Configuration.set(Configuration.java:1357) 2020-11-04T22:30:58.3293876Z at org.apache.hadoop.conf.Configuration.set(Configuration.java:1338) 2020-11-04T22:30:58.3294441Z at org.apache.flink.connector.hbase1.HBase1DynamicTableFactory.createDynamicTableSource(HBase1DynamicTableFactory.java:113) 2020-11-04T22:30:58.3295032Z at org.apache.flink.table.factories.FactoryUtil.createTableSource(FactoryUtil.java:122) 2020-11-04T22:30:58.3295401Z ... 28 more
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rmetzger Robert Metzger
                Reporter:
                dian.fu Dian Fu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: