Hi Di,

I would like to ask you to register to the mailing list, so you are able to 
follow the mails 
that are exchanged. This will beneficial for you, because someone else might 
have
encountered the same problem and a solution has already been provided by us or 
other users. You need to follow the instructions in the following site:

http://listes.epfl.ch/doc_en.cgi?liste=cloudsuite

Regarding your question, try the following:
a) Build the search agent according to the documentation, if you haven't done 
so.
b) Use Java 1.6 and repeat the steps to set up the client.

Please let us know if this solved your problem.

Regards,
-Stavros.
________________________________________
From: [email protected] [[email protected]] on behalf of di wang 
[[email protected]]
Sent: Wednesday, March 28, 2012 8:33 PM
To: [email protected]
Subject: [cloudsuite] issues about running web search benchmark

Hi,

It is still me :) Since it is about another benchmark, so I started a new 
thread.  I am trying to setup and run the web search benchmark. It all works 
fine for me (I can run curl 
"http://130.203.37.148:8080/search.jsp?query=google";  and it will give results 
say how many matches, etc) until I tried to use faban for running the 
benchmark. It mainly complains about
java.lang.NoSuchMethodError ... , the error messages are in the following. My 
JDK version is 1.7.0 and ant version is 1.8.2.

Any idea what went wrong?

Thanks,

di

[root@XXX /hadoop_node/nutch-test/faban/search]# ./run.sh
Mar 27, 2012 10:08:53 PM com.sun.faban.common.RegistryImpl main
INFO: Registry started.
Mar 27, 2012 10:08:59 PM com.sun.faban.driver.engine.MasterImpl runBenchmark
INFO: RunID for this run is : 8
Mar 27, 2012 10:08:59 PM com.sun.faban.driver.engine.MasterImpl runBenchmark
INFO: Output directory for this run is : /hadoop_node/nutch-test/stats/8
Mar 27, 2012 10:08:59 PM com.sun.faban.driver.engine.MasterImpl configureAgents
INFO: Configuring 1 SearchDriverAgents...
Mar 27, 2012 10:09:00 PM com.sun.faban.driver.util.Timer idleTimerCheck
INFO: SearchDriverAgent[1]: Performing idle timer check
Mar 27, 2012 10:09:03 PM com.sun.faban.driver.util.Timer idleTimerCheck
INFO: SearchDriverAgent[1]: Idle timer characteristics:
Accuracy=1000,
min. invocation cost=0,
med. invocation cost (math)=1000.0,
med. invocation cost (phys)=1000,
avg. invocation cost=597.2,
max. invocation cost=2000,
variance of invocation cost=240952.15999998126.
Mar 27, 2012 10:09:06 PM com.sun.faban.driver.engine.AgentImpl run
INFO: SearchDriverAgent[1]: Successfully started 1 driver threads.
Mar 27, 2012 10:09:06 PM com.sun.faban.driver.engine.MasterImpl executeRun
INFO: Started all threads; run commences in 2997 ms
Mar 27, 2012 10:09:09 PM com.sun.faban.driver.engine.AgentThread logError
WARNING: SearchDriverAgent[1].0.doGet: 
sun.net.www.http.KeepAliveCache.get(Ljava/net/URL;Ljava/lang/Object;)Ljava/lang/Object;
Note: Error not counted in result.
Either transaction start or end time is not within steady state.
java.lang.NoSuchMethodError: 
sun.net.www.http.KeepAliveCache.get(Ljava/net/URL;Ljava/lang/Object;)Ljava/lang/Object;
    at com.sun.faban.driver.transport.sunhttp.HttpClient.New(HttpClient.java:87)
    at 
com.sun.faban.driver.transport.sunhttp.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:99)
    at 
com.sun.faban.driver.transport.sunhttp.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:41)
    at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:928)
    at 
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:846)
    at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1296)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
    at 
com.sun.faban.driver.transport.sunhttp.SunHttpTransport.fetchResponse(SunHttpTransport.java:617)
    at 
com.sun.faban.driver.transport.sunhttp.SunHttpTransport.fetchURL(SunHttpTransport.java:383)
    at 
com.sun.faban.driver.transport.sunhttp.SunHttpTransport.fetchURL(SunHttpTransport.java:402)
    at 
com.sun.faban.driver.transport.sunhttp.SunHttpTransport.fetchURL(SunHttpTransport.java:440)
    at sample.searchdriver.SearchDriver.doGet(SearchDriver.java:140)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at com.sun.faban.driver.engine.TimeThread.doRun(TimeThread.java:169)


Reply via email to