nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mirko Kaempf (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NUTCH-2257) apache-nutch-2.3.1-src.tar.gz can not be built
Date Fri, 06 May 2016 06:08:12 GMT
Mirko Kaempf created NUTCH-2257:
-----------------------------------

             Summary: apache-nutch-2.3.1-src.tar.gz can not be built
                 Key: NUTCH-2257
                 URL: https://issues.apache.org/jira/browse/NUTCH-2257
             Project: Nutch
          Issue Type: Bug
          Components: build
    Affects Versions: 2.3.1
         Environment: jdk1.7.0_67
nutch 2.3.1
Hadoop 2.6.0
HBase 1.0.0
            Reporter: Mirko Kaempf


The build fails for:

   apache-nutch-2.3.1-src.tar.gz 

but after replacing src folder from 

  apache-nutch-2.3.1-src.zip 

the build works fine.

Error messages:

compile:
     [echo] Compiling plugin: indexer-solr
    [javac] Compiling 1 source file to /opt/examples/apache-nutch-2.3.1/build/indexer-solr/classes
    [javac] /opt/examples/apache-nutch-2.3.1/src/plugin/indexer-solr/src/java/org/apache/nutch/indexwriter/solr/SolrUtils.java:24:
error: cannot find symbol
    [javac]     if (job.getBoolean(SolrConstants.USE_AUTH, false)) {
    [javac]                        ^
    [javac]   symbol:   variable SolrConstants
    [javac]   location: class SolrUtils
    [javac] /opt/examples/apache-nutch-2.3.1/src/plugin/indexer-solr/src/java/org/apache/nutch/indexwriter/solr/SolrUtils.java:25:
error: cannot find symbol
    [javac]       String username = job.get(SolrConstants.USERNAME);
    [javac]                                 ^
    [javac]   symbol:   variable SolrConstants
    [javac]   location: class SolrUtils
    [javac] /opt/examples/apache-nutch-2.3.1/src/plugin/indexer-solr/src/java/org/apache/nutch/indexwriter/solr/SolrUtils.java:35:
error: cannot find symbol
    [javac]               .get(SolrConstants.PASSWORD)));
    [javac]                    ^
    [javac]   symbol:   variable SolrConstants
    [javac]   location: class SolrUtils
    [javac] /opt/examples/apache-nutch-2.3.1/src/plugin/indexer-solr/src/java/org/apache/nutch/indexwriter/solr/SolrUtils.java:43:
error: cannot find symbol
    [javac]     return new HttpSolrServer(job.get(SolrConstants.SERVER_URL), client);
    [javac]                                       ^
    [javac]   symbol:   variable SolrConstants
    [javac]   location: class SolrUtils
    [javac] 4 errors




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message