You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Olivér Szabó (JIRA)" <ji...@apache.org> on 2018/04/02 22:08:00 UTC

[jira] [Resolved] (AMBARI-23421) Add solr-to-solr archive operation for solrDataManager.py

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

Olivér Szabó resolved AMBARI-23421.
-----------------------------------
    Resolution: Fixed

> Add solr-to-solr archive operation for solrDataManager.py
> ---------------------------------------------------------
>
>                 Key: AMBARI-23421
>                 URL: https://issues.apache.org/jira/browse/AMBARI-23421
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-infra
>    Affects Versions: 2.7.0
>            Reporter: Olivér Szabó
>            Assignee: Olivér Szabó
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.7.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Add solr to solr archive/save option for solrDataManager.py
> new fields: 
> - `solr-output-collection`: the collection where we will archive data
> - `exclude-fields`: exclude fields from solr response (at least _version_ is required)
> example:
> {code:java}
> infra-solr-data-manager -m archive -v -c old_ranger_audits -s http://c7402.ambari.apache.org:8886/solr -z none -r 10000 -w 100000 -f evtTime -e 2018-03-31T01:00:00.00Z --solr-output-collection ranger_audits -k /etc/security/keytabs/ambari-infra-solr.service.keytab -n infra-solr/$(hostname -f) --exclude-fields _version_,_ttl_,_expire_at_
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)