This does not seem right. We have probably missed it because we always run it in test scope.
It was introduced somewhat recently by 69b01a6118702277348d2f625af669225c9ed99e [1] from #3161 [2] but neither the PR nor commit message has much information. That option should probably not be in TestPipelineOptions but maybe just DirectPipelineOptions, since it appears to be primarily used to control the DirectRunner's behavior. I have filed https://issues.apache.org/jira/browse/BEAM-2557 and I believe we should not release until it is fixed. Kenn [1] https://github.com/apache/beam/commit/69b01a6118702277348d2f625af669225c9ed99e [2] https://github.com/apache/beam/pull/3161 On Thu, Jul 6, 2017 at 6:23 AM, Manu Zhang <[email protected]> wrote: > Hi all, > > Running wordcount example from Intellij fails with > "ClassNotFoundException: org.hamcrest.Matcher". This is because > DirectRunner#defaultTransformOverrides will validate TestPipelineOptions, > which will in turn load "hamcrest". Is this expected ? > > Thanks, > Manu >
