Accumulo
  1. Accumulo
  2. ACCUMULO-764

stack overflow when starting tablet server after recent java update to 1.6.0_35

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.1
    • Fix Version/s: 1.4.2, 1.5.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Java 1.6.0_35 on a macbook pro running Mountain Lion

      Description

      Thread "tserver" died null
      java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.apache.accumulo.start.Main$1.run(Main.java:89)
              at java.lang.Thread.run(Thread.java:680)
      Caused by: java.lang.StackOverflowError
              at java.util.HashMap.put(HashMap.java:370)
              at java.util.HashSet.add(HashSet.java:200)
              at java.lang.ClassLoader.checkPackageAccess(ClassLoader.java:336)
              at java.lang.ClassLoader.defineClass1(Native Method)
              at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
              at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
              at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
              at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
              at java.lang.ClassLoader.defineClass1(Native Method)
              at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
              at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
              at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
              at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
              at java.lang.ClassLoader.defineClass1(Native Method)
              at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
              at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
              at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
              at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
              at java.lang.ClassLoader.defineClass1(Native Method)
              at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
              at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
              at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
              at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
              at org.apache.commons.configuration.BaseConfiguration.<init>(BaseConfiguration.java:54)
              at org.apache.commons.configuration.AbstractFileConfiguration.<init>(AbstractFileConfiguration.java:117)
              at org.apache.commons.configuration.AbstractHierarchicalFileConfiguration$FileConfigurationDelegate.<init>(AbstractHierarchicalFileConfiguration.java:439)
              at org.apache.commons.configuration.XMLConfiguration$XMLFileConfigurationDelegate.<init>(XMLConfiguration.java:1279)
              at org.apache.commons.configuration.XMLConfiguration$XMLFileConfigurationDelegate.<init>(XMLConfiguration.java:1279)
              at org.apache.commons.configuration.XMLConfiguration.createDelegate(XMLConfiguration.java:788)
              at org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.initialize(AbstractHierarchicalFileConfiguration.java:134)
              at org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.<init>(AbstractHierarchicalFileConfiguration.java:61)
              at org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.<init>(AbstractHierarchicalFileConfiguration.java:102)
              at org.apache.commons.configuration.XMLConfiguration.<init>(XMLConfiguration.java:226)
              at org.apache.accumulo.server.metrics.MetricsConfiguration.loadConfiguration(MetricsConfiguration.java:155)
              at org.apache.accumulo.server.metrics.MetricsConfiguration.getMetricsConfiguration(MetricsConfiguration.java:138)
              at org.apache.accumulo.server.metrics.MetricsConfiguration.<init>(MetricsConfiguration.java:106)
              at org.apache.accumulo.server.metrics.AbstractMetricsImpl.<init>(AbstractMetricsImpl.java:112)
              at org.apache.accumulo.server.tabletserver.TabletServer.<init>(TabletServer.java:225)
              at org.apache.accumulo.server.tabletserver.TabletServer.main(TabletServer.java:3120)
              ... 6 more
      

        Activity

        Hide
        John Vines added a comment -

        Apparently an Xss purge was already committed.

        Show
        John Vines added a comment - Apparently an Xss purge was already committed.
        Hide
        Keith Turner added a comment -

        I think we should remove this stack size setting. It was added to make mlock work properly, but I do not think anyone is using mlock.

        Show
        Keith Turner added a comment - I think we should remove this stack size setting. It was added to make mlock work properly, but I do not think anyone is using mlock.
        Hide
        Adam Fuchs added a comment -

        Workaround: change ACCUMULO_TSERVER_OPTS in conf/accumulo-env.sh to use -Xss256k instead of -Xss128k.

        Show
        Adam Fuchs added a comment - Workaround: change ACCUMULO_TSERVER_OPTS in conf/accumulo-env.sh to use -Xss256k instead of -Xss128k.

          People

          • Assignee:
            Unassigned
            Reporter:
            Adam Fuchs
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development