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

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

sebastian-nagel closed pull request #379: Fix for NUTCH-2640 contributed by 
rustyx
URL: https://github.com/apache/nutch/pull/379
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/src/bin/nutch b/src/bin/nutch
index d28dc3553..9884c2f8c 100755
--- a/src/bin/nutch
+++ b/src/bin/nutch
@@ -154,10 +154,9 @@ fi
 # used only in local mode 
 JAVA_LIBRARY_PATH=''
 if [ -d "${NUTCH_HOME}/lib/native" ]; then
+  JAVA_PLATFORM=`"${JAVA}" -classpath "$CLASSPATH" 
org.apache.hadoop.util.PlatformName | sed -e 's/ /_/g' -e 's/\r//g'`
 
-  JAVA_PLATFORM=`"${JAVA}" -classpath "$CLASSPATH" 
org.apache.hadoop.util.PlatformName | sed -e 's/ /_/g'`
-
-  if [ -d "${NUTCH_HOME}/lib/native" ]; then
+  if [ -d "${NUTCH_HOME}/lib/native/${JAVA_PLATFORM}" ]; then
     if [ "x$JAVA_LIBRARY_PATH" != "x" ]; then
       
JAVA_LIBRARY_PATH="${JAVA_LIBRARY_PATH}:${NUTCH_HOME}/lib/native/${JAVA_PLATFORM}"
     else
diff --git a/src/java/org/apache/nutch/crawl/DbUpdaterJob.java 
b/src/java/org/apache/nutch/crawl/DbUpdaterJob.java
index b784322fb..7f558f1d0 100644
--- a/src/java/org/apache/nutch/crawl/DbUpdaterJob.java
+++ b/src/java/org/apache/nutch/crawl/DbUpdaterJob.java
@@ -137,7 +137,7 @@ private int updateTable(String crawlId, String batchId) 
throws Exception {
     LOG.info("DbUpdaterJob: starting at " + sdf.format(start));
 
     if (batchId.equals(Nutch.ALL_BATCH_ID_STR)) {
-      LOG.info("DbUpdaterJob: updatinging all");
+      LOG.info("DbUpdaterJob: updating all");
     } else {
       LOG.info("DbUpdaterJob: batchId: " + batchId);
     }


 

----------------------------------------------------------------
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:
[email protected]


> Typo: DbUpdaterJob: updatinging all
> -----------------------------------
>
>                 Key: NUTCH-2640
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2640
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Rustam Abdullaev
>            Priority: Trivial
>
> There is a typo in "DbUpdaterJob: updating*ing* all"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to