Skip to content

[BEAM-4689] Reverts change of SDF key type#5834

Merged
jkff merged 1 commit intoapache:masterfrom
jkff:sdf-df
Jun 29, 2018
Merged

[BEAM-4689] Reverts change of SDF key type#5834
jkff merged 1 commit intoapache:masterfrom
jkff:sdf-df

Conversation

@jkff
Copy link
Contributor

@jkff jkff commented Jun 29, 2018

This stops the bleeding https://issues.apache.org/jira/browse/BEAM-4689

With this change, Dataflow SDFs work, but ULR SDF test also works.

That said, this will not work with SDF implementations in other language SDK harnesses because String is not a well-known type (which was the reason for changing it to byte[]). We'll need to resolve that later.

R: @lukecwik

@jkff jkff requested a review from lukecwik June 29, 2018 19:23
@jkff
Copy link
Contributor Author

jkff commented Jun 29, 2018

Run Dataflow ValidatesRunner

shadow library.java.joda_time
shadow library.java.slf4j_api
shadow project(path: ":beam-runners-direct-java", configuration: "shadow")
shadow project(path: ":beam-runners-google-cloud-dataflow-java", configuration: "shadow")
Copy link
Member

Choose a reason for hiding this comment

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

I don't think you intended to make this change.

PipelineOptions options = PipelineOptionsFactory.create();

// In order to run your pipeline, you need to make following runner specific changes:
//
Copy link
Member

Choose a reason for hiding this comment

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

I don't think you intended to make this change.

@jkff
Copy link
Contributor Author

jkff commented Jun 29, 2018

Reverted the unrelated changes, PTAL.

@lukecwik
Copy link
Member

Run Dataflow ValidatesRunner

@jkff
Copy link
Contributor Author

jkff commented Jun 29, 2018

VR test didn't propagate to Github but I found it and it's running here https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Gradle_PR/5/

@jkff
Copy link
Contributor Author

jkff commented Jun 29, 2018

Run Java PreCommit

@jkff
Copy link
Contributor Author

jkff commented Jun 29, 2018

Run Flink ValidatesRunner

@jkff
Copy link
Contributor Author

jkff commented Jun 29, 2018

Dataflow SDF tests passed (looking at console output in the link above), and the only error in the Java precommit was a compile error in Apex runner - I'm going to merge this after the Java precommit turns green.

@jkff
Copy link
Contributor Author

jkff commented Jun 29, 2018

Java precommit is stable. Merging

@jkff jkff merged commit 2820bab into apache:master Jun 29, 2018
@jkff jkff deleted the sdf-df branch June 29, 2018 23:54
@kennknowles
Copy link
Member

FWIW I think you may have reverted the unrelated parts locally and not pushed them. I get compile failures in the example locally; not sure how precommit was/is stable.

@kennknowles
Copy link
Member

Curiously enough :beam-examples-java-compileJava at the same lastest master reliably fails on my workstation and reliably succeeds on my laptop. Not a clue why. I'm still going to revert the changes that seem like they don't make sense here.

charlesccychen pushed a commit to charlesccychen/beam that referenced this pull request Jul 26, 2018
… type

[BEAM-4689] Reverts change of SDF key type
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.

3 participants