See <https://builds.apache.org/job/Nutch-trunk/3077/changes>
Changes: [mattmann] Fix for NUTCH-1973 Job Administration end point for the REST service contributed by Sujen Shah <[email protected]> this closes #16. ------------------------------------------ [...truncated 1792 lines...] [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/Generator.java>:659: error: cannot find symbol [javac] NutchJob job = new NutchJob(getConf()); [javac] ^ [javac] symbol: method getConf() [javac] location: class Generator [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/Generator.java>:699: error: no suitable method found for run(Configuration,Generator,String[]) [javac] .run(NutchConfiguration.create(), new Generator(), args); [javac] ^ [javac] method ToolRunner.run(Tool,String[]) is not applicable [javac] (actual and formal argument lists differ in length) [javac] method ToolRunner.run(Configuration,Tool,String[]) is not applicable [javac] (actual argument Generator cannot be converted to Tool by method invocation conversion) [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/Generator.java>:754: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/Injector.java>:55: error: Injector is not abstract and does not override abstract method getConf() in Configurable [javac] public class Injector extends NutchTool implements Tool { [javac] ^ [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/Injector.java>:275: error: cannot find symbol [javac] setConf(conf); [javac] ^ [javac] symbol: method setConf(Configuration) [javac] location: class Injector [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/Injector.java>:287: error: cannot find symbol [javac] Path tempDir = new Path(getConf().get("mapred.temp.dir", ".") [javac] ^ [javac] symbol: method getConf() [javac] location: class Injector [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/Injector.java>:296: error: cannot find symbol [javac] FileSystem fs = FileSystem.get(getConf()); [javac] ^ [javac] symbol: method getConf() [javac] location: class Injector [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/Injector.java>:300: error: cannot find symbol [javac] JobConf sortJob = new NutchJob(getConf()); [javac] ^ [javac] symbol: method getConf() [javac] location: class Injector [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/Injector.java>:342: error: cannot find symbol [javac] JobConf mergeJob = CrawlDb.createJob(getConf(), crawlDb); [javac] ^ [javac] symbol: method getConf() [javac] location: class Injector [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/Injector.java>:369: error: no suitable method found for run(Configuration,Injector,String[]) [javac] int res = ToolRunner.run(NutchConfiguration.create(), new Injector(), args); [javac] ^ [javac] method ToolRunner.run(Tool,String[]) is not applicable [javac] (actual and formal argument lists differ in length) [javac] method ToolRunner.run(Configuration,Tool,String[]) is not applicable [javac] (actual argument Injector cannot be converted to Tool by method invocation conversion) [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/Injector.java>:387: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/LinkDb.java>:45: error: LinkDb is not abstract and does not override abstract method getConf() in Configurable [javac] public class LinkDb extends NutchTool implements Tool, [javac] ^ [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/LinkDb.java>:66: error: cannot find symbol [javac] setConf(conf); [javac] ^ [javac] symbol: method setConf(Configuration) [javac] location: class LinkDb [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/LinkDb.java>:167: error: cannot find symbol [javac] final FileSystem fs = FileSystem.get(getConf()); [javac] ^ [javac] symbol: method getConf() [javac] location: class LinkDb [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/LinkDb.java>:175: error: cannot find symbol [javac] JobConf job = LinkDb.createJob(getConf(), linkDb, normalize, filter); [javac] ^ [javac] symbol: method getConf() [javac] location: class LinkDb [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/LinkDb.java>:177: error: cannot find symbol [javac] FileSystem fs = FileSystem.get(getConf()); [javac] ^ [javac] symbol: method getConf() [javac] location: class LinkDb [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/LinkDb.java>:221: error: cannot find symbol [javac] job = LinkDbMerger.createMergeJob(getConf(), linkDb, normalize, filter); [javac] ^ [javac] symbol: method getConf() [javac] location: class LinkDb [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/LinkDb.java>:250: error: method setMapperClass in class JobConf cannot be applied to given types; [javac] job.setMapperClass(LinkDb.class); [javac] ^ [javac] required: Class<? extends Mapper> [javac] found: Class<LinkDb> [javac] reason: actual argument Class<LinkDb> cannot be converted to Class<? extends Mapper> by method invocation conversion [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/LinkDb.java>:293: error: no suitable method found for run(Configuration,LinkDb,String[]) [javac] int res = ToolRunner.run(NutchConfiguration.create(), new LinkDb(), args); [javac] ^ [javac] method ToolRunner.run(Tool,String[]) is not applicable [javac] (actual and formal argument lists differ in length) [javac] method ToolRunner.run(Configuration,Tool,String[]) is not applicable [javac] (actual argument LinkDb cannot be converted to Tool by method invocation conversion) [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/LinkDb.java>:311: error: cannot find symbol [javac] final FileSystem fs = FileSystem.get(getConf()); [javac] ^ [javac] symbol: method getConf() [javac] location: class LinkDb [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/LinkDb.java>:343: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:102: error: Fetcher is not abstract and does not override abstract method getConf() in Configurable [javac] public class Fetcher extends NutchTool implements Tool, [javac] ^ [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1037: error: cannot find symbol [javac] byte[] signature = SignatureFactory.getSignature(getConf()) [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher.FetcherThread [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1064: error: cannot find symbol [javac] parse = parseStatus.getEmptyParse(getConf()); [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher.FetcherThread [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1069: error: cannot find symbol [javac] byte[] signature = SignatureFactory.getSignature(getConf()) [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher.FetcherThread [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1236: error: cannot find symbol [javac] setConf(job); [javac] ^ [javac] symbol: method setConf(JobConf) [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1258: error: name clash: run(RecordReader<Text,CrawlDatum>,OutputCollector<Text,NutchWritable>,Reporter) in Fetcher and run(RecordReader<K1,V1>,OutputCollector<K2,V2>,Reporter) in MapRunnable have the same erasure, yet neither overrides the other [javac] public void run(RecordReader<Text, CrawlDatum> input, [javac] ^ [javac] where K1,V1,K2,V2 are type-variables: [javac] K1 extends Object declared in interface MapRunnable [javac] V1 extends Object declared in interface MapRunnable [javac] K2 extends Object declared in interface MapRunnable [javac] V2 extends Object declared in interface MapRunnable [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1264: error: cannot find symbol [javac] this.fetchQueues = new FetchItemQueues(getConf()); [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1266: error: cannot find symbol [javac] int threadCount = getConf().getInt("fetcher.threads.fetch", 10); [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1271: error: cannot find symbol [javac] int timeoutDivisor = getConf().getInt("fetcher.threads.timeout.divisor", 2); [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1276: error: cannot find symbol [javac] int queueDepthMuliplier = getConf().getInt( [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1285: error: cannot find symbol [javac] long timelimit = getConf().getLong("fetcher.timelimit", -1); [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1291: error: cannot find symbol [javac] getConf().setBoolean(Protocol.CHECK_BLOCKING, false); [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1292: error: cannot find symbol [javac] getConf().setBoolean(Protocol.CHECK_ROBOTS, false); [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1295: error: cannot find symbol [javac] FetcherThread t = new FetcherThread(getConf()); [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1301: error: cannot find symbol [javac] long timeout = getConf().getInt("mapred.task.timeout", 10 * 60 * 1000) [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1313: error: cannot find symbol [javac] int throughputThresholdPages = getConf().getInt( [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1318: error: cannot find symbol [javac] int throughputThresholdMaxRetries = getConf().getInt( [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1324: error: cannot find symbol [javac] long throughputThresholdTimeLimit = getConf().getLong( [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1327: error: cannot find symbol [javac] int targetBandwidth = getConf().getInt("fetcher.bandwidth.target", -1) * 1000; [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1328: error: cannot find symbol [javac] int maxNumThreads = getConf().getInt("fetcher.maxNum.threads", threadCount); [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1334: error: cannot find symbol [javac] int bandwidthTargetCheckEveryNSecs = getConf().getInt( [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1341: error: cannot find symbol [javac] int maxThreadsPerQueue = getConf().getInt("fetcher.threads.per.queue", 1); [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1440: error: cannot find symbol [javac] FetcherThread thread = new FetcherThread(getConf()); [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1517: error: cannot find symbol [javac] long timelimit = getConf().getLong("fetcher.timelimit.mins", -1); [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1521: error: cannot find symbol [javac] getConf().setLong("fetcher.timelimit", timelimit); [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1526: error: cannot find symbol [javac] timelimit = getConf().getLong("fetcher.throughput.threshold.check.after", [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java>:1529: error: cannot find symbol [javac] getConf().setLong("fetcher.throughput.threshold.check.after", timelimit); [javac] ^ [javac] symbol: method getConf() [javac] location: class Fetcher [javac] Note: <https://builds.apache.org/job/Nutch-trunk/ws/trunk/src/java/org/apache/nutch/crawl/CrawlDbReader.java> uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 100 errors BUILD FAILED <https://builds.apache.org/job/Nutch-trunk/ws/trunk/build.xml>:105: Compile failed; see the compiler error output for details. Total time: 19 seconds Build step 'Invoke Ant' marked build as failure Publishing Javadoc Updating NUTCH-1973

