Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: Streaming Connectors
    • Labels:
      None

      Description

      In the thread 'Help using HBase with Flink 1.1.4', Giuliano reported seeing:

      java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
      

      The above has been solved by HBASE-14963

      hbase 1.3.0 is being released.

      We should upgrade hbase dependency to 1.3.0

        Issue Links

          Activity

          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user tedyu opened a pull request:

          https://github.com/apache/flink/pull/3235

          FLINK-5517 Upgrade hbase version to 1.3.0

          In the thread 'Help using HBase with Flink 1.1.4', Giuliano reported seeing:
          ```
          java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
          ```
          The above has been solved by HBASE-14963

          Upgrading to hbase 1.3.0 release would give better user experience.

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/tedyu/flink master

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/flink/pull/3235.patch

          To close this pull request, make a commit to your master/trunk branch
          with (at least) the following in the commit message:

          This closes #3235


          commit b11e691e379760fec9bad6376ee277b5ed4c1912
          Author: tedyu <yuzhihong@gmail.com>
          Date: 2017-01-30T00:44:04Z

          FLINK-5517 Upgrade hbase version to 1.3.0


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user tedyu opened a pull request: https://github.com/apache/flink/pull/3235 FLINK-5517 Upgrade hbase version to 1.3.0 In the thread 'Help using HBase with Flink 1.1.4', Giuliano reported seeing: ``` java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class org.apache.hadoop.hbase.zookeeper.MetaTableLocator ``` The above has been solved by HBASE-14963 Upgrading to hbase 1.3.0 release would give better user experience. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tedyu/flink master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/3235.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3235 commit b11e691e379760fec9bad6376ee277b5ed4c1912 Author: tedyu <yuzhihong@gmail.com> Date: 2017-01-30T00:44:04Z FLINK-5517 Upgrade hbase version to 1.3.0
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user tzulitai commented on the issue:

          https://github.com/apache/flink/pull/3235

          Thank you for looking into this @tedyu.

          In the ML(http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Help-using-HBase-with-Flink-1-1-4-td11094.html), Giuliano has also reported that the upgrade fixes the problem.

          +1 to merge.

          Show
          githubbot ASF GitHub Bot added a comment - Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/3235 Thank you for looking into this @tedyu. In the ML( http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Help-using-HBase-with-Flink-1-1-4-td11094.html ), Giuliano has also reported that the upgrade fixes the problem. +1 to merge.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user rmetzger commented on the issue:

          https://github.com/apache/flink/pull/3235

          Has anybody of you tested flink against hbase with the 1.3.0 version?
          Is Hbase 1.3.0 adding any new dependencies?
          I'm asking because its a major version change, which is likely to cause some issues.

          Show
          githubbot ASF GitHub Bot added a comment - Github user rmetzger commented on the issue: https://github.com/apache/flink/pull/3235 Has anybody of you tested flink against hbase with the 1.3.0 version? Is Hbase 1.3.0 adding any new dependencies? I'm asking because its a major version change, which is likely to cause some issues.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user tzulitai commented on the issue:

          https://github.com/apache/flink/pull/3235

          I can look into this tomorrow and check.

          Show
          githubbot ASF GitHub Bot added a comment - Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/3235 I can look into this tomorrow and check.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user tzulitai commented on the issue:

          https://github.com/apache/flink/pull/3235

          From the Maven dependency tree, there seems to be no additional dependencies for 1.3.0. Quick check on the compile dependencies of 1.3.0 and original 1.2.3 in Maven central, they're identical.

          Tested against HBase 1.3.0 with code in `org.apache.flink.addons.hbase.example.HBaseWriteExample`, both in IDE and cluster submission. No errors were observed.

          I think it's a safe upgrade.

          Show
          githubbot ASF GitHub Bot added a comment - Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/3235 From the Maven dependency tree, there seems to be no additional dependencies for 1.3.0. Quick check on the compile dependencies of 1.3.0 and original 1.2.3 in Maven central, they're identical. Tested against HBase 1.3.0 with code in `org.apache.flink.addons.hbase.example.HBaseWriteExample`, both in IDE and cluster submission. No errors were observed. I think it's a safe upgrade.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user rmetzger commented on the issue:

          https://github.com/apache/flink/pull/3235

          Sounds good, thank you for testing it!

          +1 to merge then

          Show
          githubbot ASF GitHub Bot added a comment - Github user rmetzger commented on the issue: https://github.com/apache/flink/pull/3235 Sounds good, thank you for testing it! +1 to merge then
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user tzulitai commented on the issue:

          https://github.com/apache/flink/pull/3235

          Merging to `master`

          Show
          githubbot ASF GitHub Bot added a comment - Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/3235 Merging to `master`
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

          https://github.com/apache/flink/pull/3235

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/flink/pull/3235
          Show
          tzulitai Tzu-Li (Gordon) Tai added a comment - Resolved for master via http://git-wip-us.apache.org/repos/asf/flink/commit/d007ac5

            People

            • Assignee:
              yuzhihong@gmail.com Ted Yu
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development