[
https://issues.apache.org/jira/browse/HADOOP-12626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15059410#comment-15059410
]
Kai Zheng commented on HADOOP-12626:
------------------------------------
Hi Allen,
Sorry for my misunderstanding. May I clarify? Thanks.
Intel delivers ISA-L library in 01.org site and provides source package
downloading, which I thought is a good practice, considering the customers
expect to build from the source codes and install it themselves. It's mature
and already widely used (Ceph is an example for open source). The docker
building support would desire a binary package as I said above, it's fine and I
have already made the request to the ISA-L team. It will be solved anyway, and
I just thought before I can get the formal binary package to try the docker
building, I'd like to try my work using a temporary resource.
By the way, I almost got it work. The temporary package is provided here:
https://github.com/drankye/isal/tree/master/packages
And my fix is as follows:
{code}
diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index e80df29..121c43d 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
+
+######
+# Install ISA-L library
+# It uses a temporary resource package, and it will soon be changed to use a
formal one.
+######
+RUN curl -L
https://github.com/drankye/isal/raw/master/packages/isa-l-2.14.0_amd64.deb \
+ -o /opt/isa-l-2.14.0_amd64.deb && \
+ dpkg -i /opt/isa-l-2.14.0_amd64.deb
+
# Add a welcome message and environment checks.
ADD hadoop_env_checks.sh /root/hadoop_env_checks.sh
RUN chmod 755 /root/hadoop_env_checks.sh
{code}
Please comment, thanks.
> Intel ISA-L libraries should be added to the Dockerfile
> -------------------------------------------------------
>
> Key: HADOOP-12626
> URL: https://issues.apache.org/jira/browse/HADOOP-12626
> Project: Hadoop Common
> Issue Type: Bug
> Components: io
> Affects Versions: 3.0.0
> Reporter: Allen Wittenauer
> Assignee: Kai Zheng
> Priority: Blocker
>
> HADOOP-11887 added a compile and runtime dependence on the Intel ISA-L
> library but didn't add it to the Dockerfile so that it could be part of the
> Docker-based build environment (start-build-env.sh). This needs to be fixed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)