Hi Dan,

Which version of Nutch 2.X are you using? The document you've highlighted
below stated Nutch 2.3 with gora-hbase 0.5.
Both of these are old and I would strongly advise you to use Nutch 2.3.1
(just released last week) along with one of the following backends

The recommended Gora backends for this Nutch release are

   - Apache Avro 1.7.6
   - Apache Hadoop 1.2.1 and 2.5.2
   - Apache HBase 0.98.8-hadoop2 (although also tested with 1.X)
   - Apache Cassandra 2.0.2
   - Apache Solr 4.10.3
   - MongoDB 2.6.X
   - Apache Accumlo 1.5.1
   - Apache Spark 1.4.1

Please also note that you shoudl upgrade your JDK to 1.7.
Thanks

On Wed, Jan 27, 2016 at 3:21 PM, <user-digest-h...@nutch.apache.org> wrote:

>
> Hi,
> I am a beginner with nutch and everything. Can anyone help me with the
> configuration?
>
> I follower the instruction in
> https://gist.github.com/xrstf/b48a970098a8e76943b9
>
> It seems that my building process complain plugin: indexer-elastic? My
> thanks in advance!!!
>
> compile:
>      [echo] Compiling plugin: indexer-elastic
>     [javac] Compiling 3 source files to
> /home/dan/apache-nutch-2.3/build/indexer-elastic/classes
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with -source 1.6
>     [javac]
> /home/dan/apache-nutch-2.3/src/plugin/indexer-elastic/src/java/org/apache/nutch/indexwriter/elastic/ElasticIndexWriter.java:108:
> error: no suitable constructor found for
> InetSocketTransportAddress(String,int)
>     [javac]           .addTransportAddress(new
> InetSocketTransportAddress(host, port));
>     [javac]                                ^
>     [javac]     constructor
> InetSocketTransportAddress.InetSocketTransportAddress(InetSocketAddress) is
> not applicable
>     [javac]       (actual and formal argument lists differ in length)
>     [javac]     constructor
> InetSocketTransportAddress.InetSocketTransportAddress(InetAddress,int) is
> not applicable
>     [javac]       (actual argument String cannot be converted to
> InetAddress by method invocation conversion)
>     [javac]     constructor
> InetSocketTransportAddress.InetSocketTransportAddress() is not applicable
>     [javac]       (actual and formal argument lists differ in length)
>     [javac]     constructor
> InetSocketTransportAddress.InetSocketTransportAddress(StreamInput) is not
> applicable
>     [javac]       (actual and formal argument lists differ in length)
>     [javac]
> /home/dan/apache-nutch-2.3/src/plugin/indexer-elastic/src/java/org/apache/nutch/indexwriter/elastic/ElasticIndexWriter.java:107:
> error: constructor TransportClient in class TransportClient cannot be
> applied to given types;
>     [javac]       client = new TransportClient(settings)
>     [javac]                ^
>     [javac]   required: Injector
>     [javac]   found: Settings
>     [javac]   reason: actual argument Settings cannot be converted to
> Injector by method invocation conversion
>     [javac] 2 errors
>     [javac] 1 warning
>
> BUILD FAILED
> /home/dan/apache-nutch-2.3/build.xml:113: The following error occurred
> while executing this line:
> /home/dan/apache-nutch-2.3/src/plugin/build.xml:35: The following error
> occurred while executing this line:
> /home/dan/apache-nutch-2.3/src/plugin/build-plugin.xml:117: Compile
> failed; see the compiler error output for details.
>
>
>

Reply via email to