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

feature/320_die_if_no_logs #337

Merged
merged 19 commits into from
Mar 18, 2015
Merged

Conversation

frbattid
Copy link
Member

@frbattid frbattid commented Mar 5, 2015

Results :
Tests run: 45, Failures: 0, Errors: 0, Skipped: 0
  • (Unofficial) e2e tests passed (emulating a persistence error, ttl=2)
Starting an ordered shutdown of Cygnus
Stopping sources
Stopping http-source (lyfecycle state=START)
There are 1 events within hdfs-channel, Cygnus cannnot shutdown yet
Waiting 5 seconds
There are 1 events within hdfs-channel, Cygnus cannnot shutdown yet
Waiting 5 seconds
There are 1 events within hdfs-channel, Cygnus cannnot shutdown yet
Waiting 5 seconds
All the channels are empty
Stopping channels
Stopping hdfs-channel (lyfecycle state=START)
Stopping sinks
Stopping hdfs-sink (lyfecycle state=START)

info("[" + componentName + "] " + message);
} catch (Exception e) {
if (shutdown) {
System.err.println("A problem with the logging system was found... shutting down Cygnus right now!");
Copy link
Member

Choose a reason for hiding this comment

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

Maybe you should also print the Exception trace/information to provide more information to the administrator reading the mesage?

Copy link
Member Author

Choose a reason for hiding this comment

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

@gtorodelvalle
Copy link
Member

Sorry for commenting on the commits :( I left-click-opened them and start commenting there :( I will comment on the pull request "File changed" tab from now on ;)

Anyhow, I think all my comments are included so LGTM on my side ;) Thanks @frbattid ;)

frb added 2 commits March 16, 2015 12:17
Conflicts:
	flume/CHANGES_NEXT_RELEASE
	flume/src/main/java/es/tid/fiware/fiwareconnectors/cygnus/sinks/OrionSink.java
@frbattid
Copy link
Member Author

Please ignore the following commits:

@fgalan
Copy link
Member

fgalan commented Mar 17, 2015

LGTM

(Although @gtorodelvalle also told LGTM, not sure if I should merge, given the 8 commits since that point. If you want me to merge, just tell me).

@gtorodelvalle
Copy link
Member

LGTM on my side too after @frbattid comments to mine ;)

Passing the merging over to @fgalan in case you want to do a final check with regard to those new commits :) Thanks!

@gtorodelvalle
Copy link
Member

After discussing it with @frbattid , we're pretty confident about the PR and I am merging it ;) Thanks @frbattid ! :)

gtorodelvalle added a commit that referenced this pull request Mar 18, 2015
@gtorodelvalle gtorodelvalle merged commit fd72d31 into develop Mar 18, 2015
@gtorodelvalle gtorodelvalle deleted the feature/320_die_if_no_logs branch March 18, 2015 10:18
gtorodelvalle added a commit that referenced this pull request Dec 1, 2015
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