nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUTCH-2375) Upgrade the code base from org.apache.hadoop.mapred to org.apache.hadoop.mapreduce
Date Fri, 16 Jun 2017 13:35:02 GMT

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

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

lewismc commented on issue #188: NUTCH-2375 Upgrade the code base from org.apache.hadoop.mapred
to org.apache.hadoop.mapreduce
URL: https://github.com/apache/nutch/pull/188#issuecomment-309027522
 
 
   Hi @Omkar20895 I am getting the following build errors
   ```
   compile-core:
       [javac] Compiling 284 source files to /usr/local/nutch/build/classes
       [javac] /usr/local/nutch/src/java/org/apache/nutch/crawl/CrawlDb.java:119: error: unreported
exception InterruptedException; must be caught or declared to be thrown
       [javac]       int complete = job.waitForCompletion(true)?0:1;
       [javac]                                           ^
       [javac] /usr/local/nutch/src/java/org/apache/nutch/crawl/CrawlDbReader.java:399: error:
cannot find symbol
       [javac] 	  SequenceFile.Reader[] readers = SequenceFileOutputFormat.getReaders(config,
       [javac] 	                                                          ^
       [javac]   symbol:   method getReaders(Configuration,Path)
       [javac]   location: class SequenceFileOutputFormat
       [javac] /usr/local/nutch/src/java/org/apache/nutch/hostdb/ReadHostDb.java:208: error:
cannot find symbol
       [javac]     SequenceFile.Reader[] readers = SequenceFileOutputFormat.getReaders(conf,
hostDb);
       [javac]                                                             ^
       [javac]   symbol:   method getReaders(Configuration,Path)
       [javac]   location: class SequenceFileOutputFormat
       [javac] /usr/local/nutch/src/java/org/apache/nutch/segment/SegmentReader.java:434:
error: cannot find symbol
       [javac]     SequenceFile.Reader[] readers = SequenceFileOutputFormat.getReaders(
       [javac]                                                             ^
       [javac]   symbol:   method getReaders(Configuration,Path)
       [javac]   location: class SequenceFileOutputFormat
       [javac] /usr/local/nutch/src/java/org/apache/nutch/segment/SegmentReader.java:511:
error: cannot find symbol
       [javac]       SequenceFile.Reader[] readers = SequenceFileOutputFormat.getReaders(
       [javac]                                                               ^
       [javac]   symbol:   method getReaders(Configuration,Path)
       [javac]   location: class SequenceFileOutputFormat
       [javac] /usr/local/nutch/src/java/org/apache/nutch/tools/FreeGenerator.java:197: error:
cannot find symbol
       [javac]     job.setOutputKeyComparatorClass(Generator.HashComparator.class);
       [javac]        ^
       [javac]   symbol:   method setOutputKeyComparatorClass(Class<HashComparator>)
       [javac]   location: variable job of type Job
       [javac] /usr/local/nutch/src/java/org/apache/nutch/util/NutchJob.java:29: warning:
[deprecation] Job(Configuration,String) in Job has been deprecated
       [javac]     super(conf, "NutchJob");
       [javac]     ^
       [javac] Note: Some input files use unchecked or unsafe operations.
       [javac] Note: Recompile with -Xlint:unchecked for details.
       [javac] 6 errors
       [javac] 1 warning
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Upgrade the code base from org.apache.hadoop.mapred to org.apache.hadoop.mapreduce
> ----------------------------------------------------------------------------------
>
>                 Key: NUTCH-2375
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2375
>             Project: Nutch
>          Issue Type: Improvement
>          Components: deployment
>            Reporter: Omkar Reddy
>
> Nutch is still using the deprecated org.apache.hadoop.mapred dependency which has been
deprecated. It need to be updated to org.apache.hadoop.mapreduce dependency. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message