Comments (3)
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. PleaseReply to this email directly or view it on GitHub:
#2
from snowflake.
Try installing thrift from http://thrift.apache.org/
from snowflake.
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)
- Duplicate id HOT 4
- how to construct worker id maper ,please help me ,thank u
- Maven build failed HOT 2
- puts "client_test.rb <count> <servers> <agent>" HOT 1
- One bit not used HOT 1
- Write a 'getting started' documentation HOT 2
- SnowflakeClient should watch ZooKeeper to get hostname and port
- simple question. How to start snowflake server.... HOT 1
- Failed to parse plugin descriptor for com.twitter:maven-build-properties-plugin:0.0.2
- Make new snowflake Twitter agnostic and opensource HOT 7
- isn't this prone to duplicate IDs ? HOT 1
- Is the ID value fixed length? HOT 1
- Unique ID under concurrency HOT 1
- another porbem . Thank you for the trouble you have go to HOT 2
- Snowflake server crashes if client send malform request HOT 9
- Dependency error, while running 'sbt update' HOT 4
- Duplicate ids possible if clock moves backwards HOT 5
- A quick question about new IDs. HOT 2
- can not build by maven HOT 36
- dumb q: how to start? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snowflake.