Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Group by is not working with Filter

RE: Java heap error
(682 lines)
UNION -- Ordered
(29 lines)
Jul 28, 2010
Swati Jain
Swati Jain
Hello Everyone,

I am trying to execute below mentioned script, but it is throwing error.
Script is:

A = load 'ex_groupby' USING PigStorage(',') as (a1:int,a2:int,a3:int);
G1 = GROUP A by (a1,a2);
describe G1;
*D = Filter G1 by group.$0 > 1;*
dump D;

Error is :

java.lang.ClassCastException: java.lang.Integer cannot be cast to
org.apache.pig.data.Tuple
        at
org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.POProject.getNext(POProject.java:389)
        at
org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator.processInput(PhysicalOperator.java:276)
        at
org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.POProject.getNext(POProject.java:138)
        at
org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.POProject.getNext(POProject.java:276)
        at
org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.GreaterThanExpr.getNext(GreaterThanExpr.java:72)
        at
org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POFilter.getNext(POFilter.java:148)
        at
org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator.processInput(PhysicalOperator.java:276)
        at
org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POLocalRearrange.getNext(POLocalRearrange.java:259)
        at
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapBase.runPipeline(PigMapBase.java:236)
        at
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapBase.map(PigMapBase.java:231)
        at
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapBase.map(PigMapBase.java:53)
        at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
        at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:621)

Any help would be appreciated.

Thanks,
Swati


Reply
Tags: script
Messages in this thread
Group by is not working with Filter
reply Re: Group by is not working with Filter
(62 lines) Jul 28, 2010 19:49
reply Re: Group by is not working with Filter
(73 lines) Jul 29, 2010 14:10
Similar Threads
Created: (PIG-1523) GROUP BY multiple column not working with new optimizer
GROUP BY multiple column not working with new optimizer

DO NOT REPLY New: require ldap-group allowing any group, not just the required group
https://issues.apache.org/bugzilla/show_bug.cgi?id=49409

           Summary: require ldap-group allowing any group, not just the
                    required group
           Product: Apache httpd-2
           Version: 2.2.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_authz_ldap
        AssignedTo: bug### @httpd.apache.org
        ReportedBy: jcoles### @gmail.com


While trying to set up SVN access control, I've noticed an oddity.  While
trying to verify that all was working and doing some negative path
testing, I
noticed that I could login, even though I was not a member of the group
specified in the "require ldap-group" directive.  I've spent a day
googling
this, but I can't find any answers.  Any help would be greatly
appreciated, as
this is about to drive me insane.

I'm running CentOS 5.5 final.  $OpenLDAP: slapd 2.3.43 (Jan 21 2009
03:59:37) $

From my apache conf: 

<Location /svn>
  DAV svn
  SVNPath /usr/local/svn
  AuthType Basic
  AuthName "Your Subversion Repository"
  AuthBasicProvider ldap
  AuthzLDAPAuthoritative on
  AuthLDAPURL "ldap://<host>:389/dc=jc,dc=com?uid
  AuthLDAPGroupAttribute memberUid
  AuthLDAPGroupAttributeIsDN off
  Require group cn=app,ou=Group,dc=jc,dc=com
  AuthzSVNAccessFile /etc/subversion/repos.acl
  Satisfy all
</Location>

Group ldif: 

dn: cn=app,ou=Group,dc=jc,dc=com
objectClass: posixGroup
objectClass: top
cn: app
userPassword: {crypt}x
gidNumber: 1004
description: bob




DO NOT REPLY timefmt config not working in SSI when using INCLUDES output filter and XBitHack On
https://issues.apache.org/bugzilla/show_bug.cgi?id=39369

--- Comment #21 from Zhang Weiwu <zhangw### @realss.com> 2010-07-06
21:58:35 EDT ---
Hi. As a stupid administrator who don't know about version control can you
please hint since which version of 2.2.x release should I download and
install
on the production server that would contain this backport? Thanks in
advance!




DO NOT REPLY timefmt config not working in SSI when using INCLUDES output filter and XBitHack On
https://issues.apache.org/bugzilla/show_bug.cgi?id=39369

