Skip to content

[BEAM-1928] Add PCollections Utilities#2516

Closed
tgroh wants to merge 2 commits intoapache:masterfrom
tgroh:pcollections_utilities
Closed

[BEAM-1928] Add PCollections Utilities#2516
tgroh wants to merge 2 commits intoapache:masterfrom
tgroh:pcollections_utilities

Conversation

@tgroh
Copy link
Member

@tgroh tgroh commented Apr 12, 2017

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.

Convert a PCollection into a Proto

@tgroh
Copy link
Member Author

tgroh commented Apr 12, 2017

R: @lukecwik

@tgroh tgroh force-pushed the pcollections_utilities branch 4 times, most recently from 72740a1 to 9454dd3 Compare April 12, 2017 20:43
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 9454dd3 on tgroh:pcollections_utilities into ** on apache:master**.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 70.576% when pulling 9454dd3 on tgroh:pcollections_utilities into 1788cef on apache:master.

@asfbot
Copy link

asfbot commented Apr 12, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/9472/

Build result: FAILURE

[...truncated 1.40 MB...] at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) at sun.security.ssl.InputRecord.readV3Record(InputRecord.java:593) at sun.security.ssl.InputRecord.read(InputRecord.java:532) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930) at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) at org.apache.maven.wagon.providers.http.httpclient.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:136) at org.apache.maven.wagon.providers.http.httpclient.impl.io.SessionInputBufferImpl.read(SessionInputBufferImpl.java:195) at org.apache.maven.wagon.providers.http.httpclient.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:178) at org.apache.maven.wagon.providers.http.httpclient.conn.EofSensorInputStream.read(EofSensorInputStream.java:137) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:531) at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:353) ... 13 more2017-04-12T21:14:19.991 [ERROR] 2017-04-12T21:14:19.991 [ERROR] Re-run Maven using the -X switch to enable full debug logging.2017-04-12T21:14:19.991 [ERROR] 2017-04-12T21:14:19.991 [ERROR] For more information about the errors and possible solutions, please read the following articles:2017-04-12T21:14:19.991 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException2017-04-12T21:14:19.991 [ERROR] 2017-04-12T21:14:19.991 [ERROR] After correcting the problems, you can resume the build with the command2017-04-12T21:14:19.991 [ERROR] mvn -rf :beam-sdks-java-io-hbasechannel stoppedSetting status of 02911b4 to FAILURE with url https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/9472/ and message: 'Build finished. 'Using context: Jenkins: Maven clean install
--none--

@coveralls
Copy link

Coverage Status

Coverage remained the same at 70.587% when pulling 9454dd3 on tgroh:pcollections_utilities into 1788cef on apache:master.

@asfbot
Copy link

asfbot commented Apr 12, 2017

@asfbot
Copy link

asfbot commented Apr 12, 2017

@asfbot
Copy link

asfbot commented Apr 12, 2017

@coveralls
Copy link

Coverage Status

Coverage increased (+0.003%) to 70.59% when pulling 9454dd3 on tgroh:pcollections_utilities into 1788cef on apache:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.003%) to 70.583% when pulling 9454dd3 on tgroh:pcollections_utilities into 1788cef on apache:master.

@tgroh tgroh force-pushed the pcollections_utilities branch from 9454dd3 to 8565425 Compare April 13, 2017 00:44
@tgroh
Copy link
Member Author

tgroh commented Apr 13, 2017

Rebased on top of #2517.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.007%) to 70.082% when pulling 8565425 on tgroh:pcollections_utilities into dc672f4 on apache:master.

@asfbot
Copy link

asfbot commented Apr 13, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/9485/
--none--

Convert a PCollection into a Proto
@tgroh tgroh force-pushed the pcollections_utilities branch from 8565425 to 1663e03 Compare April 13, 2017 16:15
@asfbot
Copy link

asfbot commented Apr 13, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/9496/

Build result: FAILURE

[...truncated 2.31 MB...] at java.lang.Thread.run(Thread.java:745)Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed. at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:302) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 31 moreCaused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711) at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289) ... 33 more2017-04-13T16:59:40.131 [ERROR] 2017-04-13T16:59:40.131 [ERROR] Re-run Maven using the -X switch to enable full debug logging.2017-04-13T16:59:40.131 [ERROR] 2017-04-13T16:59:40.131 [ERROR] For more information about the errors and possible solutions, please read the following articles:2017-04-13T16:59:40.131 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException2017-04-13T16:59:40.132 [ERROR] 2017-04-13T16:59:40.132 [ERROR] After correcting the problems, you can resume the build with the command2017-04-13T16:59:40.132 [ERROR] mvn -rf :beam-sdks-pythonchannel stoppedSetting status of 1663e03 to FAILURE with url https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/9496/ and message: 'Build finished. 'Using context: Jenkins: Maven clean install
--none--

@tgroh
Copy link
Member Author

tgroh commented Apr 13, 2017

retest this please

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 1663e03 on tgroh:pcollections_utilities into ** on apache:master**.

@asfbot
Copy link

asfbot commented Apr 13, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/9504/
--none--

Copy link
Member

@lukecwik lukecwik left a comment

Choose a reason for hiding this comment

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

Minor comments and then LGTM

return IsBounded.UNBOUNDED;
case UNRECOGNIZED:
default:
// Whether or not it is proto that cannot recognize it (due to the version of the
Copy link
Member

Choose a reason for hiding this comment

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

Whether or not it is proto that cannot recognize it -> Whether or this enum cannot be recognized

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.


@Test
public void registerPCollectionExistingNameCollision() {
public void registerPCollectionExistingNameCollision() throws IOException {
Copy link
Member

Choose a reason for hiding this comment

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

nit: remove extra space between () and throws

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

@lukecwik
Copy link
Member

LGTM

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 1c13212 on tgroh:pcollections_utilities into ** on apache:master**.

@asfbot
Copy link

asfbot commented Apr 14, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/9529/
--none--

@asfgit asfgit closed this in eea96ff Apr 14, 2017
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