incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sky Zhao <sky.z...@ericsson.com>
Subject RE: s4-benchmark issue
Date Fri, 05 Jul 2013 01:32:09 GMT
The place in bench-cluster.sh, I think it could be error place: the most possible place in
text bold, so it stopped PROFILING_OPTS.

#########################################################
#### start S4 nodes
#########################################################

i=0
for host in $HOSTS
do
  ((i++))
  if [ $host == "localhost" ] || [ $host == "127.0.0.1" ] ; then
    $BENCH_ROOTDIR/startNode.sh $BENCH_ROOTDIR $NODE_CONFIG > $BENCH_DIR/output_$i.log
2>$BENCH_DIR/s4err_$i.err < /dev/null &
    #$BENCH_ROOTDIR/startNode.sh $BENCH_ROOTDIR $NODE_CONFIG "localhost" > $BENCH_DIR/output_$i.log
2>$BENCH_DIR/s4err_$i.err < /dev/null &
  else
    ssh $host "$BENCH_ROOTDIR/startNode.sh $BENCH_ROOTDIR $NODE_CONFIG $host > $BENCH_DIR/output_$host-$i.log
2>$BENCH_DIR/s4err_$host-$i.err < /dev/null &"
  fi
done

sleep 15

PROFILING_OPTS=""

#########################################################
#### start injectors
#########################################################

for INJECTOR_NODE in $INJECTOR_NODES ; do
               for INJECTOR_CONFIG in $INJECTOR_CONFIGS ; do
                              ssh $INJECTOR_NODE "cd $BENCH_ROOTDIR ; $BENCH_ROOTDIR/startInjector.sh
$NB_INJECTORS_PER_NODE $INJECTOR_CONFIG $ZK_SERVER > $BENCH_DIR/out.injector_$INJECTOR_NODE.log
2>$BENCH_DIR/err.inje
ctor_$INJECTOR_NODE.log < /dev/null &"
               done
done

The s4_error1.log output is : I think it is the command which cannot run normally.

