Mass ReSize of Metrics

Asked by bhardy

I am attempting to resize thousands of metrics and I am curious if anyone knows the most efficient way to do this (notes below). The servers are beefy and attached to SAN.

I shutdown carbon while resizing metrics. If old find/exec is the only way to do this and will run for awhile, can this be done while carbon is running and not create any problems. I use a top level directory to find all metrics. Maybe going down a level or two and starting multiple resize scripts would also work to speed things up???

XARGS does not work as it attempts to pass more than one wsp file name to the resize script and I get an error.
find . -name *.wsp | xargs /usr/bin/whisper-resize.py 60:131400 --nobackup

OLD EXEC works but takes a long time due to it going thru each and every whisper file one-by-one and not doing so in bulk.
find . -name *.wsp -exec /usr/bin/whisper-resize.py {} 60:131400 --nobackup \;

NEW EXEC does not work and suffers from the same problem as xargs.
find . -name *.wsp -exec /usr/bin/whisper-resize.py 60:131400 --nobackup {} +

GNU PARALLEL works but takes somewhat as long as old exec.
find . -name \*.wsp | /usr/bin/parallel -j500 /usr/bin/whisper-resize.py {} 60:131400 --nobackup

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
bhardy
Solved:
Last query:
Last reply:
Revision history for this message
Jason Dixon (jason-dixongroup) said :
#1

Pass the path name in quotes, e.g. "*.wsp".

Jason Dixon
Sent from my iPhone

On May 19, 2012, at 2:30 PM, bhardy <email address hidden> wrote:

> New question #197816 on Graphite:
> https://answers.launchpad.net/graphite/+question/197816
>
> I am attempting to resize thousands of metrics and I am curious if anyone knows the most efficient way to do this (notes below). The servers are beefy and attached to SAN.
>
> I shutdown carbon while resizing metrics. If old find/exec is the only way to do this and will run for awhile, can this be done while carbon is running and not create any problems. I use a top level directory to find all metrics. Maybe going down a level or two and starting multiple resize scripts would also work to speed things up???
>
>
> XARGS does not work as it attempts to pass more than one wsp file name to the resize script and I get an error.
> find . -name *.wsp | xargs /usr/bin/whisper-resize.py 60:131400 --nobackup
>
> OLD EXEC works but takes a long time due to it going thru each and every whisper file one-by-one and not doing so in bulk.
> find . -name *.wsp -exec /usr/bin/whisper-resize.py {} 60:131400 --nobackup \;
>
> NEW EXEC does not work and suffers from the same problem as xargs.
> find . -name *.wsp -exec /usr/bin/whisper-resize.py 60:131400 --nobackup {} +
>
> GNU PARALLEL works but takes somewhat as long as old exec.
> find . -name \*.wsp | /usr/bin/parallel -j500 /usr/bin/whisper-resize.py {} 60:131400 --nobackup
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp

Revision history for this message
bhardy (bhardy) said :
#2

Jason I appreciate the quick response but unless I'm missing something, that is not really the issue. The find command works with no quotes, single quotes, and double quotes to find the necessary files. It is the second part of the process that I am hoping to expedite where the resize script makes the necessary changes to the wsp file(s).

Updating thousands of metrics files one-by-one is a killer. In bulks of 500 or 1000 would be great. The way the resize script is written, it expects one wsp file and a colon delimited retention time. So I imagine if I can't pass multiple wsp files to the resize script, MAYBE I start multiple resize processes from one command???

Revision history for this message
Jeffrey Hulten (jhulten) said :
#3

I presume you are running on a subset of the files you need in your production environment. If you leave out the '-j 500' it will spawn one job per core. What is the timing difference between no '-j' and '-j 500'?

Something like:

find . -name \*.wsp | time /usr/bin/parallel -j500 /usr/bin/whisper-resize.py {} 60:131400 --nobackup

vs

find . -name \*.wsp | time /usr/bin/parallel /usr/bin/whisper-resize.py {} 60:131400 --nobackup

Not sure if 'time' works with stdin like that but its worth a try.

Revision history for this message
bhardy (bhardy) said :
#4

My goal was to use a top-level tree under which resided all the metrics I needed to change. I hoped to issue one command to batch update files. I have used subsets (lower directories) just to get timings.

I have tried various invocations of parallel (below) including no "-j" at all and none seem to have much benefit over old exec/find. You can ignore the "time" option passed on my command line as I was simply testing to get timings and forgot to remove it when I posted this question.

