nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Nagel (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (NUTCH-2257) apache-nutch-2.3.1-src.tar.gz can not be built
Date Fri, 08 Jun 2018 14:52:00 GMT

     [ https://issues.apache.org/jira/browse/NUTCH-2257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebastian Nagel resolved NUTCH-2257.
------------------------------------
    Resolution: Cannot Reproduce

> 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
>            Priority: Major
>
> 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
(v7.6.3#76005)

Mime
View raw message