+ java -Xmx2G -Xms2G -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:gc-ubuntu.log
-server -cp /home/notroot/apache-s4-0.6.0-incubating-src/subprojects/s4-benchmarks/build/classes/main:/home
/notroot/.gradle/caches/artifacts-23/filestore/com.google.guava/guava/13.0.1/jar/d6f22b1e60a2f1ef99e22c9f5fde270b2088365/guava-13.0.1.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/com.google.inje
ct/guice/3.0/jar/9d84f15fe35e2c716a02979fb62f50a29f38aefa/guice-3.0.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/com.google.inject.extensions/guice-assistedinject/3.0/jar/544449ddb19f088dcde44f0
55d30a08835a954a7/guice-assistedinject-3.0.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/org.slf4j/slf4j-api/1.6.1/jar/6f3b8a24bf970f17289b234284c94f43eb42f0e4/slf4j-api-1.6.1.jar:/home/notroot/.
gradle/caches/artifacts-23/filestore/ch.qos.logback/logback-core/0.9.29/jar/96bf09771ee37a15e8e096dbf4a586e964c2f91f/logback-core-0.9.29.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/ch.qos.logba
ck/logback-classic/0.9.29/jar/f69dbab16e4cf256bdc397d7a745e86507f3a98b/logback-classic-0.9.29.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/commons-configuration/commons-configuration/1.6/jar/32c
adde23955d7681b0d94a2715846d20b425235/commons-configuration-1.6.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/net.sourceforge.collections/collections-generic/4.01/jar/12dddecd8e8c24f5c9453a6d3ecb
13b38e59db52/collections-generic-4.01.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/commons-io/commons-io/2.4/jar/b1b6ea3b7e4aa4f492509a4952029cd8e48019ad/commons-io-2.4.jar:/home/notroot/.gradle
/caches/artifacts-23/filestore/commons-lang/commons-lang/2.6/jar/ce1edb914c94ebc388f086c6827e8bdeec71ac2/commons-lang-2.6.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/net.jcip/jcip-annotations/1
.0/jar/afba4942caaeaf46aab0b976afd57cc7c181467e/jcip-annotations-1.0.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/org.apache.zookeeper/zookeeper/3.3.3/jar/5bd356852dee6e626cd4810f107340fa640f608
a/zookeeper-3.3.3.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/com.yammer.metrics/metrics-core/2.1.3/jar/fbdaded2635f3ab817546b0a25a88033cc1ceb66/metrics-core-2.1.3.jar:/home/notroot/.gradle/cac
hes/artifacts-23/filestore/com.esotericsoftware.reflectasm/reflectasm/1.07/jar/76f11c94a53ee975a0d9154b325c408b210155bd/reflectasm-1.07-shaded.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/javax.
inject/javax.inject/1/jar/6975da39a7040257bd51d21a231b76c915872d38/javax.inject-1.jar:/home/notroot/apache-s4-0.6.0-incubating-src/subprojects/s4-base/build/libs/s4-base-0.6.0-incubating.jar:/home/notroot/
apache-s4-0.6.0-incubating-src/subprojects/s4-core/build/libs/s4-core-0.6.0-incubating.jar:/home/notroot/apache-s4-0.6.0-incubating-src/subprojects/s4-comm/build/libs/s4-comm-0.6.0-incubating.jar:/home/not
root/.gradle/caches/artifacts-23/filestore/com.beust/jcommander/1.25/jar/917389a932f9d1dbd66a9038b34b211eea3797ad/jcommander-1.25.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/com.github.sgroschu
pf/zkclient/0.1/jar/a6cf8ffca10fdda90fe00b0b23665435bae50183/zkclient-0.1.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/commons-logging/commons-logging/1.1.1/jar/5043bfebc3db072ed80fbd362e7caf00e
885d8ae/commons-logging-1.1.1.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/commons-collections/commons-collections/3.2.1/jar/761ea405b9b37ced573d2df0d1e3a4e0f9edc668/commons-collections-3.2.1.ja
r:/home/notroot/.gradle/caches/artifacts-23/filestore/log4j/log4j/1.2.15/jar/f0a0d2e29ed910808c33135a3a5a51bba6358f7b/log4j-1.2.15.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/aopalliance/aopall
iance/1.0/jar/235ba8b489512805ac13a8f9ea77a1ca5ebe3e8/aopalliance-1.0.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/com.googlecode/minlog/1.2/jar/1fbae5eeb861ccbf4afa76e22959b01a0d099857/minlog-1
.2.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/com.google.code.gson/gson/1.6/jar/596daefa34b9ea58eac9677b23325b7e60eae948/gson-1.6.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/org.ob
jenesis/objenesis/1.2/jar/bfcb0539a071a4c5a30690388903ac48c0667f2a/objenesis-1.2.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/com.esotericsoftware.kryo/kryo/2.20/jar/b596abed147c5c5b985c996094c5
c1d6622dcb9f/kryo-2.20.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/io.netty/netty/3.5.11.Final/bundle/aa27b9e7b612e2b43c6a89a8d5825359f8de69d6/netty-3.5.11.Final.jar:/home/notroot/.gradle/cache
s/artifacts-23/filestore/org.ow2.asm/asm/4.0/jar/659add6efc75a4715d738e73f07505246edf4d66/asm-4.0.jar:/home/notroot/.gradle/caches/artifacts-23/filestore/commons-codec/commons-codec/1.4/jar/4216af16d38465b
bab0f3dff8efa14204f7a399a/commons-codec-1.4.jar: org.apache.s4.core.S4Node @




From: Matthieu Morel [mailto:mmorel@apache.org]
Sent: Friday, July 05, 2013 4:29 AM
To: s4-user@incubator.apache.org
Subject: Re: s4-benchmark issue

Hi,

not sure where that comes from. Is there any more information. Which process is outputting
this error?

Matthieu

On Jul 4, 2013, at 07:44 , Sky Zhao <sky.zhao@ericsson.com<mailto:sky.zhao@ericsson.com>>
wrote:


I try to run the bench-cluster.sh using following command in README.md file instruction:
`./bench-cluster.sh "localhost localhost" `pwd`/config/injector.config `pwd`/config/node.config`


But stopped in the place
+ /home/notroot/apache-s4-0.6.0-incubating-src/subprojects/s4-benchmarks/startNode.sh /home/notroot/apache-s4-0.6.0-incubating-src/subprojects/s4-benchmarks
+ /home/notroot/apache-s4-0.6.0-incubating-src/subprojects/s4-benchmarks/startNode.sh /home/notroot/apache-s4-0.6.0-incubating-src/subprojects/s4-benchmarks
+ PROFILING_OPTS=

I checked the output_1.log and output_2.log
Says:
Cannot parse arguments: Could not read file : java.io.FileNotFoundException:  (No such file
or directory)

What's wrong with the above command?


/Sky



Mime
View raw message