[ 
https://issues.apache.org/jira/browse/NUTCH-2881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17369355#comment-17369355
 ] 

ASF GitHub Bot commented on NUTCH-2881:
---------------------------------------

sebastian-nagel commented on a change in pull request #689:
URL: https://github.com/apache/nutch/pull/689#discussion_r658633007



##########
File path: docker/Dockerfile
##########
@@ -32,4 +32,4 @@ RUN git clone https://github.com/apache/nutch.git 
nutch_source && \
      rm -rf /root/.ivy2/
 
 # Convenience symlink to Nutch runtime local

Review comment:
       The comment should reflect that the symlink now points to the script 
bin/nutch.
   
   Just two ideas:
   - defining the environment variable NUTCH_HOME could be useful:
     ```
     env NUTCH_HOME=`/root/nutch_source/runtime/local`
     ```
   - why not put symlinks to bin/nutch (and bin/crawl) into /usr/local/bin to 
make them available from everywhere?
     ```
     ln -sf $NUTCH_HOME/bin/nutch /usr/local/bin/
     ln -sf $NUTCH_HOME/bin/crawl /usr/local/bin/
    ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> bug in 'nutch' symlink in docker container
> ------------------------------------------
>
>                 Key: NUTCH-2881
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2881
>             Project: Nutch
>          Issue Type: Bug
>          Components: docker
>    Affects Versions: 1.18
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>            Priority: Minor
>             Fix For: 1.19
>
>
> I am in the process of delivering a Helm chart for Nutch webserver which 
> would allow us to build apps on top of Nutch *webserver* (farming jobs to 
> EMR) running within K8s.
> I will provide an architecture diagram later to show why running Nutch 
> webserver is useful.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to