beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wikier <>
Subject [GitHub] incubator-beam-site pull request #102: Fix command to run WordCount example ...
Date Mon, 05 Dec 2016 08:11:39 GMT
GitHub user wikier opened a pull request:

    Fix command to run WordCount example on direct runner

    To prevent classpath issues, because direct runner is not in the default profile (that
could be a different path):
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    	at java.lang.reflect.Method.invoke(
    	at org.codehaus.mojo.exec.ExecJavaMojo$
    Caused by: java.lang.IllegalArgumentException: No Runner was specified and the DirectRunner
was not found on the classpath.
    Specify a runner by either:
        Explicitly specifying a runner by providing the 'runner' property
        Adding the DirectRunner to the classpath
        Calling 'PipelineOptions.setRunner(PipelineRunner)' directly
    	at org.apache.beam.sdk.options.PipelineOptions$DirectRunner.create(
    	at org.apache.beam.sdk.options.PipelineOptions$DirectRunner.create(
    	at org.apache.beam.sdk.options.ProxyInvocationHandler.returnDefaultHelper(
    	at org.apache.beam.sdk.options.ProxyInvocationHandler.getDefault(
    	at org.apache.beam.sdk.options.ProxyInvocationHandler.invoke(
    	at org.apache.beam.sdk.options.PipelineOptionsValidator.validate(
    	at org.apache.beam.sdk.options.PipelineOptionsFactory$
    	at io.redlink.datacamp.beam.WordCount.main(
    	... 6 more
    [INFO] ------------------------------------------------------------------------
    [INFO] ------------------------------------------------------------------------

You can merge this pull request into a Git repository by running:

    $ git pull fix-quickstart-direct-runner

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #102
commit 03b183c11ca9a67805bfbc2231efb9e628d13a5c
Author: Sergio Fernández <>
Date:   2016-12-05T08:10:01Z

    fixed command to run WordCount example on direct runner


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message