Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make poll_aws.juttle a shell script. #71

Merged
merged 3 commits into from Mar 4, 2016
Merged

Make poll_aws.juttle a shell script. #71

merged 3 commits into from Mar 4, 2016

Conversation

mstemm
Copy link

@mstemm mstemm commented Mar 4, 2016

Rename poll_aws.juttle.skip to poll_aws.sh so it won't be exposed in
the file explorer.

Also, move the sleep/echo into that script.

@demmer this is what we discussed earlier.

Rename poll_aws.juttle.skip to poll_aws.sh so it won't be exposed in
the file explorer.

Also, move the sleep/echo into that script.
| AWS.aggregate_all
| write mysql -table 'aws_aggregation';

" && tail -f /dev/null
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this for?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So even if something goes wrong with the juttle program, the container will stay alive so you can exec into it to diagnose.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And now it actually does that instead of by using &&.

Mark Stemm added 2 commits March 4, 2016 13:37
&& won't work if the juttle program exits non-zero, so just separate
with semicolon.
If the poller juttle process does actually exit, echo a message saying
so.
@rlgomes
Copy link
Contributor

rlgomes commented Mar 4, 2016

why is the explorer showing a file that doesn't end in .juttle ? just because juttle is in the name its getting picked up ?

@mstemm
Copy link
Author

mstemm commented Mar 4, 2016

Yes the explorer shows all files ending in .juttle. It used to end in .juttle, so I had it renamed to .juttle.skip. But now it's just a shell script so it won't show up.

mstemm pushed a commit that referenced this pull request Mar 4, 2016
Make poll_aws.juttle a shell script.
@mstemm mstemm merged commit 43ca782 into master Mar 4, 2016
@mstemm mstemm deleted the aws-examples-fixes branch March 4, 2016 23:23
@mstemm mstemm removed the in progress label Mar 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants