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

Mike Drob updated SOLR-14417:
-----------------------------
    Description: 
There seems to be some package visibility hacks around our Hdfs integration:

{{/Users/dsmiley/SearchDev/lucene-solr/solr/core/src/test/org/apache/solr/cloud/hdfs/HdfsTestUtil.java:125:
 error: BlockPoolSlice is not public in 
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl; cannot be accessed from 
outside package}}
{{List<Class<?>> modifiedHadoopClasses = Arrays.asList(BlockPoolSlice.class, 
DiskChecker.class,}}

This happens on my Gradle build when running {{gradlew testClasses}} (i.e. to 
compile tests) but Ant proceeded without issue.  The work-around is to run 
{{gradlew clean}} first but really I want our build to be smarter here.

CC [~krisden]

  was:
There seems to be some package visibility hacks around our Hdfs integration:

{{/Users/dsmiley/SearchDev/lucene-solr/solr/core/src/test/org/apache/solr/cloud/hdfs/HdfsTestUtil.java:125:
 error: BlockPoolSlice is not public in 
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl; cannot be accessed from 
outside package}}}}
{{ {{ List<Class<?>> modifiedHadoopClasses = 
Arrays.asList(BlockPoolSlice.class, DiskChecker.class,}}

This happens on my Gradle build when running {{gradlew testClasses}} (i.e. to 
compile tests) but Ant proceeded without issue.  The work-around is to run 
{{gradlew clean}} first but really I want our build to be smarter here.

CC [~krisden]


> Gradle build sometimes fails RE BlockPoolSlice
> ----------------------------------------------
>
>                 Key: SOLR-14417
>                 URL: https://issues.apache.org/jira/browse/SOLR-14417
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Build
>            Reporter: David Smiley
>            Priority: Minor
>
> There seems to be some package visibility hacks around our Hdfs integration:
> {{/Users/dsmiley/SearchDev/lucene-solr/solr/core/src/test/org/apache/solr/cloud/hdfs/HdfsTestUtil.java:125:
>  error: BlockPoolSlice is not public in 
> org.apache.hadoop.hdfs.server.datanode.fsdataset.impl; cannot be accessed 
> from outside package}}
> {{List<Class<?>> modifiedHadoopClasses = Arrays.asList(BlockPoolSlice.class, 
> DiskChecker.class,}}
> This happens on my Gradle build when running {{gradlew testClasses}} (i.e. to 
> compile tests) but Ant proceeded without issue.  The work-around is to run 
> {{gradlew clean}} first but really I want our build to be smarter here.
> CC [~krisden]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to