-j500
-j1000
-j0
--max-procs=8

Revision history for this message
Nicholas Leskiw (nleskiw) said :
#5

Have you tried carcass with -n X --max-procs=Y where X is the number of processes to spawn and Y is the number of processors to utilize?

bhardy <email address hidden> wrote:

>Question #197816 on Graphite changed:
>https://answers.launchpad.net/graphite/+question/197816
>
> Status: Needs information => Open
>
>bhardy gave more information on the question:
>My goal was to use a top-level tree under which resided all the metrics
>I needed to change. I hoped to issue one command to batch update files.
>I have used subsets (lower directories) just to get timings.
>
>I have tried various invocations of parallel (below) including no "-j"
>at all and none seem to have much benefit over old exec/find. You can
>ignore the "time" option passed on my command line as I was simply
>testing to get timings and forgot to remove it when I posted this
>question.
>
>-j500
>-j1000
>-j0
>--max-procs=8
>
>--
>You received this question notification because you are a member of
>graphite-dev, which is an answer contact for Graphite.
>
>_______________________________________________
>Mailing list: https://launchpad.net/~graphite-dev
>Post to : <email address hidden>
>Unsubscribe : https://launchpad.net/~graphite-dev
>More help : https://help.launchpad.net/ListHelp

Revision history for this message
cbrinley (cbrinley) said :
#6

Hey Bryant,
Not sure if attachments work via the mailing group but i've attached a
multithreaded version of whisper-resize that works with directories.

If not email me directly at my gmail account and I'll send it over to you.
Please do perform some testing just to be safe. this is not part of the
mainline whisper project at the moment.
I've used it on my end without issue, but just the normal warnings.

On Sat, May 19, 2012 at 4:11 PM, Nicholas Leskiw <
<email address hidden>> wrote:

> Question #197816 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/197816
>
> Status: Open => Answered
>
> Nicholas Leskiw proposed the following answer:
> Have you tried carcass with -n X --max-procs=Y where X is the number of
> processes to spawn and Y is the number of processors to utilize?
>
> bhardy <email address hidden> wrote:
>
> >Question #197816 on Graphite changed:
> >https://answers.launchpad.net/graphite/+question/197816
> >
> > Status: Needs information => Open
> >
> >bhardy gave more information on the question:
> >My goal was to use a top-level tree under which resided all the metrics
> >I needed to change. I hoped to issue one command to batch update files.
> >I have used subsets (lower directories) just to get timings.
> >
> >I have tried various invocations of parallel (below) including no "-j"
> >at all and none seem to have much benefit over old exec/find. You can
> >ignore the "time" option passed on my command line as I was simply
> >testing to get timings and forgot to remove it when I posted this
> >question.
> >
> >-j500
> >-j1000
> >-j0
> >--max-procs=8
> >
> >--
> >You received this question notification because you are a member of
> >graphite-dev, which is an answer contact for Graphite.
> >
> >_______________________________________________
> >Mailing list: https://launchpad.net/~graphite-dev
> >Post to : <email address hidden>
> >Unsubscribe : https://launchpad.net/~graphite-dev
> >More help : https://help.launchpad.net/ListHelp
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp
>

--

Chris Brinley
Cleartrial

e: <email address hidden>
p: 312-460-3038
m: 219-789-2811

Revision history for this message
bhardy (bhardy) said :
#7

Sound like I have two more things to try!

Nick, Where can I find carcass?

Chris, I will test your multithreaded version when i receive it. I have email you separately as it does not look like attachments work to the mailing group. It may be just what I need to I thank you.

Revision history for this message
cbrinley (cbrinley) said :
#8

Yep coming your way.
On May 19, 2012 5:26 PM, "bhardy" <email address hidden>
wrote:

> Question #197816 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/197816
>
> Status: Answered => Open
>
> bhardy is still having a problem:
> Sound like I have two more things to try!
>
> Nick, Where can I find carcass?
>
> Chris, I will test your multithreaded version when i receive it. I have
> email you separately as it does not look like attachments work to the
> mailing group. It may be just what I need to I thank you.
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
bhardy (bhardy) said :
#9

Chris,

On a test VM with 1cpu, 3000 metrics took about 11min using --threads=10. So this looks very promising. I have one prod machine, which I believe has 8cpus, with 444,000 metrics that need to be updated.

Thanks alot for this.

Revision history for this message
cbrinley (cbrinley) said :
#10

