You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "peng.jianhua (JIRA)" <ji...@apache.org> on 2017/08/03 01:18:00 UTC

[jira] [Updated] (RANGER-1723) The Ranger doesn't support solr6. In the HttpSolrClient class of solr6, the setMaxRetries function has been removed, which causes ranger to fail to compile.

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

peng.jianhua updated RANGER-1723:
---------------------------------
    Description: 
In the HttpSolrClient class of solr5, the setMaxRetries function is deprecated, and the realization of this function is empty, as follow

{code:java}
  /**
   * @deprecated retries should be implemented in client code, and should be considered carefully per-request
   */
  public void setMaxRetries(int maxRetries) { }
{code}

Then the setMaxRetries function has been removed in the HttpSolrClient class of solr6, which causes ranger to fail to compile.

  was:
In the HttpSolrClient class of solr5, the setMaxRetries function is deprecated, and the realization of this function is empty, as follow

{code:java}
  /**
   * @deprecated retries should be implemented in client code, and should be considered carefully per-request
   */
  public void -setMaxRetries-(int maxRetries) { }
{code}

Then the setMaxRetries function has been removed in the HttpSolrClient class of solr6, which causes ranger to fail to compile.


> The Ranger doesn't support solr6. In the HttpSolrClient class of solr6, the setMaxRetries function has been removed, which causes ranger to fail to compile.
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-1723
>                 URL: https://issues.apache.org/jira/browse/RANGER-1723
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>            Reporter: peng.jianhua
>            Assignee: peng.jianhua
>              Labels: patch
>
> In the HttpSolrClient class of solr5, the setMaxRetries function is deprecated, and the realization of this function is empty, as follow
> {code:java}
>   /**
>    * @deprecated retries should be implemented in client code, and should be considered carefully per-request
>    */
>   public void setMaxRetries(int maxRetries) { }
> {code}
> Then the setMaxRetries function has been removed in the HttpSolrClient class of solr6, which causes ranger to fail to compile.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)