HBase
  1. HBase
  2. HBASE-10607

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

    Details

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

        Activity

        Andrew Purtell created issue -
        Andrew Purtell made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        stack made changes -
        Attachment 10607.txt [ 12672245 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development