Github user ijokarumawak commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1417#discussion_r97919769
--- Diff:
nifi-nar-bundles/nifi-hive-bundle/nifi-hive-processors/src/test/java/org/apache/nifi/processors/hive/TestPutHiveQL.java
---
@@ -493,8 +496,12 @@ public void testRetryableFailure() throws
InitializationException, ProcessExcept
private static class MockDBCPService extends AbstractControllerService
implements HiveDBCPService {
private final String dbLocation;
+ BasicDataSource dataSource = new BasicDataSource();
+
--- End diff --
Travis build is failing due to check-style error.
```
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-checkstyle-plugin:2.15:check (check-style) on
project nifi-hive-processors: You have 2 Checkstyle violations. -> [Help 1]
```
Please run `mvn -Pcontrib-check clean install` at the root nifi folder to
ensure there's no check-style issue.
You can find error detail in target/checkstyle-result.xml created in each
project, looks like below:
```
<file
name="/Users/koji/dev/nifi/nifi-nar-bundles/nifi-hive-bundle/nifi-hive-processors/src/test/java/org/apache/nifi/processors/hive/TestPutHiveQL.java">
<error line="500" severity="warning" message="Line has trailing
whitespace."
source="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck"/>
</file>
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---