[
https://issues.apache.org/jira/browse/FLINK-12416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16834981#comment-16834981
]
Yun Tang commented on FLINK-12416:
----------------------------------
[~slav4ik] Thanks for your reply, I could reproduce this problem and then
figure out the root cause. From Flink-1.8, we had change the name of pre-built
release binary tar package and the 'build.sh' would not download any effective
release flink package from the url. You could take a look at
[https://archive.apache.org/dist/flink/flink-1.8.0/] and
[https://archive.apache.org/dist/flink/flink-1.7.2/] to find the difference.
One way to quick fix for you is just change the content of 'build.sh' to replace
{code:java}
curl -#
"https://archive.apache.org/dist/flink/flink-${FLINK_VERSION}/${FLINK_DIST_FILE_NAME}"
--output ${CURL_OUTPUT}
{code}
to
{code:java}
curl -#
"https://archive.apache.org/dist/flink/flink-1.8.0/flink-1.8.0-bin-scala_2.12.tgz"
--output ${CURL_OUTPUT}{code}
If you want to use Flink with Hadoop{color:#333333}, please refer to
[https://flink.apache.org/downloads.html#apache-flink-180] .{color}
> Docker build script fails on symlink creation ln -s
> ---------------------------------------------------
>
> Key: FLINK-12416
> URL: https://issues.apache.org/jira/browse/FLINK-12416
> Project: Flink
> Issue Type: Bug
> Components: Deployment / Docker
> Affects Versions: 1.8.0
> Reporter: Slava D
> Assignee: Yun Tang
> Priority: Major
>
> When using script 'build.sh' from 'flink-container/docker' it fails on
> {code:java}
> + ln -s /opt/flink-1.8.0-bin-hadoop28-scala_2.12.tgz /opt/flink
> + ln -s /opt/job.jar /opt/flink/lib
> ln: /opt/flink/lib: Not a directory
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)