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

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

lewismc closed pull request #258: NUTCH-2438 Upgrade Nutch 2.X to Gora 0.8
URL: https://github.com/apache/nutch/pull/258
 
 
   

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/build.xml b/build.xml
index e87eafd83..a10230514 100644
--- a/build.xml
+++ b/build.xml
@@ -96,6 +96,7 @@
  <!-- ====================================================== -->
  <target name="init" depends="ivy-init" description="--> stuff required by all 
targets">
   <mkdir dir="${build.dir}" />
+  <mkdir dir="${build.lib.dir}" />
   <mkdir dir="${build.classes}" />
   <mkdir dir="${release.dir}" />
 
diff --git a/ivy/ivy.xml b/ivy/ivy.xml
index 778bcc77e..62e151e06 100644
--- a/ivy/ivy.xml
+++ b/ivy/ivy.xml
@@ -99,49 +99,59 @@
     <!--================-->
     <!-- Gora artifacts -->
     <!--================-->
-    <!-- N.B. To use Gora SNAPSHOT's merely replace the 'ref' value with the 
SNAPSHOT version 
-    and add changing="true" alongside the dependency declaration. An example 
has been
-    provided for the gora-core dependency as below -->
-    <dependency org="org.apache.gora" name="gora-core" rev="0.7" 
conf="*->default"/>
-    
-    <!-- Uncomment this to use SQL as Gora backend. It should be noted that 
the 
-    gora-sql 0.1.1-incubating artifact is NOT compatable with gora-core 0.3. 
Users should 
-    downgrade to gora-core 0.2.1 in order to use SQL as a backend however this 
is not suggested. -->
-    <!--
-    <dependency org="org.apache.gora" name="gora-sql" rev="0.1.1-incubating" 
conf="*->default" />
+    <!-- N.B. To use Gora SNAPSHOT's, replace the 'ref' value with the 
SNAPSHOT version 
+    and add changing="true" alongside the dependency declaration.-->
+    <dependency org="org.apache.gora" name="gora-core" rev="0.8" 
conf="*->default"/>
+    <!-- Uncomment this to use Accumulo as Gora backend. -->
+    <!--     
+    <dependency org="org.apache.gora" name="gora-accumulo" rev="0.8" 
conf="*->default" /> 
     -->
-    <!-- Uncomment this to use MySQL as database with SQL as Gora store. -->
+    <!-- Uncomment this to use Aerospike as Gora backend. -->
     <!--
-    <dependency org="mysql" name="mysql-connector-java" rev="5.1.18" 
conf="*->default"/> 
+    <dependency org="org.apache.gora" name="gora-aerospike" rev="0.8" 
conf="*->default" />
+    -->
+    <!-- Uncomment this to use Cassandra as Gora backend. -->
+    <!-- 
+    <dependency org="org.apache.gora" name="gora-cassandra" rev="0.8" 
conf="*->default" />
+    -->
+    <!-- Uncomment this to use Couchdb as Gora backend. -->
+    <!-- 
+    <dependency org="org.apache.gora" name="gora-couchdb" rev="0.8" 
conf="*->default" />
+    -->
+    <!-- Uncomment this to use Amazon Dynamodb as Gora backend. -->
+    <!-- 
+    <dependency org="org.apache.gora" name="gora-dynamodb" rev="0.8" 
conf="*->default" />
     -->
     <!-- Uncomment this to use HBase as Gora backend. -->
     <!--     
-    <dependency org="org.apache.gora" name="gora-hbase" rev="0.7" 
conf="*->default" /> 
+    <dependency org="org.apache.gora" name="gora-hbase" rev="0.8" 
conf="*->default" /> 
     -->
-    <!-- Uncomment this to use Accumulo as Gora backend. -->
-    <!--
-    <dependency org="org.apache.gora" name="gora-accumulo" rev="0.7" 
conf="*->default" />
+    <!-- Uncomment this to use Infinispan as Gora backend. -->
+    <!--     
+    <dependency org="org.apache.gora" name="gora-infinispan" rev="0.8" 
conf="*->default" /> 
     -->
-    <!-- Uncomment this to use Cassandra as Gora backend. -->
-    <!-- 
-    <dependency org="org.apache.gora" name="gora-cassandra" rev="0.7" 
conf="*->default" />
+    <!-- Uncomment this to use jcache as Gora backend. -->
+    <!--
+    <dependency org="org.apache.gora" name="gora-jcache" rev="0.8" 
conf="*->default" />
     -->
     <!-- Uncomment this to use MongoDB as Gora backend. -->
     <!--
