"mvn clean package" failed when binding MapKeeper. #152

Closed
amber-zhang opened this Issue Dec 5, 2013 · 7 comments

Comments

Projects
None yet
8 participants
@amber-zhang

Hi,

When I ran "mvn clean package" to create project, I got this error when binding MapKeeper. Although I manually downloaded MapKeeper.jar and put it ./YCSB-master/mapkeeper/target, the error still occur. How can I fix the problem? thank you!

[INFO] YCSB Root ......................................... SUCCESS [0.689s]
[INFO] Core YCSB ......................................... SUCCESS [4.593s]
[INFO] Cassandra DB Binding .............................. SUCCESS [5.774s]
[INFO] HBase DB Binding .................................. SUCCESS [15.647s]
[INFO] Hypertable DB Binding ............................. SUCCESS [4.104s]
[INFO] DynamoDB DB Binding ............................... SUCCESS [5.083s]
[INFO] ElasticSearch Binding ............................. SUCCESS [7.186s]
[INFO] Infinispan DB Binding ............................. SUCCESS [29.247s]
[INFO] JDBC DB Binding ................................... SUCCESS [4.041s]
[INFO] Mapkeeper DB Binding .............................. FAILURE [1.477s]
[INFO] Mongo DB Binding .................................. SKIPPED
[INFO] OrientDB Binding .................................. SKIPPED
[INFO] Redis DB Binding .................................. SKIPPED
[INFO] Voldemort DB Binding .............................. SKIPPED
[INFO] YCSB Release Distribution Builder ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:18.023s
[INFO] Finished at: Thu Dec 05 05:17:52 EST 2013
[INFO] Final Memory: 125M/304M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project mapkeeper-binding: Could not resolve dependencies for project com.yahoo.ycsb:mapkeeper-binding:jar:0.1.4: Failed to collect dependencies at com.yahoo.mapkeeper:mapkeeper:jar:1.0: Failed to read artifact descriptor for com.yahoo.mapkeeper:mapkeeper:jar:1.0: Could not transfer artifact com.yahoo.mapkeeper:mapkeeper:pom:1.0 from/to mapkeeper-releases (https://raw.github.com/m1ch1/m1ch1-mvn-repo/master/releases): TransferFailedException: ClientProtocolException: The server failed to respond with a valid HTTP response -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :mapkeeper-binding

@cmatser

This comment has been minimized.

Show comment
Hide comment
@cmatser

cmatser Dec 5, 2013

Collaborator

Putting mapkeeper.jar in the target dir won't help. It needs to be in a maven repository on your local build machine. Or, in an external repository that your maven build can reference and pull into your local build machine's maven repository.

I just looked for this jar on the standard maven repositories and can't seem to find it. I do see it in my local maven repository. My guess is that it used to exist, but something changed and now it doesn't. I must have been able to grab it when it did.

My suggestion is to comment out the offending mapkeeper module... assuming you are not bench marking this server. I had to comment out the "infinispan" module for this reason. I couldn't get it to build, but I didn't need it. So, skip it.

You can find the modules listed in the top level pom.xml. Look for the "modules" section. A couple are already commented out. I think you only really need "core", "distribution", and the db modules you want to benchmark. I have only commented out the ones that prevented me from doing a full build...which for me was infinispan.

Chrisjan

Collaborator

cmatser commented Dec 5, 2013

Putting mapkeeper.jar in the target dir won't help. It needs to be in a maven repository on your local build machine. Or, in an external repository that your maven build can reference and pull into your local build machine's maven repository.

I just looked for this jar on the standard maven repositories and can't seem to find it. I do see it in my local maven repository. My guess is that it used to exist, but something changed and now it doesn't. I must have been able to grab it when it did.

My suggestion is to comment out the offending mapkeeper module... assuming you are not bench marking this server. I had to comment out the "infinispan" module for this reason. I couldn't get it to build, but I didn't need it. So, skip it.

You can find the modules listed in the top level pom.xml. Look for the "modules" section. A couple are already commented out. I think you only really need "core", "distribution", and the db modules you want to benchmark. I have only commented out the ones that prevented me from doing a full build...which for me was infinispan.

Chrisjan

@westonplatter

This comment has been minimized.

Show comment
Hide comment
@westonplatter

westonplatter Mar 23, 2014

Contributor

@amber-zhang Are you still have issues?

Contributor

westonplatter commented Mar 23, 2014

@amber-zhang Are you still have issues?

@algarecu

This comment has been minimized.

Show comment
Hide comment
@algarecu

algarecu Jun 28, 2014

Somehow I was able to reproduce this problem in my local ycsb. There is some quick workaround, so the easiest is commenting out the module if not needed as mentioned before in this set of posts.

Somehow I was able to reproduce this problem in my local ycsb. There is some quick workaround, so the easiest is commenting out the module if not needed as mentioned before in this set of posts.

@fomy

This comment has been minimized.

Show comment
Hide comment
@fomy

fomy Oct 24, 2014

I also get this error when binding mapkeeper. Just comment out it in pom.xml.

fomy commented Oct 24, 2014

I also get this error when binding mapkeeper. Just comment out it in pom.xml.

@panfengfeng

This comment has been minimized.

Show comment
Hide comment
@panfengfeng

panfengfeng Oct 28, 2014

In order to use YCSB to test levelDB, we should bind mapkeeper, so is there any ways to use YCSB to test the performance of leveldb???

In order to use YCSB to test levelDB, we should bind mapkeeper, so is there any ways to use YCSB to test the performance of leveldb???

lexibrent added a commit to lexibrent/YCSB that referenced this issue Dec 8, 2014

@sajithgem

This comment has been minimized.

Show comment
Hide comment
@sajithgem

sajithgem Dec 10, 2014

Commenting out MapKeeper in Modules worked for me as well.. Thanks..

Commenting out MapKeeper in Modules worked for me as well.. Thanks..

@busbey

This comment has been minimized.

Show comment
Hide comment
@busbey

busbey May 17, 2015

Collaborator

current build failures fixed by #210. getting things working again for leveldb will stay in #181.

Collaborator

busbey commented May 17, 2015

current build failures fixed by #210. getting things working again for leveldb will stay in #181.

@busbey busbey closed this May 17, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment