Permalink
Browse files

change gitignore to remove Intellij related files

modife Crawler for better comments
  • Loading branch information...
wangcb
wangcb committed May 9, 2013
1 parent eb1455b commit c22373dad51e4ebda09d2cdec89df75e6714c51d
Showing with 8 additions and 3 deletions.
  1. +5 −0 .gitignore
  2. +1 −1 conf/gora.properties
  3. +0 −2 ivy/ivy.xml
  4. +2 −0 src/java/org/apache/nutch/crawl/Crawler.java
View
@@ -0,0 +1,5 @@
+*.iml
+.idea/*/*
+build
+out
+runtime
View
@@ -14,7 +14,7 @@
# limitations under the License.
gora.datastore.default=org.apache.gora.hbase.store.HBaseStore
-#gora.datastore.autocreateschema=true
+gora.datastore.autocreateschema=true
###############################
# Default SqlStore properties #
View
@@ -99,9 +99,7 @@
-->
<!-- Uncomment this to use HBase as Gora backend. -->
- <!--
<dependency org="org.apache.gora" name="gora-hbase" rev="0.2.1" conf="*->default" />
- -->
<!-- Uncomment this to use Accumulo as Gora backend. -->
@@ -90,6 +90,7 @@ public boolean killJob() throws Exception {
public Map<String,Object> run(Map<String, Object> args) throws Exception {
results.clear();
status.clear();
+ //操,这个crawlId哪里来的啊?
String crawlId = (String)args.get(Nutch.ARG_CRAWL);
if (crawlId != null) {
getConf().set(Nutch.CRAWL_ID_KEY, crawlId);
@@ -236,6 +237,7 @@ public int run(String[] args) throws Exception {
i++;
} else if ("-continue".equals(args[i])) {
// skip
+ //TODO what continue mean?
} else if (args[i] != null) {
seedDir = args[i];
}

0 comments on commit c22373d

Please sign in to comment.