Skip to content

[BEAM-330] Port cleanupDaemonThreads fix to archetype module#444

Closed
swegner wants to merge 7 commits intoapache:masterfrom
swegner:mvnexec-archetypes
Closed

[BEAM-330] Port cleanupDaemonThreads fix to archetype module#444
swegner wants to merge 7 commits intoapache:masterfrom
swegner:mvnexec-archetypes

Conversation

@swegner
Copy link
Contributor

@swegner swegner commented Jun 10, 2016

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

  • Make sure the PR title is formatted like:
    [BEAM-<Jira issue #>] Description of pull request
  • Make sure tests pass via mvn clean verify. (Even better, enable
    Travis-CI on your fork and ensure the whole test matrix passes).
  • Replace <Jira issue #> in the title with the actual Jira issue
    number, if there is one.
  • If this contribution is large, please file an Apache
    Individual Contributor License Agreement.

@swegner
Copy link
Contributor Author

swegner commented Jun 10, 2016

R: @dhalperi
CC: @kennknowles

@lukecwik
Copy link
Member

Don't we also want this in the starter module in addition to the examples module?

</plugin>
</plugins>

<pluginManagement>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is what I expect is the minimal configuration needed from the parent pom.xml. I'm not familiar with archetype projects; @dhalperi, do you know how to test that this works?

Copy link
Member

Choose a reason for hiding this comment

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

Looks like there is enough testing that this already failed. So that's good news. To fix the issue that showed up, you'll need another layer of <plugins></plugins> between <pluginManagement> and <plugin>.

@dhalperi
Copy link
Contributor

R: @lukecwik -@dhalperi

Luke should review this and make sure it's all set.

@swegner
Copy link
Contributor Author

swegner commented Jun 10, 2016

Ok, this is finally working. @lukecwik PTAL

Verified by locally changing the Beam pom.xml versions from 0.1-incubating-SNAPSHOT to 0.1-incubating, installing, and running the following commands:

mvn archetype:generate -DarchetypeGroupId=org.apache.beam -DarchetypeArtifactId=beam-sdks-java-maven-archetypes-examples -DgroupId=com.example -DartifactId=second-dataflow -Dversion="[1.0.0,2.0.0)" -DinteractiveMode=false

mvn compile exec:java
-Dexec.mainClass=com.example.WordCount
-Dexec.args="--project=cloud-millwheel
--stagingLocation=gs://dataflow-cloud-millwheel/staging/
--output=gs://dataflow-cloud-millwheel/output
--runner=BlockingDataflowPipelineRunner"

#
package=it.pkg
version=0.1-SNAPSHOT
version=0.1
Copy link
Contributor

Choose a reason for hiding this comment

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

why this change? I think SNAPSHOT should be there.

But maybe it should be 0.2-SNAPSHOT?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the template pom.xml that will become part of the user's project, and thus should be separate from the versioning of Beam. The versioning for the user project is somewhat arbitrary, but it should represent "the first version for a new project", so 0.1 makes sense to me.

At any rate, we don't need this change coupled to this bug fix. I'll remove it here and file a separate bug.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Make that [BEAM-339].

@swegner
Copy link
Contributor Author

swegner commented Jun 13, 2016

@lukecwik PTAL; I believe this should be ready to go in once Jenkin goes green

@swegner swegner force-pushed the mvnexec-archetypes branch from fd1756a to 52496d2 Compare June 13, 2016 16:13
@lukecwik
Copy link
Member

LGTM, will merge after checks go green

@asfgit asfgit closed this in fe5b8db Jun 13, 2016
@swegner
Copy link
Contributor Author

swegner commented Jun 13, 2016

Backport: GoogleCloudPlatform/DataflowJavaSDK#302

@swegner swegner deleted the mvnexec-archetypes branch July 7, 2016 16:44
lukecwik referenced this pull request in lukecwik/incubator-beam Oct 13, 2016
Remove RunnableOnService with tests with ExpectedException
damccorm pushed a commit that referenced this pull request Apr 12, 2023
)

* removed goToContextLine

* PG analytics refactoring (#24901) (#24924):
AnalyticsEvent and AnalyticsService in PGC,
feedback split,
GetIt instead of Provider

* AnalyticsCategories, AnalyticsEvents (#24924)

* comment fixes (#24924)

* renamed playground demo widget (#24924)

* tob analytics, generic analytics, events, categories (#24924)

* deleted GenericAnalyticsService (#24924)

* trackRunExample usage (#24924)

* added events (#24924)

* new pubspec.lock (#24924)

* open and complete unit event implementations (#24924)

* time spent in unit on close (#24924)

* on before load to track time on close (#24924)

* _onTabClosed (#24924)

* comment fixes (#24924)

* comment fixes (#24924)

* made test tasks work (#24924)

* Use Google Analytics 4 JS in Playground (#24924)

* Update staging URLs and Google Analytics property ID (#24924)

* Fix Playground integation tests (#24924)

* Disable old Tour of Beam analytics (#24924)

* Clean up (#24924)

* Fix notifying when window closes (#24924)

* Submit page layout to analytics (#24924)

* Address review comments (#24924)

* Upgrade Flutter to 3.7.2 (#24924)

* Upgrade integration tests to Flutter 3.7.3

* Clean up (#24924)

* Use the production Google Analytics property, rename event parameters (#24924)

* Add LoadedAnalyticsEvent (#24924)

* Fix (#24924)

* [Tour of Beam] [Frontend] Tour of Beam Analytics (#431)

* tob event context (#25466)

* flutter v3.7.3 upgrade (#25466)

* BeamRunShortcut (#25466)

* comment fixes (#25466)

* tob app name for analytics parameter (#25466)

* comment fixes (#25466)

* the rest of tob events except for example modified (#25466)

* questioned print (#25466)

* additionalParams in SnippetModifiedAnalyticsEvent (#25466)

* comment fixes & renamed events to past tense (#25466)

* comment fixes (#25466)

* reportIssueClicked (#25466)

* sort BeamAnalyticsEvents (#25466)

---------

Co-authored-by: darkhan.nausharipov <darkhan.nausharipov@kzn.akvelon.com>

* Fix Run hot key (#24924)

* Address review comments (#24924)

* Added comments (#24924)

* Added comments (#24924)

* Add comments (#24924)

* Fix SDK switching (#24924)

* Fix integration tests (#24924)

* Test analytics events for feedback, report issue, and external url navigation (#24924) (#444)

* Test analytics events for feedback, report issue, and external url navigation (#24924)

* Test for run_started, run_finished, run_cancelled, loaded, sdk_selected, snippet_selected events (#24924)

* Fix a run test (#24924)

* Fix a test (#24924)

* Fix a test (#24924)

* Test for theme_set, new_example, and shortcuts analytics events (#24924)

* Test code sharing (#24924)

* Test for snippet_modified and snippet_reset events (#24924)

* Clean up (#24924)

* Clean up (#24924)

* Fix tests (#24924)

* Differentiate production and dev analytics (#24924)

---------

Co-authored-by: darkhan.nausharipov <darkhan.nausharipov@kzn.akvelon.com>
Co-authored-by: Alexey Inkin <alexey.inkin@akvelon.com>
Co-authored-by: alexeyinkin <leha@inkin.ru>
pl04351820 pushed a commit to pl04351820/beam that referenced this pull request Dec 20, 2023
* chore: reference main branch of google-cloud-python

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* Update README.rst

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
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.

4 participants