Cool if you wouldn't mind letting me know if it works well for the full
batch ill push/pull request this file back to the main project.
On May 19, 2012 6:42 PM, "bhardy" <email address hidden>
wrote:

> Question #197816 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/197816
>
> bhardy posted a new comment:
> Chris,
>
> On a test VM with 1cpu, 3000 metrics took about 11min using
> --threads=10. So this looks very promising. I have one prod machine,
> which I believe has 8cpus, with 444,000 metrics that need to be
> updated.
>
> Thanks alot for this.
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Nicholas Leskiw (nleskiw) said :
#11

Another case of bad autocorrect. xargs not carcass.

-Nick

bhardy <email address hidden> wrote:

>Question #197816 on Graphite changed:
>https://answers.launchpad.net/graphite/+question/197816
>
> Status: Answered => Open
>
>bhardy is still having a problem:
>Sound like I have two more things to try!
>
>Nick, Where can I find carcass?
>
>Chris, I will test your multithreaded version when i receive it. I have
>email you separately as it does not look like attachments work to the
>mailing group. It may be just what I need to I thank you.
>
>--
>You received this question notification because you are a member of
>graphite-dev, which is an answer contact for Graphite.
>
>_______________________________________________
>Mailing list: https://launchpad.net/~graphite-dev
>Post to : <email address hidden>
>Unsubscribe : https://launchpad.net/~graphite-dev
>More help : https://help.launchpad.net/ListHelp

Revision history for this message
bhardy (bhardy) said :
#12

I will let you know how the full batch goes. It may be a few days though.

