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

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

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              apurtell Andrew Purtell
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: