Compilation Errors


(pulkitsinghal) #1

I was a bit surprised when ES downloaded the gradle binary required to
run the build but that further validates how much thought and effort
has been put behind making everything smooth ... kudos!

What is my motivation behind building from source? I want to get
involved and understand the core in order to contribute some equally
great features back to to the source :slight_smile:

But something is off as I am seeing compilation problems like:
elasticsearch/master/modules/elasticsearch/src/main/java/org/
elasticsearch/common/Strings.java:24:
package org.elasticsearch.common.trove.set.hash does not exist
import org.elasticsearch.common.trove.set.hash.THashSet;
...
100 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':elasticsearch:compileJava'.
Cause: Compile failed; see the compiler error output for details.

I did a vanilla clone of the master repo, but I've been known to make
mistakes ... any suggestions on what a newbie might do differently to
make this work?


(pulkitsinghal) #2

Nevermind, I suppose where maven is involved, it is often best to
simply retry :slight_smile:
The 2nd time it ran to completion, I don't know why it didn't complain
about the missing download the 1st time ... shrug

Download http://elasticsearch.googlecode.com/svn/maven/org/elasticsearch/es-trove/3.0.0/es-trove-3.0.0.jar

Thanks!

  • Pulkit

On Dec 5, 9:50 am, pulkitsinghal pulkitsing...@gmail.com wrote:

I was a bit surprised when ES downloaded the gradle binary required to
run the build but that further validates how much thought and effort
has been put behind making everything smooth ... kudos!

What is my motivation behind building from source? I want to get
involved and understand the core in order to contribute some equally
great features back to to the source :slight_smile:

But something is off as I am seeing compilation problems like:
elasticsearch/master/modules/elasticsearch/src/main/java/org/
elasticsearch/common/Strings.java:24:
package org.elasticsearch.common.trove.set.hash does not exist
import org.elasticsearch.common.trove.set.hash.THashSet;
...
100 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':elasticsearch:compileJava'.
Cause: Compile failed; see the compiler error output for details.

I did a vanilla clone of the master repo, but I've been known to make
mistakes ... any suggestions on what a newbie might do differently to
make this work?


(system) #3