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

Kevin Risden commented on SOLR-14047:
-------------------------------------

Need to make sure 
https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java#L73
 are both unset. Both the system property and the environment variable. It is 
probably best to do this in the SolrJ test case base class. I'll look if there 
are other ways.

> Make sure tests don't pickup other Hadoop installs
> --------------------------------------------------
>
>                 Key: SOLR-14047
>                 URL: https://issues.apache.org/jira/browse/SOLR-14047
>             Project: Solr
>          Issue Type: Test
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Hadoop Integration, hdfs, Tests
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Major
>         Attachments: ant-output.txt
>
>
> Currently if HADOOP_HOME is set, that will affect the tests. Need to make 
> sure to either unset that environment variable or make sure that Hadoop 
> doesn't pickup environment variables unnecessarily in tests.
> [~gerlowskija] found this in testing SOLR-14033



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