[
https://issues.apache.org/jira/browse/NIFI-4168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-4168.
----------------------------------
Resolution: Feedback Received
Apache NiFi 1.x is no longer maintained and no new release is planned on the
1.x release line. Marking as resolved as part of a cleanup operation. Please
open a new one with an updated description if this is still relevant for NiFi
2.x.
> Invalid HBase config file throws runtime exception
> --------------------------------------------------
>
> Key: NIFI-4168
> URL: https://issues.apache.org/jira/browse/NIFI-4168
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.0.0, 1.2.0, 1.1.1, 1.3.0
> Reporter: Bryan Bende
> Priority: Minor
>
> If you enter a file that is not a real XML site file into the
> HBase_1_1_2_ClientService as a config file, it throws the following exception
> and the service is invalid:
> {code}
> 2017-07-07 16:56:04,817 ERROR [NiFi Web Server-17]
> o.a.n.c.AbstractConfiguredComponent Failed to perform validation of
> HBase_1_1_2_ClientService[id=1ed61bd5-015d-1000-b727-9257831db2c2]
> java.lang.RuntimeException: org.xml.sax.SAXParseException; systemId:
> file:///somefile.txt; lineNumber: 1; columnNumber: 1; Content is not allowed
> in prolog.
> at
> org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2645)
> at
> org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2502)
> at
> org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2405)
> at org.apache.hadoop.conf.Configuration.get(Configuration.java:981)
> at
> org.apache.nifi.hadoop.SecurityUtil.isSecurityEnabled(SecurityUtil.java:86)
> at
> org.apache.nifi.hadoop.KerberosProperties.validatePrincipalAndKeytab(KerberosProperties.java:121)
> at
> org.apache.nifi.hbase.HBase_1_1_2_ClientService.customValidate(HBase_1_1_2_ClientService.java:173)
> at
> org.apache.nifi.components.AbstractConfigurableComponent.validate(AbstractConfigurableComponent.java:126)
> {code}
> If you exit the controller services screen and come back in, the service is
> now valid.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)