Major problems running the server on my workstation

Hi,

I'm having some major problems running the server on my workstation for
testing (my workstation is a Mac with 12GB of memory).

If I try to start the server via the service, it says "Waiting for
Elasticsearch..." and then prints a series of dots. The server never
starts. I find the following error in the service.log file:

"WrapperSimpleApp Error: Unable to locate the class
org.elasticsearch.bootstrap.ElasticSearchF :
java.lang.ClassNotFoundException:
org.elasticsearch.bootstrap.ElasticSearchF"

I do not know what the missing class is or why it is missing. I installed
everything according to the documentation.

If I try to start Elasticsearch without the service (bin/elasticsearch -f),
it does start. However, the first time I try to do anything substantial,
such as index a document, I get a "java.lang.OutOfMemoryError: Java heap
space" error, and the server crashes. I tried increasing the memory
allocation in the bin/service/elasticsearch.conf file, but this had no
effect (which I assume is because I'm not launching it via the service).

I don't really need the service, I just need to get something running
temporarily in order to do testing.

I could not find any information about any of these errors in the
Elasticsearch documentation. Any help would be appreciated. Thanks.

Frank

Lets start from the service wrapper, what you do use the latest service
wrapper with elasticsearch 0.18.x, the latest servicewrapper supports 0.19.

Regarding the OOM. When you run ES using the bin/elasticsearch script, all
the memory and settings exists in the elasticsearch.in.sh file, not the
servicewrapper one. By default though, the max memory is 1gb, so its
strange that for indexing a single doc you get OOM. What exactly are you
indexing?

On Thu, May 17, 2012 at 6:26 PM, Frank LaRosa frank@studyblue.com wrote:

Hi,

I'm having some major problems running the server on my workstation for
testing (my workstation is a Mac with 12GB of memory).

If I try to start the server via the service, it says "Waiting for
Elasticsearch..." and then prints a series of dots. The server never
starts. I find the following error in the service.log file:

"WrapperSimpleApp Error: Unable to locate the class
org.elasticsearch.bootstrap.ElasticSearchF :
java.lang.ClassNotFoundException:
org.elasticsearch.bootstrap.ElasticSearchF"

I do not know what the missing class is or why it is missing. I installed
everything according to the documentation.

If I try to start Elasticsearch without the service (bin/elasticsearch
-f), it does start. However, the first time I try to do anything
substantial, such as index a document, I get a "java.lang.OutOfMemoryError:
Java heap space" error, and the server crashes. I tried increasing the
memory allocation in the bin/service/elasticsearch.conf file, but this had
no effect (which I assume is because I'm not launching it via the service).

I don't really need the service, I just need to get something running
temporarily in order to do testing.

I could not find any information about any of these errors in the
Elasticsearch documentation. Any help would be appreciated. Thanks.

Frank