[
https://issues.apache.org/jira/browse/NUTCH-2260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15285523#comment-15285523
]
ASF GitHub Bot commented on NUTCH-2260:
---------------------------------------
Github user bizmate commented on a diff in the pull request:
https://github.com/apache/nutch/pull/111#discussion_r63435076
--- Diff: docker/hbase/Dockerfile ---
@@ -94,7 +94,7 @@ RUN mv /tmp/hadoop-etc/* /opt/hadoop/etc/hadoop
RUN mv /tmp/hbase-etc/* /opt/hbase/conf/
RUN mv /tmp/nutch-etc/* /opt/apache-nutch-2.x/conf/
-ENV JAVA_HOME /usr
+ENV JAVA_HOME /usr/lib/jvm/java-7-oracle
ENV NUTCH_ROOT /opt/apache-nutch-2.x
--- End diff --
To avoid creating another layer could you chain the env variables creation
as such?
```
ENV NUTCH_ROOT /opt/apache-nutch-2.x \
JAVA_HOME /usr/lib/jvm/java-7-oracle
```
Thanks for the fix
> JAVA_HOME and hbase-common dependency absent from hbase Docker image
> --------------------------------------------------------------------
>
> Key: NUTCH-2260
> URL: https://issues.apache.org/jira/browse/NUTCH-2260
> Project: Nutch
> Issue Type: Bug
> Components: build, docker
> Affects Versions: 2.3.1
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Fix For: 2.4
>
>
> Both JAVA_HOME (/usr) and the hbase-common transitive dependency are missing
> within the [2.x HBase
> Dockerfile|https://github.com/apache/nutch/blob/2.x/docker/hbase/Dockerfile].
> In order for the HBase stack to work out of the box we need to add both of
> these. Patch coming up.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)