Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start scripts #7

Closed
johanoskarsson opened this issue Jun 7, 2012 · 5 comments
Closed

Start scripts #7

johanoskarsson opened this issue Jun 7, 2012 · 5 comments

Comments

@johanoskarsson
Copy link
Contributor

We don't have any easy way of starting up the open source version. Need to add some scripts for that.

@carrino
Copy link

carrino commented Jun 13, 2012

in the instructions it simply says: Start the collector and query daemon.

However I am running into some issues. When I run the following

java -cp zipkin-server_2.9.1-0.2.0-SNAPSHOT.jar com.twitter.zipkin.query.Main

I get the following error:
FAT 20120612-22:27:59.508: Error in config file: /etc/unknown.conf
FAT 20120612-22:27:59.508: java.io.FileNotFoundException: /etc/unknown.conf (No such file or directory)
FAT 20120612-22:27:59.508: at java.io.FileInputStream.open(Native Method)
FAT 20120612-22:27:59.508: at java.io.FileInputStream.(FileInputStream.java:106)
FAT 20120612-22:27:59.508: at scala.io.Source$.fromFile(Source.scala:91)
FAT 20120612-22:27:59.508: at scala.io.Source$.fromFile(Source.scala:76)
FAT 20120612-22:27:59.508: at com.twitter.util.Eval$$anonfun$1.apply(Eval.scala:144)
FAT 20120612-22:27:59.508: at com.twitter.util.Eval$$anonfun$1.apply(Eval.scala:144)
FAT 20120612-22:27:59.508: at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194)
FAT 20120612-22:27:59.508: at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194)
FAT 20120612-22:27:59.508: at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34)
FAT 20120612-22:27:59.508: at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:33)
FAT 20120612-22:27:59.508: at scala.collection.TraversableLike$class.map(TraversableLike.scala:194)
FAT 20120612-22:27:59.508: at scala.collection.mutable.WrappedArray.map(WrappedArray.scala:33)
FAT 20120612-22:27:59.508: at com.twitter.util.Eval.apply(Eval.scala:144)
FAT 20120612-22:27:59.508: at com.twitter.ostrich.admin.RuntimeEnvironment.loadConfig(RuntimeEnvironment.scala:226)
FAT 20120612-22:27:59.508: at com.twitter.ostrich.admin.RuntimeEnvironment.loadRuntimeConfig(RuntimeEnvironment.scala:252)
FAT 20120612-22:27:59.508: at com.twitter.zipkin.query.Main$.main(Main.scala:29)
FAT 20120612-22:27:59.508: at com.twitter.zipkin.query.Main.main(Main.scala)

I have tried a couple of things messing with build.properties and using -f config/query-dev.scala but everything I do i get an error at /etc/unkown.conf

@franklinhu
Copy link
Contributor

Can you try: -f zipkin-server/config/query-dev.scala

@carrino
Copy link

carrino commented Jun 13, 2012

I could have sworn I tried that. And I see it in my history. But yes, that seems to work. :)

@johanoskarsson
Copy link
Contributor Author

@carrino - if you put together a start script feel free to contribute it back, would be helpful for others trying out Zipkin.

@johanoskarsson
Copy link
Contributor Author

Fixed in #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants