[jira] [Commented] (BEAM-7042) [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are way fatter and conflicting than before

2019-04-10 Thread Michael Luckey (JIRA)


[ 
https://issues.apache.org/jira/browse/BEAM-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16814362#comment-16814362
 ] 

Michael Luckey commented on BEAM-7042:
--

Opened a PR. If it breaks, we might know, why it was added.

https://github.com/apache/beam/pull/8268

> [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are 
> way fatter and conflicting than before
> ---
>
> Key: BEAM-7042
> URL: https://issues.apache.org/jira/browse/BEAM-7042
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-java-core
>Reporter: Romain Manni-Bucau
>Assignee: Reuven Lax
>Priority: Major
> Fix For: 2.13.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Hi guys,
> seems current sdk brings antlr and its transitive deps which is quite 
> unlikely and has a huge probability to conflict (antlt, jsonp in an outdated 
> version at least for the one breaking my apps)
> can it be cleaned up for the 2.12 to avoid to break application please?
> Thanks,
> Romain



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (BEAM-7042) [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are way fatter and conflicting than before

2019-04-10 Thread Michael Luckey (JIRA)


[ 
https://issues.apache.org/jira/browse/BEAM-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16814354#comment-16814354
 ] 

Michael Luckey commented on BEAM-7042:
--

I think this could be caused by [1]

[~reuvenlax] do you remember, why this was added? Should we only require 
runtime?

[1] 
https://github.com/apache/beam/pull/7635/files#diff-9390c20635aed5f42f83b97506a87333



> [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are 
> way fatter and conflicting than before
> ---
>
> Key: BEAM-7042
> URL: https://issues.apache.org/jira/browse/BEAM-7042
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-java-core
>Reporter: Romain Manni-Bucau
>Assignee: Reuven Lax
>Priority: Major
> Fix For: 2.13.0
>
>
> Hi guys,
> seems current sdk brings antlr and its transitive deps which is quite 
> unlikely and has a huge probability to conflict (antlt, jsonp in an outdated 
> version at least for the one breaking my apps)
> can it be cleaned up for the 2.12 to avoid to break application please?
> Thanks,
> Romain



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (BEAM-7042) [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are way fatter and conflicting than before

2019-04-10 Thread JIRA


[ 
https://issues.apache.org/jira/browse/BEAM-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16814191#comment-16814191
 ] 

Ismaël Mejía commented on BEAM-7042:


Pinging [~michel] to see if he can help make sens on this. Maybe the gradle 
guys fixed some issue between time and now this is evident.

> [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are 
> way fatter and conflicting than before
> ---
>
> Key: BEAM-7042
> URL: https://issues.apache.org/jira/browse/BEAM-7042
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-java-core
>Reporter: Romain Manni-Bucau
>Assignee: Reuven Lax
>Priority: Major
> Fix For: 2.13.0
>
>
> Hi guys,
> seems current sdk brings antlr and its transitive deps which is quite 
> unlikely and has a huge probability to conflict (antlt, jsonp in an outdated 
> version at least for the one breaking my apps)
> can it be cleaned up for the 2.12 to avoid to break application please?
> Thanks,
> Romain



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (BEAM-7042) [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are way fatter and conflicting than before

2019-04-10 Thread Reuven Lax (JIRA)


[ 
https://issues.apache.org/jira/browse/BEAM-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16814115#comment-16814115
 ] 

Reuven Lax commented on BEAM-7042:
--

I'm trying to figure this out. The last PR that changed the antlr rules
went in on Jan 25 - before Beam 2.10 - and even that one didn't modify the
antlr dependency. The antlr dependency has been fixed at antlr 4.7 since
Jan 15. I'm not entirely sure how you could see this in 2.12 and not in
2.10 or 2.11. The only PR I can find that could maybe have an effect, is
that Gradle was upgraded from Gradle 4 to Gradle 5.

On Tue, Apr 9, 2019, 9:47 PM Romain Manni-Bucau (JIRA) 



> [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are 
> way fatter and conflicting than before
> ---
>
> Key: BEAM-7042
> URL: https://issues.apache.org/jira/browse/BEAM-7042
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-java-core
>Reporter: Romain Manni-Bucau
>Assignee: Reuven Lax
>Priority: Major
> Fix For: 2.13.0
>
>
> Hi guys,
> seems current sdk brings antlr and its transitive deps which is quite 
> unlikely and has a huge probability to conflict (antlt, jsonp in an outdated 
> version at least for the one breaking my apps)
> can it be cleaned up for the 2.12 to avoid to break application please?
> Thanks,
> Romain



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (BEAM-7042) [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are way fatter and conflicting than before

2019-04-09 Thread Romain Manni-Bucau (JIRA)


[ 
https://issues.apache.org/jira/browse/BEAM-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16814034#comment-16814034
 ] 

Romain Manni-Bucau commented on BEAM-7042:
--

[~reuvenlax] as mentionned it is a regression so a blocker. It was NOT the case 
in 2.10 and 2.11.

> [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are 
> way fatter and conflicting than before
> ---
>
> Key: BEAM-7042
> URL: https://issues.apache.org/jira/browse/BEAM-7042
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-java-core
>Reporter: Romain Manni-Bucau
>Assignee: Reuven Lax
>Priority: Major
> Fix For: 2.13.0
>
>
> Hi guys,
> seems current sdk brings antlr and its transitive deps which is quite 
> unlikely and has a huge probability to conflict (antlt, jsonp in an outdated 
> version at least for the one breaking my apps)
> can it be cleaned up for the 2.12 to avoid to break application please?
> Thanks,
> Romain



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (BEAM-7042) [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are way fatter and conflicting than before

2019-04-09 Thread Kenneth Knowles (JIRA)


[ 
https://issues.apache.org/jira/browse/BEAM-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813947#comment-16813947
 ] 

Kenneth Knowles commented on BEAM-7042:
---

Vendoring == an empty project with a bundled + relocated dependency on antlr 
support libs (and transitive deps). See Guava for example.

> [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are 
> way fatter and conflicting than before
> ---
>
> Key: BEAM-7042
> URL: https://issues.apache.org/jira/browse/BEAM-7042
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-java-core
>Reporter: Romain Manni-Bucau
>Assignee: Reuven Lax
>Priority: Major
> Fix For: 2.13.0
>
>
> Hi guys,
> seems current sdk brings antlr and its transitive deps which is quite 
> unlikely and has a huge probability to conflict (antlt, jsonp in an outdated 
> version at least for the one breaking my apps)
> can it be cleaned up for the 2.12 to avoid to break application please?
> Thanks,
> Romain



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (BEAM-7042) [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are way fatter and conflicting than before

2019-04-09 Thread Reuven Lax (JIRA)


[ 
https://issues.apache.org/jira/browse/BEAM-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813875#comment-16813875
 ] 

Reuven Lax commented on BEAM-7042:
--

Given that Antlr has been part of core since 2.10, I don't think this is a
release blocker. We should fix this bogus dependency on jsonp, but for now
I'll move this bug to the next release.

On Tue, Apr 9, 2019 at 3:33 PM Andrew Pilloud (JIRA) 



> [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are 
> way fatter and conflicting than before
> ---
>
> Key: BEAM-7042
> URL: https://issues.apache.org/jira/browse/BEAM-7042
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-java-core
>Reporter: Romain Manni-Bucau
>Assignee: Reuven Lax
>Priority: Major
> Fix For: 2.12.0
>
>
> Hi guys,
> seems current sdk brings antlr and its transitive deps which is quite 
> unlikely and has a huge probability to conflict (antlt, jsonp in an outdated 
> version at least for the one breaking my apps)
> can it be cleaned up for the 2.12 to avoid to break application please?
> Thanks,
> Romain



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (BEAM-7042) [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are way fatter and conflicting than before

2019-04-09 Thread Andrew Pilloud (JIRA)


[ 
https://issues.apache.org/jira/browse/BEAM-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813864#comment-16813864
 ] 

Andrew Pilloud commented on BEAM-7042:
--

Hello, I'm about to cut RC3. Is this really a release blocker?

> [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are 
> way fatter and conflicting than before
> ---
>
> Key: BEAM-7042
> URL: https://issues.apache.org/jira/browse/BEAM-7042
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-java-core
>Reporter: Romain Manni-Bucau
>Priority: Major
> Fix For: 2.12.0
>
>
> Hi guys,
> seems current sdk brings antlr and its transitive deps which is quite 
> unlikely and has a huge probability to conflict (antlt, jsonp in an outdated 
> version at least for the one breaking my apps)
> can it be cleaned up for the 2.12 to avoid to break application please?
> Thanks,
> Romain



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (BEAM-7042) [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are way fatter and conflicting than before

2019-04-09 Thread Romain Manni-Bucau (JIRA)


[ 
https://issues.apache.org/jira/browse/BEAM-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813806#comment-16813806
 ] 

Romain Manni-Bucau commented on BEAM-7042:
--

[~reuvenlax] no, dont mix consumer and producer. Antlr was not added to poms so 
consumers were safe. This is no more true. Guess relocation/vendoring work 
broke something?

> [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are 
> way fatter and conflicting than before
> ---
>
> Key: BEAM-7042
> URL: https://issues.apache.org/jira/browse/BEAM-7042
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-java-core
>Reporter: Romain Manni-Bucau
>Priority: Major
> Fix For: 2.12.0
>
>
> Hi guys,
> seems current sdk brings antlr and its transitive deps which is quite 
> unlikely and has a huge probability to conflict (antlt, jsonp in an outdated 
> version at least for the one breaking my apps)
> can it be cleaned up for the 2.12 to avoid to break application please?
> Thanks,
> Romain



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (BEAM-7042) [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are way fatter and conflicting than before

2019-04-09 Thread Reuven Lax (JIRA)


[ 
https://issues.apache.org/jira/browse/BEAM-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813669#comment-16813669
 ] 

Reuven Lax commented on BEAM-7042:
--

question for [~romain.manni-bucau]. The Antlr dependency went in in January, 
and so was present in both Beam 2.10 and Beam 2.11. Is there a reason .that you 
are seeing a problem only now with 2.12? Has something changed with this 
dependency?

> [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are 
> way fatter and conflicting than before
> ---
>
> Key: BEAM-7042
> URL: https://issues.apache.org/jira/browse/BEAM-7042
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-java-core
>Reporter: Romain Manni-Bucau
>Priority: Major
> Fix For: 2.12.0
>
>
> Hi guys,
> seems current sdk brings antlr and its transitive deps which is quite 
> unlikely and has a huge probability to conflict (antlt, jsonp in an outdated 
> version at least for the one breaking my apps)
> can it be cleaned up for the 2.12 to avoid to break application please?
> Thanks,
> Romain



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (BEAM-7042) [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are way fatter and conflicting than before

2019-04-09 Thread Reuven Lax (JIRA)


[ 
https://issues.apache.org/jira/browse/BEAM-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813662#comment-16813662
 ] 

Reuven Lax commented on BEAM-7042:
--

The current design of schemas is for them to be a type system for Beam, which 
means they are the core of Beam now, not a layer on top. This was the design 
that was agreed upon, and over the past year+ schemas have been tightly 
integrated into the core. This can of course be reevaluated on the dev list, 
but is off topic for this Jira issue.

Dependency conflicts can (and sadly) do happen due to any and all of our 
dependencies, so there's nothing special about Antlr here. Likely the right 
answer is to vendor Antlr. Is there documentation anywhere about how to go 
about the vendoring process?

> [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are 
> way fatter and conflicting than before
> ---
>
> Key: BEAM-7042
> URL: https://issues.apache.org/jira/browse/BEAM-7042
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-java-core
>Reporter: Romain Manni-Bucau
>Priority: Major
> Fix For: 2.12.0
>
>
> Hi guys,
> seems current sdk brings antlr and its transitive deps which is quite 
> unlikely and has a huge probability to conflict (antlt, jsonp in an outdated 
> version at least for the one breaking my apps)
> can it be cleaned up for the 2.12 to avoid to break application please?
> Thanks,
> Romain



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (BEAM-7042) [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are way fatter and conflicting than before

2019-04-09 Thread Romain Manni-Bucau (JIRA)


[ 
https://issues.apache.org/jira/browse/BEAM-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813628#comment-16813628
 ] 

Romain Manni-Bucau commented on BEAM-7042:
--

Another good and saner option is IMHO to not mess up sdk core with schema and 
make it an extension, there is no blocker to do it. Also note that 
ArgumentProvider would benefit becoming a SPI and enable to unify injectable 
types and even would be a good user feature IMHO. These architecture fixes 
would solve cleanly that issue and precent to come back yet another time.

> [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are 
> way fatter and conflicting than before
> ---
>
> Key: BEAM-7042
> URL: https://issues.apache.org/jira/browse/BEAM-7042
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-java-core
>Reporter: Romain Manni-Bucau
>Priority: Major
> Fix For: 2.12.0
>
>
> Hi guys,
> seems current sdk brings antlr and its transitive deps which is quite 
> unlikely and has a huge probability to conflict (antlt, jsonp in an outdated 
> version at least for the one breaking my apps)
> can it be cleaned up for the 2.12 to avoid to break application please?
> Thanks,
> Romain



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (BEAM-7042) [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are way fatter and conflicting than before

2019-04-09 Thread Reuven Lax (JIRA)


[ 
https://issues.apache.org/jira/browse/BEAM-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813547#comment-16813547
 ] 

Reuven Lax commented on BEAM-7042:
--

though I'm a bit confused as to why antlr depends on jsonp at all :P

> [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are 
> way fatter and conflicting than before
> ---
>
> Key: BEAM-7042
> URL: https://issues.apache.org/jira/browse/BEAM-7042
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-java-core
>Reporter: Romain Manni-Bucau
>Priority: Major
> Fix For: 2.12.0
>
>
> Hi guys,
> seems current sdk brings antlr and its transitive deps which is quite 
> unlikely and has a huge probability to conflict (antlt, jsonp in an outdated 
> version at least for the one breaking my apps)
> can it be cleaned up for the 2.12 to avoid to break application please?
> Thanks,
> Romain



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (BEAM-7042) [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are way fatter and conflicting than before

2019-04-09 Thread Reuven Lax (JIRA)


[ 
https://issues.apache.org/jira/browse/BEAM-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813541#comment-16813541
 ] 

Reuven Lax commented on BEAM-7042:
--

Yes, I do believe it needs to be in core. Schema select-statement parsing will 
be integrated into DoFnRunner (so you can select schema fields in ParDo as 
discussed in the past on the dev list), and DoFnRunner is in core.

Yes, I think this should be probably be vendored.

> [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are 
> way fatter and conflicting than before
> ---
>
> Key: BEAM-7042
> URL: https://issues.apache.org/jira/browse/BEAM-7042
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-java-core
>Reporter: Romain Manni-Bucau
>Priority: Major
> Fix For: 2.12.0
>
>
> Hi guys,
> seems current sdk brings antlr and its transitive deps which is quite 
> unlikely and has a huge probability to conflict (antlt, jsonp in an outdated 
> version at least for the one breaking my apps)
> can it be cleaned up for the 2.12 to avoid to break application please?
> Thanks,
> Romain



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (BEAM-7042) [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are way fatter and conflicting than before

2019-04-09 Thread JIRA


[ 
https://issues.apache.org/jira/browse/BEAM-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813492#comment-16813492
 ] 

Ismaël Mejía commented on BEAM-7042:


The interesting question is why we need a parser in core at all? can't this be 
an extension? It seems that antlr leaks a really old version of jsonp and that 
indeed seems messy. Any info on this [~reuvenlax]? Or will this be at least 
vendored [~kenn]

> [regression] org.apache.beam:beam-sdks-java-core:jar:2.12.0 dependencies are 
> way fatter and conflicting than before
> ---
>
> Key: BEAM-7042
> URL: https://issues.apache.org/jira/browse/BEAM-7042
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-java-core
>Reporter: Romain Manni-Bucau
>Priority: Major
> Fix For: 2.12.0
>
>
> Hi guys,
> seems current sdk brings antlr and its transitive deps which is quite 
> unlikely and has a huge probability to conflict (antlt, jsonp in an outdated 
> version at least for the one breaking my apps)
> can it be cleaned up for the 2.12 to avoid to break application please?
> Thanks,
> Romain



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)