Thrift compiling the Java problem

Source: Internet
Author: User

The last Post said thrift compiled Java error, because only used in the CPP version, will skip this. But the old version of the YCSB is not very useful, so decided to locall the way to compile Mapkeeper for the latest version YCSB use. Currently based on

Https://github.com/brianfrankcooper/YCSB/pull/262/files

Https://github.com/baonguyen84/YCSB

, a copy of the jar file that was compiled in the thrift under Mapkeeper is installed into the (name, second link above) YCSB and can be used.

Therefore, this post is to compile the Java version of the error to resolve.

1. Suspicion is the thrift version of the issue. The installed version is 0.9.2, and an estimated 0.8.0 version is required.

First, Ll/usr/local/cuda-8.0/lib64/usr/lib/x86_64-linux-gnu/libfakeroot/usr/local/lib/lib/x86_64-linux-gnu/usr/lib /x86_64-linux-gnu/usr/lib/nvidia-375/usr/lib32/nvidia-375/lib32/usr/lib32/lib/usr/lib |grep Thrift

Found there are many thrift packages, and many are 0.9.2 versions, these are manually installed, after making uninstall in the 0.9.2 version, most of them are removed, and make is present again under Mapkeeper Thrift made:/usr/ Local/bin/thrift:command not found error.

Then remove the others manually (directory/usr/local/lib)

2. The problem of loading 0.8.0

First,

Thrift compiling the Java problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.