-
Notifications
You must be signed in to change notification settings - Fork 25
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
Controller not listening to Pub/Sub commands #4
Comments
yes, sorry, the controller pipeline has not yet been updated (after a recent upgrade from a pre 2.x SDK to a 2.2 SDK). For the time being, launch the IndexerPipeline directly using the example in the Release Notes for version 0.6.4 https://github.com/GoogleCloudPlatform/dataflow-opinion-analysis/releases/tag/v0.6.4 e.g. using mvn compile exec:java I will make a note in README not to run the controller pipeline but instead to start the IndexerPipeline |
So I tried modifying
Maybe it needs some additional flags that aren't in those release notes? You may be adding this to the README and I can check it there |
Just insert something like this into the shell script (and make sure the $ variables are set) mvn compile exec:java |
Oh actually that worked - I thought I looked closely enough to see the flags were the same there as the existing template, but I guess not, thanks! |
glad to hear, and sorry for the issue with the controller. I meant to fix it earlier |
no problem - I just wanted a baseline of something working so I can start to modify from here to handle our use case, so now that I've seen this working, I'm good. Only other issue I noticed by the way is the instructions to run:
Since this contains repeated fields we get an error like this" I really hate that select * doesn't do some default flattening in BQ, and I didn't do the work to come up with a query and just used the preview pane instead. Thanks! |
Uncheck the "Use Legacy SQL" checkbox so that BigQuery uses Standard SQL for that query. You can do that by going to "Show Options" |
But, good point, I will add the |
🎆 i did not know about unchecking Legacy SQL being a fix to this - thanks for that tip! 🎆 |
This is a great and well documented example - much appreciated!
I am having trouble however with the Run a verification job step. When I publish the
command=start_gcs_import
message to theindexercommands
topic I do not get a new input job created. I tried out the cron jobs to see if those were working, and I can see a new job created forstartstatscalc
only - not the others. I feel like I must have messed up some config step along the way.Do you have tips for how to debug what is happening? I am not seeing any sort of logging to help me debug, but that's where I'd think to look first. It feels like the controller must not be listening for the topics correctly though...
Thanks!
The text was updated successfully, but these errors were encountered: