[IMPORTANT] upcoming changes to storage node

John Sanda jsanda at redhat.com
Wed Jul 10 19:29:30 UTC 2013


I second Jay :) I tried to keep the script pretty simple knowing we need to a Windows port. It should be pretty straightforward.
On Jul 10, 2013, at 3:23 PM, John Mazzitelli <mazz at redhat.com> wrote:

> We will need someone to port that Linux script to Windows. Can someone volunteer for that?
> 
> If no one volunteers, we'll make Jay do it - I'll volunteer him and (since he isn't here to defend himself), I declare that he has accepted this assignment. :p
> 
> Unless someone wants to do the Windows port and let Jay off the hook. Its probably not hard - the script probably isn't anything complex.
> 
> ----- Original Message -----
>> 
>> On Jul 10, 2013, at 11:05 AM, John Sanda < jsanda at redhat.com > wrote:
>> 
>> 
>> 
>> 
>> I am in the process of removing native library dependencies from the
>> Cassandra distribution we package with RHQ. This may impact RHQ 4.8 users as
>> well as your dev-container. If Cassandra can load the native snappy library,
>> which is the default compression library, it will use compression on all
>> tables unless explicitly configured otherwise. We need to make sure
>> compression is disabled on all tables. I have written a script in
>> <rhq-src>/etc/scripts/rhq48-storage-patch that will temporarily apply a
>> patch to your storage node so that compression can be turned off on all
>> tables, including system tables.
>> 
>> Prior to committing/pushing the storage node changes, I reply to this email
>> with instructions for running the script against your dev-container. The
>> instructions will require rebuilding your dev-container; however, I have
>> also made changes that allow the storage data directory to be left intact so
>> you do not have to worry about data loss.
>> 
>> 
>> Here are instructions for patching the dev-container.
>> 
>> 1. Run rhqctl stop to shutdown server, agent, and storage node
>> 
>> 2. In a terminal, cd to <rhq-src>/etc/scripts/rhq48-storage-patch
>> 
>> 3. Execute the patch script
>> 
>> $ ./rhq48-storage-patch.sh <rhq-server-dir> 127.0.0.1 9142 7299
>> 
>> The first argument should be the path to <dev-container>/rhq-server. The
>> second argument is the storage node IP address. The 3rd argument is the CQL
>> port, and last argument is the JMX port.
>> 
>> 4. After the script finishes and you pull my changes to the storage node, you
>> can go ahead and rebuild the dev-container. You *do not* have to delete your
>> storage data directory. The storage installer and dev-container build have
>> been updated to allow you to install with non-empty data directories.
>> 
>> 
>> [1]
>> https://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=d124d4589120090628c53c04c6767b948c7a270a
>> 
>> _______________________________________________
>> rhq-devel mailing list
>> rhq-devel at lists.fedorahosted.org
>> https://lists.fedorahosted.org/mailman/listinfo/rhq-devel
>> 
> _______________________________________________
> rhq-devel mailing list
> rhq-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/rhq-devel



More information about the rhq-devel mailing list