Hi Dmitry,
The command seems good. Are you sure your shell is not doing something
funny with the params? You could try:

python solrjmeter.py -C "g1,foo" -c hour -x ./jmx/SolrQueryTest.jmx -a

where g1 and foo are results of the individual runs, ie. something that was
started and saved with '-R g1' and '-R foo' respectively

so, for example, i have these comparisons inside
'/var/lib/montysolr/different-java-settings/solrjmeter', so I am generating
the comparison by:

export SOLRJMETER_HOME=/var/lib/montysolr/different-java-settings/solrjmeter
python solrjmeter.py -C "g1,foo" -c hour -x ./jmx/SolrQueryTest.jmx -a


roman


On Wed, Aug 7, 2013 at 10:03 AM, Dmitry Kan <solrexp...@gmail.com> wrote:

> Hi Roman,
>
> One more question. I tried to compare different runs (g1 vs cms) using the
> command below, but get an error. Should I attach some other param(s)?
>
>
> python solrjmeter.py -C g1,foo -c hour -x ./jmx/SolrQueryTest.jmx
> **ERROR**
>   File "solrjmeter.py", line 1427, in <module>
>     main(sys.argv)
>   File "solrjmeter.py", line 1303, in main
>     check_options(options, args)
>   File "solrjmeter.py", line 185, in check_options
>     error("The folder '%s' does not exist" % rf)
>   File "solrjmeter.py", line 66, in error
>     traceback.print_stack()
> The folder '0' does not exist
>
> Dmitry
>
>
>
>
> On Wed, Aug 7, 2013 at 4:13 PM, Dmitry Kan <solrexp...@gmail.com> wrote:
>
> > Hi Roman,
> >
> > Finally, this has worked! Thanks for quick support.
> >
> > The graphs look awesome. At least on the index sample :) It is quite easy
> > to setup and run + possible to run directly on the shard server in
> > background mode.
> >
> > my test run was:
> >
> > python solrjmeter.py -a -x ./jmx/SolrQueryTest.jmx -q
> > ./queries/demo/demo.queries -s localhost -p 8983 -a --durationInSecs 60
> -R
> > foo -t /solr/statements -e statements
> >
> > Thanks!
> >
> > Dmitry
> >
> >
> > On Wed, Aug 7, 2013 at 6:54 AM, Roman Chyla <roman.ch...@gmail.com>
> wrote:
> >
> >> Hi Dmitry,
> >>
> >> I've modified the solrjmeter to retrieve data from under the core (the
> -t
> >> parameter) and the rest from the /solr/admin - I could test it only
> >> against
> >> 4.0, but it is there the same as 4.3 - it seems...so you can try the
> fresh
> >> checkout
> >>
> >> my test was: python solrjmeter.py -a -x ./jmx/SolrQueryTest.jmx -t
> >> /solr/collection1 -R foo -q ./queries/demo/* -p 9002 -s adsate
> >>
> >> Thanks!
> >>
> >> roman
> >>
> >>
> >> On Tue, Aug 6, 2013 at 9:46 AM, Dmitry Kan <solrexp...@gmail.com>
> wrote:
> >>
> >> > Hi,
> >> >
> >> > Thanks for the clarification, Shawn!
> >> >
> >> > So with this in mind, the following work:
> >> >
> >> > http://localhost:8983/solr/statements/admin/system?wt=json
> >> > http://localhost:8983/solr/statements/admin/mbeans?wt=json
> >> >
> >> > not copying their output to save space.
> >> >
> >> > Roman:
> >> >
> >> > is this something that should be set via -t parameter as well?
> >> >
> >> > Dmitry
> >> >
> >> >
> >> >
> >> > On Tue, Aug 6, 2013 at 4:34 PM, Shawn Heisey <s...@elyograg.org>
> wrote:
> >> >
> >> > > On 8/6/2013 6:17 AM, Dmitry Kan wrote:
> >> > > > Of three URLs you asked for, only the 3rd one gave response:
> >> > > <snip>
> >> > > > The rest report 404.
> >> > > >
> >> > > > On Mon, Aug 5, 2013 at 8:38 PM, Roman Chyla <
> roman.ch...@gmail.com>
> >> > > wrote:
> >> > > >
> >> > > >> Hi Dmitry,
> >> > > >> So I think the admin pages are different on your version of solr,
> >> what
> >> > > do
> >> > > >> you see when you request... ?
> >> > > >>
> >> > > >> http://localhost:8983/solr/admin/system?wt=json
> >> > > >> http://localhost:8983/solr/admin/mbeans?wt=json
> >> > > >> http://localhost:8983/solr/admin/cores?wt=json
> >> > >
> >> > > Unless you have a valid defaultCoreName set in your (old-style)
> >> > > solr.xml, the first two URLs won't work, as you've discovered.
> >>  Without
> >> > > that valid defaultCoreName (or if you wanted info from a different
> >> > > core), you'd need to add a core name to the URL for them to work.
> >> > >
> >> > > The third one, which works for you, is a global handler for
> >> manipulating
> >> > > cores, so naturally it doesn't need a core name to function.  The
> URL
> >> > > path for this handler is defined by solr.xml.
> >> > >
> >> > > Thanks,
> >> > > Shawn
> >> > >
> >> > >
> >> >
> >>
> >
> >
>

Reply via email to