Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10607

[JDK8] NoSuchMethodError involving ConcurrentHashMap.keySet if running on JRE 7

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Trivial
    • Resolution: Invalid
    • None
    • 2.0.0
    • None
    • None

    Description

      If you try running HBase built with Java 8 on a Java 7 JRE, then processes will fail early with:

      java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
      

      I came across this incidentally. I suppose we should consider documenting this in the manual in the Troubleshooting section.

      Attachments

        1. 10607.txt
          2 kB
          Michael Stack

        Activity

          People

            Unassigned Unassigned
            apurtell Andrew Kyle Purtell
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: