You can use the ValidateConfig
service action to check for errors in the configuration file.
For the ValidateConfig
action to validate a configuration section, Hadoop Connector must have previously read that configuration. In some cases, the configuration might be read when a task is run, rather than when the component starts up. In these cases, ValidateConfig
reports any unread sections of the configuration file as unused.
To validate the configuration file
Send the following action to Hadoop Connector:
http://Host:ServicePort/action=ValidateConfig
where:
Host
|
is the host name or IP address of the machine where Hadoop Connector is installed. |
ServicePort
|
is the service port, as specified in the [Service] section of the configuration file. |
|