Class AppCatalogSolrClient
java.lang.Object
org.apache.hadoop.yarn.appcatalog.application.AppCatalogSolrClient
Driver class for accessing Solr.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidfindAppEntry(String id) org.apache.solr.client.solrj.SolrClientvoidregister(Application app) protected voidregister(AppStoreEntry app) voidupgradeApp(org.apache.hadoop.yarn.service.api.records.Service service)
-
Constructor Details
-
AppCatalogSolrClient
public AppCatalogSolrClient()
-
-
Method Details
-
getSolrClient
public org.apache.solr.client.solrj.SolrClient getSolrClient() -
getRecommendedApps
-
search
-
listAppEntries
-
findAppStoreEntry
-
findAppEntry
-
deployApp
public void deployApp(String id, org.apache.hadoop.yarn.service.api.records.Service service) throws org.apache.solr.client.solrj.SolrServerException, IOException - Throws:
org.apache.solr.client.solrj.SolrServerExceptionIOException
-
deleteApp
-
register
- Throws:
IOException
-
register
- Throws:
IOException
-
upgradeApp
public void upgradeApp(org.apache.hadoop.yarn.service.api.records.Service service) throws IOException, org.apache.solr.client.solrj.SolrServerException - Throws:
IOExceptionorg.apache.solr.client.solrj.SolrServerException
-