Code Monkey home page Code Monkey logo

Comments (3)

xianxu avatar xianxu commented on September 15, 2024

Seems you don't have thrift on your path?

Sent from my iPhone

On Mar 21, 2011, at 1:58 AM, [email protected] wrote:

Use SBT and update successed . but Failure to compile .
The error informations are as follows:
[error] Error running auto-compile-thrift-java: java.io.IOException: Cannot run program "thrift": java.io.IOException: error=2, No such file or directory
[error] Error running auto-compile-thrift-ruby: java.io.IOException: Cannot run program "thrift": java.io.IOException: error=2, No such file or directory
How to Solve This Problem?
thank u for read
The novice needs to help. Please

Reply to this email directly or view it on GitHub:
#2

from snowflake.

ryanking avatar ryanking commented on September 15, 2024

Try installing thrift from http://thrift.apache.org/

from snowflake.

Nyu2Y avatar Nyu2Y commented on September 15, 2024

thank u . the answer is right .

and i find a website which tell us how to Installing Snowflake . i think it is a valuable resource for me .

  • Here are the prerequisites:
  • Java 6 (1.6)
  • sbt (simple-build-tool) – http://code.google.com/p/simple-build-tool/
  • thrift – http://incubator.apache.org/thrift/
  • The install process is fairly straightforward:
  • Clone the repo: git clone http://github.com/twitter/snowflake.git
  • Edit project/build.properties to use sbt.version=0.7.4
  • sbt update
  • sbt compile
  • sbt test
  • Copy one of the configs into
    * /etc: cp config/development2.conf
    * /etc/unknown.conf
    Or you can also just use ‘sbt run -f config/development2.conf’.
  • Edit the conf and add a unique worker ID: worker_id = 1
  • In the conf: skip_sanity_checks = false
  • sbt run
  • When you run the client like so:
    ------------------------------------------------------------------------------
    RUBYLIB=./target/gen-rb ./src/scripts/client_test.rb 1
    “192.168.0.103:7610,192.168.0.109:7610″ test-on
    -----------------------------------------------------------------------------
  • You should get something like this:
    ------------------------------------------------------------------------------
    557299556602089472 test-on 1
    ------------------------------------------------------------------------------
  • [read in the original]
  • http://www.codebelay.com/blog/2010/06/06/installing-snowflake/
    - Moreover, I will thank all the people who helped me.
    xianxu, ryanking, barc, and crazyfox3 . thank u

from snowflake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.