[
https://issues.apache.org/jira/browse/NIFI-3344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16603443#comment-16603443
]
ASF GitHub Bot commented on NIFI-3344:
--------------------------------------
Github user nalewis commented on the issue:
https://github.com/apache/nifi/pull/2987
At the moment my windows installs fail on this NifiGroovyTest, where it
tries to generate and reference a linux style path. I saw a recent email
discussion that seemed to bring up a similar issue
[here](http://apache-nifi.1125220.n5.nabble.com/Build-Failure-for-project-nifi-toolkit-cli-td24180.html).
*mvn -version*
```
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d;
2017-10-18T02:58:13-05:00)
`Maven` home: C:\Program Files\apache-maven-3.5.2
Java version: 1.8.0_151, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_151\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: `"windows"`
```
```
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.nifi.NiFiGroovyTest
[ERROR] Tests run: 8, Failures: 0, Errors: 2, Skipped: 0, Time elapsed:
1.667 s <<< FAILURE! - in org.apache.nifi.NiFiGroovyTest
[ERROR]
testInitializePropertiesShouldSetBootstrapKeyFromFile(org.apache.nifi.NiFiGroovyTest)
Time elapsed: 0.495 s <<< ERROR!
java.nio.file.InvalidPathException: Illegal char <:> at index 2:
/C:/Users/nlewis/Desktop/Projects/NIFI/nickOfficialNifi/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-runtime/target/test-classes/\NiFiProperties\password-testInitializePropertiesShouldSetBootstrapKeyFromFile.txt
at
org.apache.nifi.NiFiGroovyTest.testInitializePropertiesShouldSetBootstrapKeyFromFile(NiFiGroovyTest.groovy:161)
[ERROR]
testMainShouldHandleMalformedBootstrapKeyFromFile(org.apache.nifi.NiFiGroovyTest)
Time elapsed: 0.001 s <<< ERROR!
java.nio.file.InvalidPathException: Illegal char <:> at index 2:
/C:/Users/nlewis/Desktop/Projects/NIFI/nickOfficialNifi/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-runtime/target/test-classes/\NiFiProperties\password-testMainShouldHandleMalformedBootstrapKeyFromFile.txt
at
org.apache.nifi.NiFiGroovyTest.testMainShouldHandleMalformedBootstrapKeyFromFile(NiFiGroovyTest.groovy:141)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]
NiFiGroovyTest.testInitializePropertiesShouldSetBootstrapKeyFromFile:161 ▒
InvalidPath
[ERROR]
NiFiGroovyTest.testMainShouldHandleMalformedBootstrapKeyFromFile:141 ▒
InvalidPath
[INFO]
[ERROR] Tests run: 8, Failures: 0, Errors: 2, Skipped: 0
```
It is to be noted that I am very new to developing on this project and
could just be environment issues! :)
> Enable JoltTransformJSON processor to have option to pretty print
> -----------------------------------------------------------------
>
> Key: NIFI-3344
> URL: https://issues.apache.org/jira/browse/NIFI-3344
> Project: Apache NiFi
> Issue Type: New Feature
> Affects Versions: 1.1.1
> Reporter: Elli Schwarz
> Priority: Major
>
> It would be nice if a Nifi property could be set on the JoltTransformJSON
> processor to enable/disable pretty printing of the JSON output. (For
> performance reasons, I assume that some users might want it off.)
> Currently, the code uses the Jolt library's method JsonUtils.toJsonString(),
> but there's also a toPrettyJsonString() method that can be used.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)