[
https://issues.apache.org/jira/browse/FLINK-2037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14548092#comment-14548092
]
ASF GitHub Bot commented on FLINK-2037:
---------------------------------------
GitHub user rmetzger opened a pull request:
https://github.com/apache/flink/pull/691
[FLINK-2037] Provide flink-python.jar in lib/
I've tested the change locally with python3.
Please note that the code of `flink-language-binding-generic` is still in
`flink-dist.jar`. Only the code of `flink-python` is in the flink-python.jar.
But both modules are not pulling in any external dependencies, there is no
risk associated with it.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rmetzger/flink flink2037
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/691.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #691
----
commit ed1a1b055a1f355b2ab3d4ff6a1f5ab37bb276f9
Author: Robert Metzger <[email protected]>
Date: 2015-05-18T14:30:10Z
[FLINK-2037] Provide flink-python.jar in lib/
----
> Unable to start Python API using ./bin/pyflink*.sh
> --------------------------------------------------
>
> Key: FLINK-2037
> URL: https://issues.apache.org/jira/browse/FLINK-2037
> Project: Flink
> Issue Type: Bug
> Components: Python API
> Affects Versions: 0.9
> Reporter: Robert Metzger
> Assignee: Robert Metzger
> Priority: Critical
>
> Calling {{./bin/pyflink3.sh}} will lead to
> {code}
> ./bin/pyflink3.sh
> log4j:WARN No appenders could be found for logger
> (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
> info.
> JAR file does not exist:
> /home/robert/incubator-flink/build-target/bin/../lib/flink-python-0.9-SNAPSHOT.jar
> Use the help option (-h or --help) to get help on the command.
> {code}
> This is due to the script expecting a {{flink-python-0.9-SNAPSHOT.jar}} file
> to exist in {{lib}} (its wrong anyways that the version name is included
> here. That should be replaced by a {{*}}).
> I'll look into the issue ...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)