DataStax Help Center

OpsCenter 5.1.0 snapshots to AWS S3 failing

Summary

Some OpsCenter 5.1.0 backups fail when the snapshots are written to an AWS S3 datastore.

Symptoms

The backups fail with the following error message in one of the target cluster nodes' agent.log:

 INFO [10.12.34.56] 2015-02-11 14:01:23,456 HTTP: :put /agent-conf {} - 200
ERROR [10.12.34.56] 2015-02-11 14:01:23,789 Unhandled route Exception: clojure.lang.Compiler$CompilerException: java.lang.ClassFormatError: Invalid method Code length 81858 in class file clojure/core$eval69, compiling:(NO_SOURCE_PATH:0:0)
                     Compiler.java:6567 clojure.lang.Compiler.analyzeSeq
                     Compiler.java:6361 clojure.lang.Compiler.analyze
                     Compiler.java:6616 clojure.lang.Compiler.eval
                     Compiler.java:6608 clojure.lang.Compiler.eval
                     Compiler.java:6582 clojure.lang.Compiler.eval
                          core.clj:2852 clojure.core/eval
                          routes.clj:58 opsagent.http.routes/fn
                            core.clj:94 compojure.core/make-route[fn]
                            core.clj:40 compojure.core/if-route[fn]
                            core.clj:25 compojure.core/if-method[fn]
                           core.clj:107 compojure.core/routing[fn]
                          core.clj:2443 clojure.core/some
                           core.clj:107 compojure.core/routing
                        RestFn.java:139 clojure.lang.RestFn.applyTo
                           core.clj:619 clojure.core/apply
                           core.clj:112 compojure.core/routes[fn]
                           Var.java:415 clojure.lang.Var.invoke
                      middleware.clj:93 opsagent.http.middleware/wrap-application-error[fn]
                      middleware.clj:75 opsagent.http.middleware/wrap-content-type[fn]
                     middleware.clj:112 opsagent.http.middleware/wrap-content-error[fn]
                      middleware.clj:31 opsagent.http.middleware/wrap-request-logging[fn]
                      middleware.clj:17 opsagent.http.middleware/wrap-opscenter-id-check[fn]
                     middleware.clj:123 opsagent.http.middleware/wrap-version-header[fn]
                  keyword_params.clj:32 ring.middleware.keyword-params/wrap-keyword-params[fn]
                          params.clj:58 ring.middleware.params/wrap-params[fn]
                           jetty.clj:19 opsagent.http.jetty/proxy-handler[fn]
                       (Unknown Source) opsagent.http.jetty.proxy$org.eclipse.jetty.server.handler.AbstractHandler$0.handle
                HandlerWrapper.java:111 org.eclipse.jetty.server.handler.HandlerWrapper.handle
                        Server.java:349 org.eclipse.jetty.server.Server.handle
        AbstractHttpConnection.java:452 org.eclipse.jetty.server.AbstractHttpConnection.handleRequest
        AbstractHttpConnection.java:894 org.eclipse.jetty.server.AbstractHttpConnection.content
        AbstractHttpConnection.java:948 org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content
                    HttpParser.java:857 org.eclipse.jetty.http.HttpParser.parseNext
                    HttpParser.java:235 org.eclipse.jetty.http.HttpParser.parseAvailable
            AsyncHttpConnection.java:76 org.eclipse.jetty.server.AsyncHttpConnection.handle
         SelectChannelEndPoint.java:609 org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle
          SelectChannelEndPoint.java:45 org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run
              QueuedThreadPool.java:599 org.eclipse.jetty.util.thread.QueuedThreadPool.runJob
              QueuedThreadPool.java:534 org.eclipse.jetty.util.thread.QueuedThreadPool$3.run
                        Thread.java:744 java.lang.Thread.run
Caused by: java.lang.ClassFormatError: Invalid method Code length 81858 in class file clojure/core$eval69
                       (Unknown Source) java.lang.ClassLoader.defineClass1
                   ClassLoader.java:800 java.lang.ClassLoader.defineClass
                   ClassLoader.java:643 java.lang.ClassLoader.defineClass
             DynamicClassLoader.java:46 clojure.lang.DynamicClassLoader.defineClass
                     Compiler.java:4663 clojure.lang.Compiler$ObjExpr.getCompiledClass
                     Compiler.java:3819 clojure.lang.Compiler$FnExpr.parse
                     Compiler.java:6558 clojure.lang.Compiler.analyzeSeq

Cause

A defect in OpsCenter 5.1.0 has been identified with internal ID [OPSC-4587].

Workaround

This issue only affects certain configurations. See below for a solution.

Solution

Defect ID [OPSC-4587] has been fixed. The defect only applies to certain configurations. For affected customers, please upgrade to OpsCenter 5.1.1.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk