"[PARTIALLY SOLVED] Problem Running RapidAnalytics on Amazon EC2"

yakito
yakito New Altair Community Member
edited November 2024 in Community Q&A
Hello,

I am trying to set up RapidMiner and RapidAnalytics on an amazon ec2 instance. Everything went smooth during the installation of both, RapidMiner runs perfect, but when I try to start the RapidAnalytics server with the following command:
sudo sh run.sh
I get the usual log data and it halts on a specific line (listed below) then I get a
Killed
line

This is the last info the log gives me before killing the start

18:42:15,127 INFO  [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1f7b41b: defining beans [cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,
org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,
org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,
org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,
org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,
org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,
org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,
org.apache.cxf.service.factory.FactoryBeanListenerManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry,
org.apache.cxf.binding.http.HttpBindingFactory,org.apache.cxf.binding.object.ObjectBindingFactory,
org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,
org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.binding.xml.XMLBindingFactory,
org.apache.cxf.jaxws.context.WebServiceContextResourceResolver,org.apache.cxf.jaxws.context.WebServiceContextImpl,
org.apache.cxf.management.InstrumentationManager,org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,
org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder,org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider,
org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory,
org.apache.cxf.transport.jms.JMSTransportFactory,org.apache.cxf.transport.local.LocalTransportFactory,
org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder,org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider,
org.apache.cxf.ws.addressing.policy.UsingAddressingAssertionBuilder,org.apache.cxf.ws.policy.AssertionBuilderRegistry,
org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistry,org.apache.cxf.ws.policy.attachment.external.DomainExpressionBuilderRegistry,
org.apache.cxf.ws.policy.attachment.external.EndpointReferenceDomainExpressionBuilder,org.apache.cxf.ws.policy.PolicyBuilder,
org.apache.cxf.ws.policy.PolicyEngine,org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider,
org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider,org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder,
org.apache.cxf.ws.policy.mtom.MTOMPolicyInterceptorProvider,org.apache.cxf.ws.rm.RMManager,
org.apache.cxf.ws.rm.policy.RMPolicyInterceptorProvider,org.apache.cxf.ws.rm.policy.RMAssertionBuilder,
org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader,org.jboss.wsf.stack.cxf.addons.transports.httpserver.HttpServerTransportFactory];
root of factory hierarchy
Killed
Any tip on what can be the problem as there is no error message or anything.

Thanks a lot!

Answers

  • yakito
    yakito New Altair Community Member
    OK, I found the answer to the "killed" error.

    It looks like the small linux ubuntu instance with 1.7GB of memory is not enough to start the RapidAnalytics server (though I am not sure why its not enough) but I tried running the same image into a medium instance and it worked fine so I am assuming there is an issue with the RAM.

    This setup increases my costs, so I will use it know to get out of the hurry while I try to understand why the small instance is not working.
  • fischer
    fischer New Altair Community Member
    Hi,

    whether 1.7GB is enough depends on what you configured in the installer. You can always edit run.conf (search for the -Xmx switch) and to assign RAM to RAl.

    Best,
    Simon

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.