-    <dependency org="org.apache.gora" name="gora-mongodb" rev="0.7" 
conf="*->default" />
-    -->    
-    <!-- Uncomment this to use Solr as Gora backend. -->
+    <dependency org="org.apache.gora" name="gora-mongodb" rev="0.8" 
conf="*->default" />
+    -->   
+    <!-- Uncomment this to use OrientDB as Gora backend. -->
     <!--
-    <dependency org="org.apache.gora" name="gora-solr" rev="0.7" 
conf="*->default" />
-    -->
+    <dependency org="org.apache.gora" name="gora-orientdb" rev="0.8" 
conf="*->default" />
+    -->  
+    <!-- Uncomment this to use Solr as Gora backend. -->
     <!--
-    <dependency org="org.apache.gora" name="gora-jcache" rev="0.7" 
conf="*->default" />
+    <dependency org="org.apache.gora" name="gora-solr" rev="0.8" 
conf="*->default" />
     -->
+
     <!-- The gora-compiler is used within the 'ant generate-gora-src' target 
to compile
     the Gora .avsc files within ./src/gora 
     -->
-    <dependency org="org.apache.gora" name="gora-compiler-cli" rev="0.7" 
conf="*->default"/>
-    <dependency org="org.apache.gora" name="gora-compiler" rev="0.7" 
conf="*->default"/>
+    <dependency org="org.apache.gora" name="gora-compiler-cli" rev="0.8" 
conf="*->default"/>
+    <dependency org="org.apache.gora" name="gora-compiler" rev="0.8" 
conf="*->default"/>
 
     <!-- web app dependencies -->
 
diff --git a/src/java/org/apache/nutch/storage/Host.java 
b/src/java/org/apache/nutch/storage/Host.java
index 5c552703a..9bfc8de3e 100644
--- a/src/java/org/apache/nutch/storage/Host.java
+++ b/src/java/org/apache/nutch/storage/Host.java
@@ -1,23 +1,19 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- 
******************************************************************************/
 /**
- * Autogenerated by Avro
+ *Licensed to the Apache Software Foundation (ASF) under one
+ *or more contributor license agreements.  See the NOTICE file
+ *distributed with this work for additional information
+ *regarding copyright ownership.  The ASF licenses this file
+ *to you under the Apache License, Version 2.0 (the"
+ *License"); you may not use this file except in compliance
+ *with the License.  You may obtain a copy of the License at
  *
- * DO NOT EDIT DIRECTLY
+  * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ *Unless required by applicable law or agreed to in writing, software
+ *distributed under the License is distributed on an "AS IS" BASIS,
+ *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *See the License for the specific language governing permissions and
+ *limitations under the License.
  */
 package org.apache.nutch.storage;  
 
diff --git a/src/java/org/apache/nutch/storage/WebPage.java 
b/src/java/org/apache/nutch/storage/WebPage.java
index 4bebd5243..d1ddf50b0 100644
--- a/src/java/org/apache/nutch/storage/WebPage.java
+++ b/src/java/org/apache/nutch/storage/WebPage.java
@@ -1,23 +1,19 @@
-/*******************************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- 
******************************************************************************/
 /**
- * Autogenerated by Avro
+ *Licensed to the Apache Software Foundation (ASF) under one
+ *or more contributor license agreements.  See the NOTICE file
+ *distributed with this work for additional information
+ *regarding copyright ownership.  The ASF licenses this file
+ *to you under the Apache License, Version 2.0 (the"
+ *License"); you may not use this file except in compliance
+ *with the License.  You may obtain a copy of the License at
  *
- * DO NOT EDIT DIRECTLY
+  * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ *Unless required by applicable law or agreed to in writing, software
+ *distributed under the License is distributed on an "AS IS" BASIS,
+ *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *See the License for the specific language governing permissions and
+ *limitations under the License.
  */
 package org.apache.nutch.storage;  
 


 

----------------------------------------------------------------
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]


> Upgrade Nutch 2.X to Gora 0.8
> -----------------------------
>
>                 Key: NUTCH-2438
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2438
>             Project: Nutch
>          Issue Type: Improvement
>          Components: storage
>    Affects Versions: 2.4
>            Reporter: Tulay Muezzinoglu
>             Fix For: 2.4
>
>




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

Reply via email to