Index: DbUpdaterJob.java
===================================================================
--- workspace/nutch-2.x/src/java/org/apache/nutch/crawl/DbUpdaterJob.java	(revision 1541408)
+++ workspace/nutch-2.x/src/java/org/apache/nutch/crawl/DbUpdaterJob.java	(working copy)
@@ -80,10 +80,7 @@
     String batchId = (String)args.get(Nutch.ARG_BATCH);
     numJobs = 1;
     currentJobNum = 0;
-    currentJob = new NutchJob(getConf(), "update-table");
-    if (crawlId != null) {
-      currentJob.getConfiguration().set(Nutch.CRAWL_ID_KEY, crawlId);
-    }
+    
     if (batchId == null) {
       batchId = Nutch.ALL_BATCH_ID_STR;
     }
@@ -93,6 +90,11 @@
     HashSet<WebPage.Field> fields = new HashSet<WebPage.Field>(FIELDS);
     fields.addAll(scoringFilters.getFields());
     
+    currentJob = new NutchJob(getConf(), "update-table");
+    if (crawlId != null) {
+      currentJob.getConfiguration().set(Nutch.CRAWL_ID_KEY, crawlId);
+    }
+    
     // Partition by {url}, sort by {url,score} and group by {url}.
     // This ensures that the inlinks are sorted by score when they enter
     // the reducer.
