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

Nadeem Douba commented on NUTCH-2097:
-------------------------------------

I'm not entirely married to the package structure to be honest. What I was 
trying to address in my branch was some clarity as to how the code was 
structured. However, I still think the mappers and reducers should exist in 
separate class files. Embedding them within other class files makes the code 
hard to follow in my opinion. Maybe something like:

org.apache.nutch.crawl
`- mapper
`- reducer

makes more sense in terms of package structure? I think it would be good to put 
the mappers and reducers into their own packages so that it's easier to 
navigate the code. Also, I am not married to the class names either and most 
likely there are far more descriptive names for the mappers and reducers than 
what I have there right now. It's just the best names I could come up with at 
4am in the morning :)

> Proposal for Nutch 3.x
> ----------------------
>
>                 Key: NUTCH-2097
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2097
>             Project: Nutch
>          Issue Type: Improvement
>    Affects Versions: 1.12
>            Reporter: Nadeem Douba
>            Assignee: Lewis John McGibbney
>
> This is a parent issue which contains a proposal for Nutch 3.x. It's based on 
> my branch (mr2-mvn at https://github.com/allfro/nutch).  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to