--- Comment #22 from Eric Covener <cove### @gmail.com> 2010-07-06
22:18:37 EDT ---
(In reply to comment #21)
 Hi. As a stupid administrator who don't know about version control
can you
 please hint since which version of 2.2.x release should I download
and install
 on the production server that would contain this backport? Thanks in
advance!

Get the latest. The changelog:

  http://www.apache.org/dist/httpd/CHANGES_2.2

shows it was in 2.2.12 and later.




can't see group using Firefox
I know it's off topic, but I can't see this group using Firefox.
Google Groups insists on logging me in, and then infinitely redirects
on itself, taking me nowhere. It's been like this for more than a
week. I've tried this on multiple fiefoxes on multiple PCs with
multiple Google logins and it's always the same.

I had to use IE to write this message. I feel a bit dirty now :-P


How to exit this group?
Cause there are too many new topics so that it affect my email reading.


confluence group admin
I just noticed that we have two groups defined for Geronimo which would
seem to have overlapping usage: geronimo-contributors and geronimo-users.

I suspect that 'geronimo-users' preceded 'geronimo-contributors'. I see
that 'geronimo-users' is used for some of our spaces.

IMO, we should only be using 'geronimo-contributors' and all members of
the 'geronimo-contributors' group should have an ICLA on file. Is there a
reason why we should not do this? If we agree, could a confluence admin
make that true?

--kevan 

Hadoop Italy User Group
Here at CSR4  we are actively using Hadoop for multiple purposes,
ranging from bioinformatics applications connected to the analysis of
deep sequencing datasets and large scale Genome-Wide Association Studies
to  exotic applications such as  using hdfs as a scalable file system to
support the deployment and management of (large) HPC virtual clusters. 

We would like to establish contacts with other group in Italy to be able
to share experiences and ideas. A reasonable mechanism for this could be
an Italian User group. Please e-mail me if you like the idea, so that we
can assess whether there is enough interest in setting this up.

Gianluigi Zanetti
(gianluigi### @crs4.it)


No members active in cluster group
Hello all,

I am having problems in getting clustering to work in a windows server
2008 environment using tomcat 6.0.20 java 1.5

I get the "No members active in cluster group" message on both tomcats.

The engine element on the first tomcat is:

  <Engine name="Catalina" defaultHost="localhost" jvmRoute="1">

	<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
channelSendOptions="4">
		<Manager className="org.apache.catalina.ha.session.DeltaManager"
			name="someapp"
			expireSessionsOnShutdown="false"
			notifyListenersOnReplication="true"/>

		<Channel
className="org.apache.catalina.tribes.group.GroupChannel">	
			<Membership
className="org.apache.catalina.tribes.membership.McastService"
				address="228.0.0.5"
				port="45564"
				frequency="500"
				dropTime="3000"/>

			<Receiver
className="org.apache.catalina.tribes.transport.nio.NioReceiver"
				address="111.111.111.148"
				port="4001"
				autoBind="100"
				selectorTimeout="5000"
				maxThreads="12"/>

			<Sender
className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
				<Transport
className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>
			</Sender>

			<Interceptor
className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>
			<Interceptor
className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>
			<Interceptor
className="org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor"/>
		</Channel>

		<Valve className="org.apache.catalina.ha.tcp.ReplicationValve"
			filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;.*\.xls;.*\.sdf;.*\.xml;"/>

		<!-- only with jk_mod failover-->
		<Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve"
			enabled="true" sessionIdAttribute="takeoverSessionid" />

		<!-- only with jk_mod and jvmroutebindervalve-->
		<ClusterListener
className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"/>
		<ClusterListener
className="org.apache.catalina.ha.session.ClusterSessionListener"/>
	</Cluster>

      <Host name="localhost"
       unpackWARs="false" autoDeploy="false"
       xmlValidation="false" xmlNamespaceAware="false">

	<Alias>111.111.111.154</Alias>
	<Alias>someapp.com</Alias>	
	
	
 	<Valve className="org.apache.catalina.valves.AccessLogValve"
                directory="E:\logs\websites\secure_app_01"
                prefix="default_access_log."
                suffix=".txt"
                pattern='%h %l %u %t "%r" %s %b "%{user-agent}i"
"%{referer}i"'
                resolveHosts="true"/>

        <Logger className="org.apache.catalina.logger.FileLogger"
                directory="E:\logs\websites\secure_app_com_01"
                prefix="error_log."
                suffix=".txt"
                timestamp="true"/>


	<Context path="" reloadable="false" distributable="true"
		docBase="E:\web_secure_01\secure_app_com_01"
		workDir="E:\web_secure_01\secure_work_01" >
		<WatchedResource>WEB-INF/web.xml</WatchedResource>
		<Logger className="org.apache.catalina.logger.SystemOutLogger"
verbosity="4" timestamp="true"/>
	</Context>
	
      </Host>

    </Engine>

In the second tomcat, the engine element is:

<Engine name="Catalina" defaultHost="localhost" jvmRoute="2">

	<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
channelSendOptions="4">
		<Manager className="org.apache.catalina.ha.session.DeltaManager"
			name="someapp"
			expireSessionsOnShutdown="false"
			notifyListenersOnReplication="true"/>

		<Channel
className="org.apache.catalina.tribes.group.GroupChannel">	
			<Membership
className="org.apache.catalina.tribes.membership.McastService"
				address="228.0.0.5"
				port="45564"
				frequency="500"
				dropTime="3000"/>

			<Receiver
className="org.apache.catalina.tribes.transport.nio.NioReceiver"
				address="111.111.111.148"
				port="4002"
				autoBind="100"
				selectorTimeout="5000"
				maxThreads="12"/>

			<Sender
className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
				<Transport
className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>
			</Sender>

			<Interceptor
className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>
			<Interceptor
className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>
			<Interceptor
className="org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor"/>
		</Channel>

		<Valve className="org.apache.catalina.ha.tcp.ReplicationValve"
			filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;.*\.xls;.*\.sdf;.*\.xml;"/>

		<!-- only with jk_mod failover-->
		<Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve"
			enabled="true" sessionIdAttribute="takeoverSessionid" />

		<!-- only with jk_mod and jvmroutebindervalve-->
		<ClusterListener
className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"/>
		<ClusterListener
className="org.apache.catalina.ha.session.ClusterSessionListener"/>
	</Cluster>

      <Host name="localhost"
       unpackWARs="false" autoDeploy="false"
       xmlValidation="false" xmlNamespaceAware="false">
	
	<Alias>111.111.111.148</Alias>	
	<Alias>111.111.111.150</Alias>
	<Alias>111.111.111.151</Alias>
	
	<Alias>someapp.com</Alias>
	<Alias>link.someapp.com</Alias>
	
 	<Valve className="org.apache.catalina.valves.AccessLogValve"
                directory="E:\logs\websites\someapp_com"
                prefix="default_access_log."
                suffix=".txt"
                pattern='%h %l %u %t "%r" %s %b "%{user-agent}i"
"%{referer}i"'
                resolveHosts="true"/>

        <Logger className="org.apache.catalina.logger.FileLogger"
                directory="E:\logs\websites\someapp_com"
                prefix="error_log."
                suffix=".txt"
                timestamp="true"/>

	<Context path="" reloadable="false" distributable="true"
		docBase="E:\products\web_secure\someapp_com"
		workDir="E:\products\web_secure\secure_work" >
		<WatchedResource>WEB-INF/web.xml</WatchedResource>
		<Logger className="org.apache.catalina.logger.SystemOutLogger"
verbosity="4" timestamp="true"/>
	</Context>
	
      </Host>

    </Engine>

The catalina log on second tomcat, after first was started.

Jul 15, 2010 12:52:24 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Jul 15, 2010 12:52:24 AM org.apache.catalina.ha.tcp.SimpleTcpCluster start
INFO: Cluster is about to start
Jul 15, 2010 12:52:24 AM org.apache.catalina.tribes.transport.ReceiverBase
bind
INFO: Receiver Server Socket bound to:/111.111.111.148:4002
Jul 15, 2010 12:52:24 AM
org.apache.catalina.tribes.membership.McastServiceImpl setupSocket
INFO: Setting cluster mcast soTimeout to 500
Jul 15, 2010 12:52:24 AM
org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
INFO: Sleeping for 1000 milliseconds to establish cluster membership,
start level:4
Jul 15, 2010 12:52:25 AM
org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
INFO: Done sleeping, membership established, start level:4
Jul 15, 2010 12:52:25 AM
org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
INFO: Sleeping for 1000 milliseconds to establish cluster membership,
start level:8
Jul 15, 2010 12:52:26 AM
org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
INFO: Done sleeping, membership established, start level:8
Jul 15, 2010 12:52:27 AM org.apache.catalina.ha.session.DeltaManager start
INFO: Register manager  to cluster element Engine with name Catalina
Jul 15, 2010 12:52:27 AM org.apache.catalina.ha.session.DeltaManager start
INFO: Starting clustering manager at
Jul 15, 2010 12:52:27 AM org.apache.catalina.ha.session.DeltaManager
getAllClusterSessions
INFO: Manager [localhost#]: skipping state transfer. No members active
in cluster group.
Jul 15, 2010 12:52:34 AM
org.apache.catalina.ha.session.JvmRouteBinderValve start
INFO: JvmRouteBinderValve started

Any ideas?

Thanks
Andrew


Distributing passwd/group/shadow
Hi,
I am trying to figure out a good "puppet" way to do this. In our old
configuration, we were using cfengine and distributing passwd, group
and shadow files by first running a command on the server that would
filter these files to have just the team users (since we are using
hosting services) into a master file that would get distributed to all
the clients and the clients would apply the master file to its local
passwd, group and shadow files.

In puppet, as far as I can see, there is no way to run a command to
prep the files on the master, before a puppet client asks for the
catalog or is there?

We are doing things in this complicated way, because this allows us to
continue use the useradd, usermod commands on the master servers, and
the client servers automatically get the configuration. Plus we dont
have to store the files in version control. Is there a better way to
do this in puppet?

Thanks,
NP





Listing group members with userManager
Hi all,

I've got an issue in listing the members added to a group using the
userManager service.
I've followed the instructions shown in
http://sling.apache.org/site/managing...usermanager.html.
As per my understanding to get the list of the members of one group I just
need to call "curl
http://localhost:8080/sling/system/us...s.tidy.1.json>",
but what I get in the reply is just an empty JSON object (i.e. "{}").

Let me describe you all the steps:

First I created a new user: curl -F:name=newUser -Fpwd=password
-FpwdConfirm=password
http://localhost:8080/sling/system/us...r.create.html>
Then I created a new group: curl -F:name=newGroup
http://localhost:8080/sling/system/us...p.create.html>
 Finally I added the "newUser" user to the just created group: curl -F
":member=/system/userManager/user/newUser"
http://localhost:8080/sling/system/us...p.update.html>

All the above requests returned successfully, but when I try to retrieve
the
list of the members of the "newGroup" group (as mentioned above) I just
got
an empty object.
Is this the correct way to list the group members: curl
http://localhost:8080/sling/system/us...s.tidy.1.json>?
Am I missing something in the modification of the group?

Thanks in advance,

Davide


jmeter plugin for Stepping Thread Group
Hi guys where can i find info about the jmeter plugin for Stepping Thread
Group






-----Original Message-----
From: Sonam Chauhan [mailto:sonam.### @ce.com.au] 
Sent: Thursday, 8 April 2010 6:56 p.m.
To: JMeter Users List; a### @fininfor.ru
Subject: RE: change # of threads in a thread group during runtime
Importance: High

I use multiple thread groups for this. 

In the second and third thread groups, I use the 'Java Request' sampler,
and set Classname = 'Sleep Test' to force the threads to start after an
appropriate delay. The only action in these thread groups is a module
controller that calls a set of actions in the first thread group. 



-----Original Message-----
From: Andrey Pohilko [mailto:ap### @fininfor.ru] 
Sent: Thursday, 8 April 2010 4:21 PM
To: 'JMeter Users List'
Subject: RE: change # of threads in a thread group during runtime

I had the same task and wrote Stepping Thread Group for this. It is
awailable with latest nightly build +
http://code.google.com/p/jmeter-plugins/ built from sources. 

 
? ?????????,
?????? ????????

-----Original Message-----
From: George Pitich [mailto:george_### @yahoo.com] 
Sent: Thursday, April 08, 2010 10:15 AM
To: jmeter-use### @jakarta.apache.org
Subject: change # of threads in a thread group during runtime

Hi,

I would like to know whether it is possible to change # of threads in a
thread group during runtime? For example, I'd like to start test cases
with
10 threads running for 1 min and than add (without stopping jmeter)
another
10 threads (now 20 threads are running) and finally after 2 mins, I'd like
to add another 20 threads and run the test case (now with 40 threads) for
the next 3 mins (the idea is to add the load progressively). If scripting
is
required i can use groovy as I managed to run it with BSF sampler.

Many Thanks,
g.



      
Running a fastCGI app as a specific user:group
Hello,

Ubuntu 9.04
Apache Apache/2.2.11

Sorry if this is long.. trying to give a little
accurate background before I ask the question...

I want to get a fastCGI app running as a
specific user:group.

I've set up a (Local) Name Based virtual host that has these
characteristics:

-------
<VirtualHost *.80>
         ServerName fastcgitest.com
         ServerAlias www.fastcgitest.com
         ServerAdmin webm### @localhost
         DocumentRoot /home/fastcgitest/www
         ScriptAlias /cgi-bin/ /home/fastcgitest/cgi-bin/
         <Directory /home/fastcgitest/www>
                 Options FollowSymLinks
                 AllowOverride All
         </Directory>
         <Directory /home/fastcgitest/cgi-bin>
                 Options +ExecCGI
                 SetHandler fcgi-script
         </Directory>
  [snip]
</VirtualHost>
--------

Everything from /home/fastcgitest
and down has a user:group of fastcgitest:fastcgitest

I've put my fastCGI app inside the /home/fastcgitest/cgi-bin/
directory.

Then, I have a .htaccess file in the /home/fastcgitest/www
directory as so:

--------
<IfModule mime_module>
AddType text/html .dono
</IfModule>

Options +ExecCGI
AddHandler fcgid-script .dono

FCGIWrapper /home/fastcgitest/cgi-bin/WebCatalogEngine/WebDNA.fcgi .dono
--------

I've also setup the DNS in my LAN.

O.K., so when I access my test file through a browser:
http://fastcgitest.com/test.dono

It parses just fine other than the WebDNA.fcgi cannot write to the 
directories owned by the unique user for that virtual host 
(fastcgitest:fastcgitest)... which is something I need it to do.

I realized that it's because WebDNA.fcgi is still running as 'www-data'
(which is the default user for apache on Ubuntu), even though the
executable is owned:grouped by fastcgitest:fastcgitest

So, finally I come to the question:

How do I get my WebDNA.fcgi app to run as user:group 
fastcgitest:fastcgitest?

Thanks!

Donovan







Hadoop User Group - July Meeting
Hello Hadoopers,

 

Reminder that July Hadoop Users Group is tomorrow.

 

Agenda:

 

* 6:00 - 6:30 - Socializing and Beers

* 6:30 - 7:00 - Online Content Optimization with Hadoop, Nitin Motgi,
Yahoo! 

* 7:00 - 7:30 - Hadoop at eBay, Anil Madan, eBay 

* 7:30 - 8:00 - Introduction to Avro, Doug Cutting, Cloudera 

* QnA , Open Discussion

 

Session details at http://www.meetup.com/hadoop/calendar/13546804/.
(Please register and RSVP in case you have not done so) 

 

Looking forward to seeing you there!

 

Susheel

 

PS: In case you miss the event, the slides and videos will be posted at
http://developer.yahoo.net/blogs/hadoop/ 

 



RE: jmeter plugin for Stepping Thread Group
Thanks for response Andrey but this patch does not work 

Regards,
Applications QA Analyst 
The University of Auckland, New Zealand|Te Whare Wananga o Tamaki
Makaurau, Aotearoa, T: +64 9 923 5264   : v.arun### @auckland.ac.nz  
"Om Sakti Amman Vinayaka Muruga Sastha Tunai"




-----Original Message-----
From: Andrey Pohilko [mailto:ap### @fininfor.ru] 
Sent: Sunday, 6 June 2010 9:45 a.m.
To: 'JMeter Users List'
Subject: RE: jmeter plugin for Stepping Thread Group
Importance: High

Hello!
Stepping Thread Group has Wiki page at
http://code.google.com/p/jmeter-plugi...eppingThreadGroup

? ?????????, 

?????? ????????


-----Original Message-----
From: Viswanathan Arunachalam [mailto:v.arun### @auckland.ac.nz] 
Sent: Thursday, June 03, 2010 10:08 AM
To: JMeter Users List; a### @fininfor.ru
Subject: jmeter plugin for Stepping Thread Group

Hi guys where can i find info about the jmeter plugin for Stepping Thread
Group






-----Original Message-----
From: Sonam Chauhan [mailto:sonam.### @ce.com.au] 
Sent: Thursday, 8 April 2010 6:56 p.m.
To: JMeter Users List; ap### @fininfor.ru
Subject: RE: change # of threads in a thread group during runtime
Importance: High

I use multiple thread groups for this. 

In the second and third thread groups, I use the 'Java Request' sampler,
and
set Classname = 'Sleep Test' to force the threads to start after an
appropriate delay. The only action in these thread groups is a module
controller that calls a set of actions in the first thread group. 



-----Original Message-----
From: Andrey Pohilko [mailto:ap### @fininfor.ru] 
Sent: Thursday, 8 April 2010 4:21 PM
To: 'JMeter Users List'
Subject: RE: change # of threads in a thread group during runtime

I had the same task and wrote Stepping Thread Group for this. It is
awailable with latest nightly build +
http://code.google.com/p/jmeter-plugins/ built from sources. 

 
? ?????????,
?????? ????????

-----Original Message-----
From: George Pitich [mailto:george_### @yahoo.com] 
Sent: Thursday, April 08, 2010 10:15 AM
To: jmeter-use### @jakarta.apache.org
Subject: change # of threads in a thread group during runtime

Hi,

I would like to know whether it is possible to change # of threads in a
thread group during runtime? For example, I'd like to start test cases
with
10 threads running for 1 min and than add (without stopping jmeter)
another
10 threads (now 20 threads are running) and finally after 2 mins, I'd like
to add another 20 threads and run the test case (now with 40 threads) for
the next 3 mins (the idea is to add the load progressively). If scripting
is
required i can use groovy as I managed to run it with BSF sampler.

Many Thanks,
g.



      
Cocoon FORMS: How to get children of a group widget
Hello

Somehow I am stuck and cannot find a function to iterate through widgets
within a group:

I get this structure:

<fd:form
  <fd:widgets>
     <fd:group id="part_${partEditor.partTypeUse.partType.id}">
       <fd:widgets>
       .....



and I get a handle on the fd:group element.

I can do a Form parentItem = widget.getForm();
But when I do parentItem.getChildren(), I only receive the group and not
the widgets embedded within the group.
Because I have no clues as to the ids (names) of the widgets within the
group, I cannot do a lookupWidget()....

How do you solve such situations?

Thank you for any helpful advice



Valerie Nyre











Mit freundlichen Grüßen
With kind regards

Valerie Nyre
Dokumentation

Fon: +49 (0)76 72  48 17 12
Fax: +49 (0)76 72  48 17 28
mailto: v.n### @oxseed.com<mailto:v.n### @oxseed.com>