----- Original Message -----
From: cbrinley [mailto:<email address hidden>]
Sent: Saturday, May 19, 2012 07:41 PM
To: Hardy, Bryant
Subject: Re: [Question #197816]: Mass ReSize of Metrics

Your question #197816 on Graphite changed:
https://answers.launchpad.net/graphite/+question/197816

cbrinley proposed the following answer:
Cool if you wouldn't mind letting me know if it works well for the full
batch ill push/pull request this file back to the main project.
On May 19, 2012 6:42 PM, "bhardy" <email address hidden>
wrote:

> Question #197816 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/197816
>
> bhardy posted a new comment:
> Chris,
>
> On a test VM with 1cpu, 3000 metrics took about 11min using
> --threads=10. So this looks very promising. I have one prod machine,
> which I believe has 8cpus, with 444,000 metrics that need to be
> updated.
>
> Thanks alot for this.
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp
>

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/graphite/+question/197816/+confirm?answer_id=9

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/graphite/+question/197816

You received this question notification because you asked the question.

Revision history for this message
bhardy (bhardy) said :
#13

Will attempt Chris' multithreaded resize script over the next three days and will follow up on Tuesday.

Thanks again Chris.

Revision history for this message
cbrinley (cbrinley) said :
#14

Great thanks for the feedback. please let me know if you do run into
trouble.

take care,

On Fri, May 25, 2012 at 3:30 PM, bhardy <
<email address hidden>> wrote:

> Question #197816 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/197816
>
> bhardy gave more information on the question:
> Will attempt Chris' multithreaded resize script over the next three days
> and will follow up on Tuesday.
>
> Thanks again Chris.
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp
>

--

Chris Brinley
Cleartrial

e: <email address hidden>
p: 312-460-3038
m: 219-789-2811

Revision history for this message
bhardy (bhardy) said :
#15

Chris, Does this only work with a certain version of python or a certain branch of graphite?

On my test VM I am running python 2.6.5 and it ran successfully.

On my prod system, I am running python 2.4.4 and an older version of graphite. Not sure if the structure of the whisper files has changed. It failed here with the error below. It had this failure both when I passed it a directory and a single wsp file.

Traceback (most recent call last):
  File "./whisper-multi-resize.py", line 212, in ?
    main()
  File "./whisper-multi-resize.py", line 197, in main
    options,args = collect_arguments()
  File "./whisper-multi-resize.py", line 134, in collect_arguments
    type='string', help="Change the aggregation function (%s)" %
AttributeError: 'module' object has no attribute 'aggregationMethods'

Revision history for this message
cbrinley (cbrinley) said :
#16

Yea its a newer version seems like. Can you let me know what version of
graphite your currently running?
On May 25, 2012 8:41 PM, "bhardy" <email address hidden>
wrote:

> Question #197816 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/197816
>
> Status: Answered => Open
>
> bhardy is still having a problem:
> Chris, Does this only work with a certain version of python or a certain
> branch of graphite?
>
> On my test VM I am running python 2.6.5 and it ran successfully.
>
> On my prod system, I am running python 2.4.4 and an older version of
> graphite. Not sure if the structure of the whisper files has changed.
> It failed here with the error below. It had this failure both when I
> passed it a directory and a single wsp file.
>
> Traceback (most recent call last):
> File "./whisper-multi-resize.py", line 212, in ?
> main()
> File "./whisper-multi-resize.py", line 197, in main
> options,args = collect_arguments()
> File "./whisper-multi-resize.py", line 134, in collect_arguments
> type='string', help="Change the aggregation function (%s)" %
> AttributeError: 'module' object has no attribute 'aggregationMethods'
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
bhardy (bhardy) said :
#17

Test VM: version='0.9.9 '
python 2.6.5
Centos 6.0

Prod: version='0.9.6'
python 2.4.4
Centos 5.5

Revision history for this message
cbrinley (cbrinley) said :
#18

Thanks I believe this mostly comes down to option differences. Ill try to
back port this change.
On May 25, 2012 9:06 PM, "bhardy" <email address hidden>
wrote:

> Question #197816 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/197816
>
> Status: Answered => Open
>
> bhardy is still having a problem:
> Test VM: version='0.9.9 '
> python 2.6.5
> Centos 6.0
>
> Prod: version='0.9.6'
> python 2.4.4
> Centos 5.5
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
bhardy (bhardy) said :
#19

Please let me know if you have any success. Thanks.

Revision history for this message
cbrinley (cbrinley) said :
#20

There were a few changes required and a 0.9.6 compatible version was
generated. If it works well we can think about adding it as a version
specific tool in contrib or something.

On Fri, May 25, 2012 at 9:10 PM, cbrinley <
<email address hidden>> wrote:

> Question #197816 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/197816
>
> Status: Open => Answered
>
> cbrinley proposed the following answer:
> Thanks I believe this mostly comes down to option differences. Ill try to
> back port this change.
> On May 25, 2012 9:06 PM, "bhardy" <email address hidden>
> wrote:
>
> > Question #197816 on Graphite changed:
> > https://answers.launchpad.net/graphite/+question/197816
> >
> > Status: Answered => Open
> >
> > bhardy is still having a problem:
> > Test VM: version='0.9.9 '
> > python 2.6.5
> > Centos 6.0
> >
> > Prod: version='0.9.6'
> > python 2.4.4
> > Centos 5.5
> >
> > --
> > You received this question notification because you are a member of
> > graphite-dev, which is an answer contact for Graphite.
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~graphite-dev
> > Post to : <email address hidden>
> > Unsubscribe : https://launchpad.net/~graphite-dev
> > More help : https://help.launchpad.net/ListHelp
> >
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp
>

--

Chris Brinley
Cleartrial

e: <email address hidden>
p: 312-460-3038
m: 219-789-2811

Revision history for this message
bhardy (bhardy) said :
#21

Chris, can you possibly shoot me the script via email. If so I can re-try over this long weekend and let you know how it goes.

Revision history for this message
bhardy (bhardy) said :
#22

Lesson learned, set your retention time as high as you can the first time.

What worked best and fastest for me was multiple find commands from a lower directory. So if all metrics were kept in /graphite I would run three or four of the commands below. This of course is based on what disk you are using. We are using SAN so I was able to knock it out rather fast.

find /graphite/metric_dir1 -name \*.wsp -exec /usr/bin/whisper-resize.py {} 60:525600 --nobackup \;
find /graphite/metric_dir2 -name \*.wsp -exec /usr/bin/whisper-resize.py {} 60:525600 --nobackup \;
find /graphite/metric_dir3 -name \*.wsp -exec /usr/bin/whisper-resize.py {} 60:525600 --nobackup \;

Thank you all for your feedback.

Revision history for this message
bhardy (bhardy) said :
#23

I will be out of the office and unreachable on 6/7 and 6/8. I will return to the office on 6/11.

Please reach out to the ESM team for any concerns. Thanks.

--Bryant

On May 27, 2012, at 3:25 PM, bhardy <email address hidden> wrote:

> Your question #197816 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/197816
>
>    Status: Answered => Open
>
> You are still having a problem:
> Chris, can you possibly shoot me the script via email.  If so I can re-
> try over this long weekend and let you know how it goes.
>
> --
> You received this question notification because you asked the question.

Revision history for this message
bhardy (bhardy) said :
#24

I will be out of the office and unreachable on 6/7 and 6/8. I will return to the office on 6/11.

Please reach out to the ESM team for any concerns. Thanks.

--Bryant

On May 27, 2012, at 3:15 PM, cbrinley <email address hidden> wrote:

Your question #197816 on Graphite changed:
https://answers.launchpad.net/graphite/+question/197816

   Status: Open => Answered

cbrinley proposed the following answer:
There were a few changes required and a 0.9.6 compatible version was
generated. If it works well we can think about adding it as a version
specific tool in contrib or something.

On Fri, May 25, 2012 at 9:10 PM, cbrinley <
<email address hidden>> wrote:

Question #197816 on Graphite changed:
https://answers.launchpad.net/graphite/+question/197816

   Status: Open => Answered

cbrinley proposed the following answer:
Thanks I believe this mostly comes down to option differences. Ill try to
back port this change.
On May 25, 2012 9:06 PM, "bhardy" <email address hidden>
wrote:

Question #197816 on Graphite changed:
https://answers.launchpad.net/graphite/+question/197816

  Status: Answered => Open

bhardy is still having a problem:
Test VM: version='0.9.9 '
python 2.6.5
Centos 6.0

Prod: version='0.9.6'
python 2.4.4
Centos 5.5

--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.

_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to : <email address hidden>
Unsubscribe : https://launchpad.net/~graphite-dev
More help : https://help.launchpad.net/ListHelp

--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.

_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to : <email address hidden>
Unsubscribe : https://launchpad.net/~graphite-dev
More help : https://help.launchpad.net/ListHelp

--

Chris Brinley
Cleartrial

e: <email address hidden>
p: 312-460-3038
m: 219-789-2811

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/graphite/+question/197816/+confirm?answer_id=19

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/graphite/+question/197816

You received this question notification because you asked the question.

Revision history for this message
bhardy (bhardy) said :
#25

I will be out of the office and unreachable on 6/7 and 6/8. I will return to the office on 6/11.

Please reach out to the ESM team for any concerns. Thanks.

--Bryant

On May 25, 2012, at 9:25 PM, bhardy <email address hidden> wrote:

> Your question #197816 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/197816
>
>    Status: Answered => Open
>
> You are still having a problem:
> Please let me know if you have any success.  Thanks.
>
> --
> You received this question notification because you asked the question.

Revision history for this message
bhardy (bhardy) said :
#26

I will be out of the office and unreachable on 6/7 and 6/8. I will return to the office on 6/11.

Please reach out to the ESM team for any concerns. Thanks.

--Bryant

On May 25, 2012, at 9:10 PM, cbrinley <email address hidden> wrote:

Your question #197816 on Graphite changed:
https://answers.launchpad.net/graphite/+question/197816

   Status: Open => Answered

cbrinley proposed the following answer:
Thanks I believe this mostly comes down to option differences. Ill try to
back port this change.
On May 25, 2012 9:06 PM, "bhardy" <email address hidden>
wrote:

Question #197816 on Graphite changed:
https://answers.launchpad.net/graphite/+question/197816

  Status: Answered => Open

bhardy is still having a problem:
Test VM: version='0.9.9 '
python 2.6.5
Centos 6.0

Prod: version='0.9.6'
python 2.4.4
Centos 5.5

--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.

_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to : <email address hidden>
Unsubscribe : https://launchpad.net/~graphite-dev
More help : https://help.launchpad.net/ListHelp

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/graphite/+question/197816/+confirm?answer_id=17

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/graphite/+question/197816

You received this question notification because you asked the question.

Revision history for this message
bhardy (bhardy) said :
#27

I will be out of the office and unreachable on 6/7 and 6/8. I will return to the office on 6/11.

Please reach out to the ESM team for any concerns. Thanks.

--Bryant

On May 25, 2012, at 9:05 PM, bhardy <email address hidden> wrote:

> Your question #197816 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/197816
>
>    Status: Answered => Open
>
> You are still having a problem:
> Test VM: version='0.9.9 '
> python 2.6.5
> Centos 6.0
>
> Prod:  version='0.9.6'
> python 2.4.4
> Centos 5.5
>
> --
> You received this question notification because you asked the question.

Revision history for this message
bhardy (bhardy) said :
#28

I will be out of the office and unreachable on 6/7 and 6/8. I will return to the office on 6/11.

Please reach out to the ESM team for any concerns. Thanks.

--Bryant

On May 25, 2012, at 8:50 PM, cbrinley <email address hidden> wrote:

Your question #197816 on Graphite changed:
https://answers.launchpad.net/graphite/+question/197816

   Status: Open => Answered

cbrinley proposed the following answer:
Yea its a newer version seems like. Can you let me know what version of
graphite your currently running?
On May 25, 2012 8:41 PM, "bhardy" <email address hidden>
wrote:

Question #197816 on Graphite changed:
https://answers.launchpad.net/graphite/+question/197816

  Status: Answered => Open

bhardy is still having a problem:
Chris, Does this only work with a certain version of python or a certain
branch of graphite?

On my test VM I am running python 2.6.5 and it ran successfully.

On my prod system, I am running python 2.4.4 and an older version of
graphite. Not sure if the structure of the whisper files has changed.
It failed here with the error below. It had this failure both when I
passed it a directory and a single wsp file.

Traceback (most recent call last):
File "./whisper-multi-resize.py", line 212, in ?
  main()
File "./whisper-multi-resize.py", line 197, in main
  options,args = collect_arguments()
File "./whisper-multi-resize.py", line 134, in collect_arguments
  type='string', help="Change the aggregation function (%s)" %
AttributeError: 'module' object has no attribute 'aggregationMethods'

--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.

_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to : <email address hidden>
Unsubscribe : https://launchpad.net/~graphite-dev
More help : https://help.launchpad.net/ListHelp

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/graphite/+question/197816/+confirm?answer_id=15

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/graphite/+question/197816

You received this question notification because you asked the question.

Revision history for this message
bhardy (bhardy) said :
#29

I will be out of the office and unreachable on 6/7 and 6/8. I will return to the office on 6/11.

Please reach out to the ESM team for any concerns. Thanks.

--Bryant

On May 25, 2012, at 8:40 PM, bhardy <email address hidden> wrote:

> Your question #197816 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/197816
>
>    Status: Answered => Open
>
> You are still having a problem:
> Chris, Does this only work with a certain version of python or a certain
> branch of graphite?
>
> On my test VM I am running python 2.6.5 and it ran successfully.
>
> On my prod system, I am running python 2.4.4 and an older version of
> graphite.  Not sure if the structure of the whisper files has changed.
> It failed here with the error below.  It had this failure both when I
> passed it a directory and a single wsp file.
>
> Traceback (most recent call last):
>  File "./whisper-multi-resize.py", line 212, in ?
>    main()
>  File "./whisper-multi-resize.py", line 197, in main
>    options,args = collect_arguments()
>  File "./whisper-multi-resize.py", line 134, in collect_arguments
>    type='string', help="Change the aggregation function (%s)" %
> AttributeError: 'module' object has no attribute 'aggregationMethods'
>
> --
> You received this question notification because you asked the question.

Revision history for this message
bhardy (bhardy) said :
#30

I will be out of the office and unreachable on 6/7 and 6/8. I will return to the office on 6/11.

Please reach out to the ESM team for any concerns. Thanks.

--Bryant

On May 25, 2012, at 4:11 PM, cbrinley <email address hidden> wrote:

Your question #197816 on Graphite changed:
https://answers.launchpad.net/graphite/+question/197816

   Status: Open => Answered

cbrinley proposed the following answer:
Great thanks for the feedback. please let me know if you do run into
trouble.

take care,

On Fri, May 25, 2012 at 3:30 PM, bhardy <
<email address hidden>> wrote:

Question #197816 on Graphite changed:
https://answers.launchpad.net/graphite/+question/197816

bhardy gave more information on the question:
Will attempt Chris' multithreaded resize script over the next three days
and will follow up on Tuesday.

Thanks again Chris.

--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.

_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to : <email address hidden>
Unsubscribe : https://launchpad.net/~graphite-dev
More help : https://help.launchpad.net/ListHelp

--

Chris Brinley
Cleartrial

e: <email address hidden>
p: 312-460-3038
m: 219-789-2811

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/graphite/+question/197816/+confirm?answer_id=13

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/graphite/+question/197816

You received this question notification because you asked the question.

Revision history for this message
bhardy (bhardy) said :
#31

I will be out of the office and unreachable on 6/7 and 6/8. I will return to the office on 6/11.

Please reach out to the ESM team for any concerns. Thanks.

--Bryant

On May 25, 2012, at 3:30 PM, bhardy <email address hidden> wrote:

> Your question #197816 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/197816
>
> You gave more information on the question:
> Will attempt Chris' multithreaded resize script over the next three days
> and will follow up on Tuesday.
>
> Thanks again Chris.
>
> --
> You received this question notification because you asked the question.