Error scripts/common.sh: [[: not found running examples/web

86 views
Skip to first unread message

André Pinto

unread,
May 7, 2014, 11:14:16 AM5/7/14
to iago-...@googlegroups.com
I've gone through the steps on the Readme file, but I'm failing to get the examples/web to run properly.

~/others/iago/examples/web/yo$ java -jar iago-0.6.14.jar -f ../config/web.scala
DEBUG com.twitter.parrot.util 16:04:19.820 logging to console enabled
INFO com.twitter.parrot.launcher 16:04:19.823 Starting Parrot job named web
DEBUG com.twitter.parrot.launcher 16:04:19.824 Creating scripts.
DEBUG com.twitter.parrot.launcher 16:04:19.825 opening resource: /scripts/common.sh
DEBUG com.twitter.parrot.launcher 16:04:19.832 opening resource: /scripts/local-parrot.sh
DEBUG com.twitter.parrot.launcher 16:04:19.832 opening resource: /scripts/parrot-feeder.sh
DEBUG com.twitter.parrot.launcher 16:04:19.833 opening resource: /scripts/parrot-server.sh
DEBUG com.twitter.parrot.launcher 16:04:19.834 Creating configs.
DEBUG com.twitter.parrot.launcher 16:04:19.835 opening resource: /templates/template-server.scala.in
DEBUG com.twitter.parrot.launcher 16:04:21.718 opening resource: /templates/template-feeder.scala.in
sh scripts/local-parrot.sh
stdout: /usr/lib/jvm/java-7-oracle/bin/java -server -XX:+UseConcMarkSweepGC -verbosegc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -XX:+UseParNewGC -Xloggc:gc-server.log -Xmx4000m -Xms4000m -XX:NewSize=512m com.twitter.parrot.server.ServerMain -f config/target/parrot-server.scala
stdout: /usr/lib/jvm/java-7-oracle/bin/java -server -XX:+UseConcMarkSweepGC -verbosegc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -XX:+UseParNewGC -Xloggc:gc-feeder.log -Xmx1744m -Xms1744m -XX:NewSize=512m com.twitter.parrot.feeder.FeederMain -f config/target/parrot-feeder.scala
stderr: scripts/parrot-server.sh: 3: scripts/common.sh: [[: not found
stderr: scripts/parrot-feeder.sh: 3: scripts/common.sh: [[: not found
stderr: May 07, 2014 4:04:29 PM com.twitter.finagle.Init$ apply
stderr: INFO: Finagle version 6.11.1 (rev=83de11a66b498351418433bcad00cbf4b7dc495c) built at 20140122-140449


If I check the parrot-feeder.log I see messages like these:

util: RemoteParrot: parrot[localhost:9999] queue is over capacity
...
util: Error shutting down Parrot: com.twitter.util.TimeoutException


and parrot-server.log is full of HTTP/1.1 400 Bad Request

Am I missing something?
I'm using Ubuntu 14.04 LTS.

Tom Howland

unread,
May 29, 2014, 3:03:06 PM5/29/14
to iago-...@googlegroups.com
This bug was recently fixed on github. Thanks Federico Caimi.


--

---
You received this message because you are subscribed to the Google Groups "Iago Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iago-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

tyc...@pinterest.com

unread,
Jan 14, 2015, 7:00:12 PM1/14/15
to iago-...@googlegroups.com
Do you know what bug is it? Mine worked fine several months ago, now it shows the same error. But I don't want to upgrade it yet just for this single bug. 

Thanks
Reply all
Reply to author
Forward
0 new messages