@Test public void testValidateConfig() { }
@Override public Map<String,Object> validateConfig() throws Exception { Map<String, Object> ret = new HashMap<String, Object>(); String serviceName = getServiceName(); if(LOG.isDebugEnabled()) { LOG.debug("==> RangerServiceHBase.validateConfig() Service: (" + serviceName + " )"); } if ( configs != null) { try { ret = HBaseResourceMgr.connectionTest(serviceName, configs); } catch (HadoopException e) { LOG.error("<== RangerServiceHBase.validateConfig() Error:" + e); throw e; } } if(LOG.isDebugEnabled()) { LOG.debug("<== RangerServiceHBase.validateConfig() Response : (" + ret + " )"); } return ret; }
RangerServiceHBase extends RangerBaseService { @Override public Map<String,Object> validateConfig() throws Exception { Map<String, Object> ret = new HashMap<String, Object>(); String serviceName = getServiceName(); if(LOG.isDebugEnabled()) { LOG.debug("==> RangerServiceHBase.validateConfig() Service: (" + serviceName + " )"); } if ( configs != null) { try { ret = HBaseResourceMgr.connectionTest(serviceName, configs); } catch (HadoopException e) { LOG.error("<== RangerServiceHBase.validateConfig() Error:" + e); throw e; } } if(LOG.isDebugEnabled()) { LOG.debug("<== RangerServiceHBase.validateConfig() Response : (" + ret + " )"); } return ret; } }
RangerServiceHBase extends RangerBaseService { @Override public Map<String,Object> validateConfig() throws Exception { Map<String, Object> ret = new HashMap<String, Object>(); String serviceName = getServiceName(); if(LOG.isDebugEnabled()) { LOG.debug("==> RangerServiceHBase.validateConfig() Service: (" + serviceName + " )"); } if ( configs != null) { try { ret = HBaseResourceMgr.connectionTest(serviceName, configs); } catch (HadoopException e) { LOG.error("<== RangerServiceHBase.validateConfig() Error:" + e); throw e; } } if(LOG.isDebugEnabled()) { LOG.debug("<== RangerServiceHBase.validateConfig() Response : (" + ret + " )"); } return ret; } RangerServiceHBase(); }
RangerServiceHBase extends RangerBaseService { @Override public Map<String,Object> validateConfig() throws Exception { Map<String, Object> ret = new HashMap<String, Object>(); String serviceName = getServiceName(); if(LOG.isDebugEnabled()) { LOG.debug("==> RangerServiceHBase.validateConfig() Service: (" + serviceName + " )"); } if ( configs != null) { try { ret = HBaseResourceMgr.connectionTest(serviceName, configs); } catch (HadoopException e) { LOG.error("<== RangerServiceHBase.validateConfig() Error:" + e); throw e; } } if(LOG.isDebugEnabled()) { LOG.debug("<== RangerServiceHBase.validateConfig() Response : (" + ret + " )"); } return ret; } RangerServiceHBase(); @Override void init(RangerServiceDef serviceDef, RangerService service); @Override List<RangerPolicy> getDefaultRangerPolicies(); @Override Map<String,Object> validateConfig(); @Override List<String> lookupResource(ResourceLookupContext context); }
RangerServiceHBase extends RangerBaseService { @Override public Map<String,Object> validateConfig() throws Exception { Map<String, Object> ret = new HashMap<String, Object>(); String serviceName = getServiceName(); if(LOG.isDebugEnabled()) { LOG.debug("==> RangerServiceHBase.validateConfig() Service: (" + serviceName + " )"); } if ( configs != null) { try { ret = HBaseResourceMgr.connectionTest(serviceName, configs); } catch (HadoopException e) { LOG.error("<== RangerServiceHBase.validateConfig() Error:" + e); throw e; } } if(LOG.isDebugEnabled()) { LOG.debug("<== RangerServiceHBase.validateConfig() Response : (" + ret + " )"); } return ret; } RangerServiceHBase(); @Override void init(RangerServiceDef serviceDef, RangerService service); @Override List<RangerPolicy> getDefaultRangerPolicies(); @Override Map<String,Object> validateConfig(); @Override List<String> lookupResource(ResourceLookupContext context); static final String ACCESS_TYPE_READ; static final String ACCESS_TYPE_CREATE; }