[GitHub] nifi-registry pull request #150: Fixes bug in path to providers file

2018-12-11 Thread joaocc
GitHub user joaocc opened a pull request:

https://github.com/apache/nifi-registry/pull/150

Fixes bug in path to providers file



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/joaocc/nifi-registry patch-1

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/nifi-registry/pull/150.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #150


commit faa35488c3f8fdaab6b563ca3023376d350e1d3b
Author: Joao C Costa 
Date:   2018-12-12T07:17:49Z

Fixes bug in path to providers file




---


[jira] [Commented] (MINIFICPP-693) getProperty should rely on user provided allocated buffers.

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/MINIFICPP-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16718391#comment-16718391
 ] 

ASF GitHub Bot commented on MINIFICPP-693:
--

Github user asfgit closed the pull request at:

https://github.com/apache/nifi-minifi-cpp/pull/458


> getProperty should rely on user provided allocated buffers. 
> 
>
> Key: MINIFICPP-693
> URL: https://issues.apache.org/jira/browse/MINIFICPP-693
> Project: NiFi MiNiFi C++
>  Issue Type: Improvement
>Reporter: Mr TheSegfault
>Assignee: Arpad Boda
>Priority: Major
>  Labels: nanofi
>
> Assuming this is a provision from the current release we should be able to 
> change this to getproperty(XXX,user pntr, user provided size) and leave 
> allocation up to the consumer. This will likely be more C prototypical and 
> congruent with where the API is headed. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] nifi-minifi-cpp pull request #458: MINIFICPP-693 - getProperty should rely o...

2018-12-11 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/nifi-minifi-cpp/pull/458


---


[jira] [Commented] (MINIFICPP-695) NanoFi Examples appear to be broken

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/MINIFICPP-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16718386#comment-16718386
 ] 

ASF GitHub Bot commented on MINIFICPP-695:
--

Github user phrocker commented on a diff in the pull request:

https://github.com/apache/nifi-minifi-cpp/pull/459#discussion_r240863016
  
--- Diff: nanofi/examples/CMakeLists.txt ---
@@ -50,11 +50,11 @@ if (WIN32)
 set(LINK_FLAGS "/WHOLEARCHIVE")
 set(LINK_END_FLAGS "")
 elseif (APPLE)
-set(LINK_FLAGS "-Wl,-all_load")
+set(LINK_FLAGS "")
--- End diff --

Unfortunately this doesn't solve the problem. This only causes the curl 
support to not be built. I'll take a closer look tomorrow. Thanks!


> NanoFi Examples appear to be broken
> ---
>
> Key: MINIFICPP-695
> URL: https://issues.apache.org/jira/browse/MINIFICPP-695
> Project: NiFi MiNiFi C++
>  Issue Type: Bug
>Reporter: Mr TheSegfault
>Assignee: Arpad Boda
>Priority: Blocker
>  Labels: nanofi
>
> When testing recent changes the examples appear to not work due to a 
> mis-configuration of the client. Not sure when/what broke it specifically, 
> but we should ensure that examples function. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] nifi-minifi-cpp pull request #459: MINIFICPP-695 - NanoFi Examples appear to...

2018-12-11 Thread phrocker
Github user phrocker commented on a diff in the pull request:

https://github.com/apache/nifi-minifi-cpp/pull/459#discussion_r240863016
  
--- Diff: nanofi/examples/CMakeLists.txt ---
@@ -50,11 +50,11 @@ if (WIN32)
 set(LINK_FLAGS "/WHOLEARCHIVE")
 set(LINK_END_FLAGS "")
 elseif (APPLE)
-set(LINK_FLAGS "-Wl,-all_load")
+set(LINK_FLAGS "")
--- End diff --

Unfortunately this doesn't solve the problem. This only causes the curl 
support to not be built. I'll take a closer look tomorrow. Thanks!


---


[jira] [Commented] (NIFI-5889) Improve documentation on S2S Reporting tasks

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16718379#comment-16718379
 ] 

ASF GitHub Bot commented on NIFI-5889:
--

Github user ijokarumawak commented on the issue:

https://github.com/apache/nifi/pull/3215
  
LGTM +1, merging. Thanks @pvillard31!


> Improve documentation on S2S Reporting tasks
> 
>
> Key: NIFI-5889
> URL: https://issues.apache.org/jira/browse/NIFI-5889
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Documentation  Website, Extensions
>Reporter: Pierre Villard
>Assignee: Pierre Villard
>Priority: Major
>
> Improve the documentation on "Destination URL" property of the S2S reporting 
> tasks. Right now, users might think the destination URL represent the actual 
> node(s) where the data will be sent.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (NIFI-5889) Improve documentation on S2S Reporting tasks

2018-12-11 Thread Koji Kawamura (JIRA)


 [ 
https://issues.apache.org/jira/browse/NIFI-5889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Koji Kawamura updated NIFI-5889:

   Resolution: Fixed
Fix Version/s: 1.9.0
   Status: Resolved  (was: Patch Available)

> Improve documentation on S2S Reporting tasks
> 
>
> Key: NIFI-5889
> URL: https://issues.apache.org/jira/browse/NIFI-5889
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Documentation  Website, Extensions
>Reporter: Pierre Villard
>Assignee: Pierre Villard
>Priority: Major
> Fix For: 1.9.0
>
>
> Improve the documentation on "Destination URL" property of the S2S reporting 
> tasks. Right now, users might think the destination URL represent the actual 
> node(s) where the data will be sent.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (NIFI-5889) Improve documentation on S2S Reporting tasks

2018-12-11 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16718381#comment-16718381
 ] 

ASF subversion and git services commented on NIFI-5889:
---

Commit 85cc5aa9eb99fce8268a476fa8a645184478be1d in nifi's branch 
refs/heads/master from [~pvillard]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=85cc5aa ]

NIFI-5889 - changed the wording about Destination URL in S2S RTs

This closes #3215.

Signed-off-by: Koji Kawamura 


> Improve documentation on S2S Reporting tasks
> 
>
> Key: NIFI-5889
> URL: https://issues.apache.org/jira/browse/NIFI-5889
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Documentation  Website, Extensions
>Reporter: Pierre Villard
>Assignee: Pierre Villard
>Priority: Major
> Fix For: 1.9.0
>
>
> Improve the documentation on "Destination URL" property of the S2S reporting 
> tasks. Right now, users might think the destination URL represent the actual 
> node(s) where the data will be sent.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (NIFI-5889) Improve documentation on S2S Reporting tasks

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16718382#comment-16718382
 ] 

ASF GitHub Bot commented on NIFI-5889:
--

Github user asfgit closed the pull request at:

https://github.com/apache/nifi/pull/3215


> Improve documentation on S2S Reporting tasks
> 
>
> Key: NIFI-5889
> URL: https://issues.apache.org/jira/browse/NIFI-5889
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Documentation  Website, Extensions
>Reporter: Pierre Villard
>Assignee: Pierre Villard
>Priority: Major
> Fix For: 1.9.0
>
>
> Improve the documentation on "Destination URL" property of the S2S reporting 
> tasks. Right now, users might think the destination URL represent the actual 
> node(s) where the data will be sent.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] nifi pull request #3215: NIFI-5889 - changed the wording about Destination U...

2018-12-11 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/nifi/pull/3215


---


[GitHub] nifi issue #3215: NIFI-5889 - changed the wording about Destination URL in S...

2018-12-11 Thread ijokarumawak
Github user ijokarumawak commented on the issue:

https://github.com/apache/nifi/pull/3215
  
LGTM +1, merging. Thanks @pvillard31!


---


[jira] [Commented] (NIFI-5890) Add Timestamp -> Date conversion support to DataTypeUtils

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16718360#comment-16718360
 ] 

ASF GitHub Bot commented on NIFI-5890:
--

Github user ijokarumawak commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3214#discussion_r240856001
  
--- Diff: 
nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-processors/src/main/java/org/apache/nifi/processors/elasticsearch/PutElasticsearchHttpRecord.java
 ---
@@ -404,7 +404,7 @@ public void onTrigger(final ProcessContext context, 
final ProcessSession session
 reason = 
itemNode.findPath("reason").asText();
 }
 errorReason = reason;
-logger.error("Failed to process {} 
due to {}, transferring to failure",
+talogger.error("Failed to process 
{} due to {}, transferring to failure",
--- End diff --

I believe this change is not intentional.


> Add Timestamp -> Date conversion support to DataTypeUtils
> -
>
> Key: NIFI-5890
> URL: https://issues.apache.org/jira/browse/NIFI-5890
> Project: Apache NiFi
>  Issue Type: New Feature
>  Components: Extensions
>Affects Versions: 1.8.0
>Reporter: Mike Thomsen
>Assignee: Mike Thomsen
>Priority: Major
>
> Timestamp to Date conversion fails with following Exception with 
> rel/nifi-1.8.0 branch:
> {code}
> [ERROR] 
> testTimestampToDate(org.apache.nifi.serialization.record.TestDataTypeUtils)  
> Time elapsed: 0.008 s  <<< ERROR!
> org.apache.nifi.serialization.record.util.IllegalTypeConversionException: 
> Cannot convert value [2018-12-12 10:45:26.478] of type class 
> java.sql.Timestamp to Date for field null
> at 
> org.apache.nifi.serialization.record.TestDataTypeUtils.testTimestampToDate(TestDataTypeUtils.java:67)
> {code}
> But NIFI-5333 added supporting this. This JIRA adds an unit test case to 
> assert that conversion works.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (NIFI-5890) Add Timestamp -> Date conversion support to DataTypeUtils

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16718370#comment-16718370
 ] 

ASF GitHub Bot commented on NIFI-5890:
--

Github user asfgit closed the pull request at:

https://github.com/apache/nifi/pull/3214


> Add Timestamp -> Date conversion support to DataTypeUtils
> -
>
> Key: NIFI-5890
> URL: https://issues.apache.org/jira/browse/NIFI-5890
> Project: Apache NiFi
>  Issue Type: New Feature
>  Components: Extensions
>Affects Versions: 1.8.0
>Reporter: Mike Thomsen
>Assignee: Mike Thomsen
>Priority: Major
> Fix For: 1.9.0
>
>
> Timestamp to Date conversion fails with following Exception with 
> rel/nifi-1.8.0 branch:
> {code}
> [ERROR] 
> testTimestampToDate(org.apache.nifi.serialization.record.TestDataTypeUtils)  
> Time elapsed: 0.008 s  <<< ERROR!
> org.apache.nifi.serialization.record.util.IllegalTypeConversionException: 
> Cannot convert value [2018-12-12 10:45:26.478] of type class 
> java.sql.Timestamp to Date for field null
> at 
> org.apache.nifi.serialization.record.TestDataTypeUtils.testTimestampToDate(TestDataTypeUtils.java:67)
> {code}
> But NIFI-5333 added supporting this. This JIRA adds an unit test case to 
> assert that conversion works.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (NIFI-5890) Add Timestamp -> Date conversion support to DataTypeUtils

2018-12-11 Thread Koji Kawamura (JIRA)


 [ 
https://issues.apache.org/jira/browse/NIFI-5890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Koji Kawamura resolved NIFI-5890.
-
   Resolution: Fixed
Fix Version/s: 1.9.0

> Add Timestamp -> Date conversion support to DataTypeUtils
> -
>
> Key: NIFI-5890
> URL: https://issues.apache.org/jira/browse/NIFI-5890
> Project: Apache NiFi
>  Issue Type: New Feature
>  Components: Extensions
>Affects Versions: 1.8.0
>Reporter: Mike Thomsen
>Assignee: Mike Thomsen
>Priority: Major
> Fix For: 1.9.0
>
>
> Timestamp to Date conversion fails with following Exception with 
> rel/nifi-1.8.0 branch:
> {code}
> [ERROR] 
> testTimestampToDate(org.apache.nifi.serialization.record.TestDataTypeUtils)  
> Time elapsed: 0.008 s  <<< ERROR!
> org.apache.nifi.serialization.record.util.IllegalTypeConversionException: 
> Cannot convert value [2018-12-12 10:45:26.478] of type class 
> java.sql.Timestamp to Date for field null
> at 
> org.apache.nifi.serialization.record.TestDataTypeUtils.testTimestampToDate(TestDataTypeUtils.java:67)
> {code}
> But NIFI-5333 added supporting this. This JIRA adds an unit test case to 
> assert that conversion works.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] nifi pull request #3214: NIFI-5890 Added a unit test that proves that 1.9 fi...

2018-12-11 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/nifi/pull/3214


---


[jira] [Commented] (NIFI-5890) Add Timestamp -> Date conversion support to DataTypeUtils

2018-12-11 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16718369#comment-16718369
 ] 

ASF subversion and git services commented on NIFI-5890:
---

Commit 13a7f168604f20da3c837ce3bf91a3472a9708f1 in nifi's branch 
refs/heads/master from [~mike.thomsen]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=13a7f16 ]

NIFI-5890 Added a unit test that proves that 1.9 fixes a bug in the date 
conversion behavior in 1.8.

This closes #3214.

Signed-off-by: Koji Kawamura 


> Add Timestamp -> Date conversion support to DataTypeUtils
> -
>
> Key: NIFI-5890
> URL: https://issues.apache.org/jira/browse/NIFI-5890
> Project: Apache NiFi
>  Issue Type: New Feature
>  Components: Extensions
>Affects Versions: 1.8.0
>Reporter: Mike Thomsen
>Assignee: Mike Thomsen
>Priority: Major
>
> Timestamp to Date conversion fails with following Exception with 
> rel/nifi-1.8.0 branch:
> {code}
> [ERROR] 
> testTimestampToDate(org.apache.nifi.serialization.record.TestDataTypeUtils)  
> Time elapsed: 0.008 s  <<< ERROR!
> org.apache.nifi.serialization.record.util.IllegalTypeConversionException: 
> Cannot convert value [2018-12-12 10:45:26.478] of type class 
> java.sql.Timestamp to Date for field null
> at 
> org.apache.nifi.serialization.record.TestDataTypeUtils.testTimestampToDate(TestDataTypeUtils.java:67)
> {code}
> But NIFI-5333 added supporting this. This JIRA adds an unit test case to 
> assert that conversion works.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (NIFI-5890) Add Timestamp -> Date conversion support to DataTypeUtils

2018-12-11 Thread Koji Kawamura (JIRA)


 [ 
https://issues.apache.org/jira/browse/NIFI-5890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Koji Kawamura updated NIFI-5890:

Description: 
Timestamp to Date conversion fails with following Exception with rel/nifi-1.8.0 
branch:

{code}
[ERROR] 
testTimestampToDate(org.apache.nifi.serialization.record.TestDataTypeUtils)  
Time elapsed: 0.008 s  <<< ERROR!
org.apache.nifi.serialization.record.util.IllegalTypeConversionException: 
Cannot convert value [2018-12-12 10:45:26.478] of type class java.sql.Timestamp 
to Date for field null
at 
org.apache.nifi.serialization.record.TestDataTypeUtils.testTimestampToDate(TestDataTypeUtils.java:67)
{code}

But NIFI-5333 added supporting this. This JIRA adds an unit test case to assert 
that conversion works.

> Add Timestamp -> Date conversion support to DataTypeUtils
> -
>
> Key: NIFI-5890
> URL: https://issues.apache.org/jira/browse/NIFI-5890
> Project: Apache NiFi
>  Issue Type: New Feature
>  Components: Extensions
>Affects Versions: 1.8.0
>Reporter: Mike Thomsen
>Assignee: Mike Thomsen
>Priority: Major
>
> Timestamp to Date conversion fails with following Exception with 
> rel/nifi-1.8.0 branch:
> {code}
> [ERROR] 
> testTimestampToDate(org.apache.nifi.serialization.record.TestDataTypeUtils)  
> Time elapsed: 0.008 s  <<< ERROR!
> org.apache.nifi.serialization.record.util.IllegalTypeConversionException: 
> Cannot convert value [2018-12-12 10:45:26.478] of type class 
> java.sql.Timestamp to Date for field null
> at 
> org.apache.nifi.serialization.record.TestDataTypeUtils.testTimestampToDate(TestDataTypeUtils.java:67)
> {code}
> But NIFI-5333 added supporting this. This JIRA adds an unit test case to 
> assert that conversion works.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] nifi pull request #3214: NIFI-5890 Added a unit test that proves that 1.9 fi...

2018-12-11 Thread ijokarumawak
Github user ijokarumawak commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3214#discussion_r240856001
  
--- Diff: 
nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-processors/src/main/java/org/apache/nifi/processors/elasticsearch/PutElasticsearchHttpRecord.java
 ---
@@ -404,7 +404,7 @@ public void onTrigger(final ProcessContext context, 
final ProcessSession session
 reason = 
itemNode.findPath("reason").asText();
 }
 errorReason = reason;
-logger.error("Failed to process {} 
due to {}, transferring to failure",
+talogger.error("Failed to process 
{} due to {}, transferring to failure",
--- End diff --

I believe this change is not intentional.


---


[jira] [Commented] (NIFI-5890) Add Timestamp -> Date conversion support to DataTypeUtils

2018-12-11 Thread Koji Kawamura (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16718355#comment-16718355
 ] 

Koji Kawamura commented on NIFI-5890:
-

This improvement is actually added by NIFI-5333, specifically at this commit.

https://github.com/apache/nifi/commit/e603c486f49f058d5f37892d172c1d6dddff55c7#diff-8617cc91cca7c29ce3696f24a6a78ad8

> Add Timestamp -> Date conversion support to DataTypeUtils
> -
>
> Key: NIFI-5890
> URL: https://issues.apache.org/jira/browse/NIFI-5890
> Project: Apache NiFi
>  Issue Type: New Feature
>  Components: Extensions
>Affects Versions: 1.8.0
>Reporter: Mike Thomsen
>Assignee: Mike Thomsen
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (NIFI-5890) Add Timestamp -> Date conversion support to DataTypeUtils

2018-12-11 Thread Koji Kawamura (JIRA)


 [ 
https://issues.apache.org/jira/browse/NIFI-5890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Koji Kawamura updated NIFI-5890:

Component/s: Extensions

> Add Timestamp -> Date conversion support to DataTypeUtils
> -
>
> Key: NIFI-5890
> URL: https://issues.apache.org/jira/browse/NIFI-5890
> Project: Apache NiFi
>  Issue Type: New Feature
>  Components: Extensions
>Affects Versions: 1.8.0
>Reporter: Mike Thomsen
>Assignee: Mike Thomsen
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MINIFICPP-479) Incorporate property validation information into manifest

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/MINIFICPP-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16718326#comment-16718326
 ] 

ASF GitHub Bot commented on MINIFICPP-479:
--

GitHub user phrocker opened a pull request:

https://github.com/apache/nifi-minifi-cpp/pull/460

MINIFICPP-479: Add processor property descriptor updates. WIP

Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

### For all changes:
- [ ] Is there a JIRA ticket associated with this PR? Is it referenced
 in the commit message?

- [ ] Does your PR title start with MINIFICPP- where  is the JIRA 
number you are trying to resolve? Pay particular attention to the hyphen "-" 
character.

- [ ] Has your PR been rebased against the latest commit within the target 
branch (typically master)?

- [ ] Is your initial contribution a single, squashed commit?

### For code changes:
- [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the LICENSE file?
- [ ] If applicable, have you updated the NOTICE file?

### For documentation related changes:
- [ ] Have you ensured that format looks appropriate for the output in 
which it is rendered?

### Note:
Please ensure that once the PR is submitted, you check travis-ci for build 
issues and submit an update to your PR as soon as possible.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/phrocker/nifi-minifi-cpp MINIFICPP-479

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/nifi-minifi-cpp/pull/460.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #460


commit 371ab8cf0cbcd25c4924696ffe1c7215da2c2977
Author: Marc Parisi 
Date:   2018-08-12T17:22:00Z

MINIFICPP-479 and others: commit initial stuff

get back on track

MINIFICPP-479: begin incorporating validators

MINIFICPP-479: Adding code found on laptop

Found more code in stashed repos

commit ce89c4dfc6839ef071a8488af61abbefd0038027
Author: Marc Parisi 
Date:   2018-08-19T16:00:00Z

MINIFICPP-479: inc commit .. does not work fully

commit 72df0111bb5c6ae03be38c0471578178e7945365
Author: Marc Parisi 
Date:   2018-12-11T01:03:34Z

MINIFICPP-479: Make updates to how values can be used

MINIFICPP-479: Add comments

commit 54fc1f36cea1f7bb30e208acf95487c29b0fe2af
Author: Marc Parisi 
Date:   2018-12-12T01:12:58Z

MINIFICPP-479: Update processors




> Incorporate property validation information into manifest
> -
>
> Key: MINIFICPP-479
> URL: https://issues.apache.org/jira/browse/MINIFICPP-479
> Project: NiFi MiNiFi C++
>  Issue Type: Improvement
>Reporter: Andrew Christianson
>Assignee: Mr TheSegfault
>Priority: Major
>
> High-level intent is to avoid round-trip to c2 to know that flow is valid 
> (or, invalid in common/trivial ways).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] nifi-minifi-cpp pull request #460: MINIFICPP-479: Add processor property des...

2018-12-11 Thread phrocker
GitHub user phrocker opened a pull request:

https://github.com/apache/nifi-minifi-cpp/pull/460

MINIFICPP-479: Add processor property descriptor updates. WIP

Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

### For all changes:
- [ ] Is there a JIRA ticket associated with this PR? Is it referenced
 in the commit message?

- [ ] Does your PR title start with MINIFICPP- where  is the JIRA 
number you are trying to resolve? Pay particular attention to the hyphen "-" 
character.

- [ ] Has your PR been rebased against the latest commit within the target 
branch (typically master)?

- [ ] Is your initial contribution a single, squashed commit?

### For code changes:
- [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the LICENSE file?
- [ ] If applicable, have you updated the NOTICE file?

### For documentation related changes:
- [ ] Have you ensured that format looks appropriate for the output in 
which it is rendered?

### Note:
Please ensure that once the PR is submitted, you check travis-ci for build 
issues and submit an update to your PR as soon as possible.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/phrocker/nifi-minifi-cpp MINIFICPP-479

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/nifi-minifi-cpp/pull/460.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #460


commit 371ab8cf0cbcd25c4924696ffe1c7215da2c2977
Author: Marc Parisi 
Date:   2018-08-12T17:22:00Z

MINIFICPP-479 and others: commit initial stuff

get back on track

MINIFICPP-479: begin incorporating validators

MINIFICPP-479: Adding code found on laptop

Found more code in stashed repos

commit ce89c4dfc6839ef071a8488af61abbefd0038027
Author: Marc Parisi 
Date:   2018-08-19T16:00:00Z

MINIFICPP-479: inc commit .. does not work fully

commit 72df0111bb5c6ae03be38c0471578178e7945365
Author: Marc Parisi 
Date:   2018-12-11T01:03:34Z

MINIFICPP-479: Make updates to how values can be used

MINIFICPP-479: Add comments

commit 54fc1f36cea1f7bb30e208acf95487c29b0fe2af
Author: Marc Parisi 
Date:   2018-12-12T01:12:58Z

MINIFICPP-479: Update processors




---


[jira] [Created] (NIFI-5891) NiFi record serde throws NPE when decimal field has null value

2018-12-11 Thread Gideon Korir (JIRA)
Gideon Korir created NIFI-5891:
--

 Summary: NiFi record serde throws NPE when decimal field has null 
value
 Key: NIFI-5891
 URL: https://issues.apache.org/jira/browse/NIFI-5891
 Project: Apache NiFi
  Issue Type: Improvement
  Components: Core Framework
Affects Versions: 1.8.0
 Environment: RHEL 7.5
Open JDK 1.8

Reporter: Gideon Korir


When an incoming record has a null decimal field, NiFiRecordSerDe (
org.apache.hive.streaming) throws an NPE when trying to create a HiveDecimal. 
This causes the PutHive3Streaming processor to skip the record and log a 
warning.
 
The lines:
{code:java}
val = HiveDecimal.create(record.getAsDouble(fieldName));
{code}
should be changed to something along the lines of:
{code:java}
Double d = record.getAsDouble(fieldName);
val = d == null ? null : HiveRecord.create(d);{code}
The bug is insidious and occurs during Auto-unboxing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (NIFI-5889) Improve documentation on S2S Reporting tasks

2018-12-11 Thread Pierre Villard (JIRA)


 [ 
https://issues.apache.org/jira/browse/NIFI-5889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard updated NIFI-5889:
-
Status: Patch Available  (was: Open)

> Improve documentation on S2S Reporting tasks
> 
>
> Key: NIFI-5889
> URL: https://issues.apache.org/jira/browse/NIFI-5889
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Documentation  Website, Extensions
>Reporter: Pierre Villard
>Assignee: Pierre Villard
>Priority: Major
>
> Improve the documentation on "Destination URL" property of the S2S reporting 
> tasks. Right now, users might think the destination URL represent the actual 
> node(s) where the data will be sent.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (NIFI-5889) Improve documentation on S2S Reporting tasks

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717506#comment-16717506
 ] 

ASF GitHub Bot commented on NIFI-5889:
--

GitHub user pvillard31 opened a pull request:

https://github.com/apache/nifi/pull/3215

NIFI-5889 - changed the wording about Destination URL in S2S RTs

Thank you for submitting a contribution to Apache NiFi.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

### For all changes:
- [ ] Is there a JIRA ticket associated with this PR? Is it referenced 
 in the commit message?

- [ ] Does your PR title start with NIFI- where  is the JIRA number 
you are trying to resolve? Pay particular attention to the hyphen "-" character.

- [ ] Has your PR been rebased against the latest commit within the target 
branch (typically master)?

- [ ] Is your initial contribution a single, squashed commit?

### For code changes:
- [ ] Have you ensured that the full suite of tests is executed via mvn 
-Pcontrib-check clean install at the root nifi folder?
- [ ] Have you written or updated unit tests to verify your changes?
- [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)? 
- [ ] If applicable, have you updated the LICENSE file, including the main 
LICENSE file under nifi-assembly?
- [ ] If applicable, have you updated the NOTICE file, including the main 
NOTICE file found under nifi-assembly?
- [ ] If adding new Properties, have you added .displayName in addition to 
.name (programmatic access) for each of the new properties?

### For documentation related changes:
- [ ] Have you ensured that format looks appropriate for the output in 
which it is rendered?

### Note:
Please ensure that once the PR is submitted, you check travis-ci for build 
issues and submit an update to your PR as soon as possible.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/pvillard31/nifi NIFI-5889

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/nifi/pull/3215.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #3215


commit e9503171ede6b874648251ceefe85ef88e6388dd
Author: Pierre Villard 
Date:   2018-12-11T16:36:45Z

NIFI-5889 - changed the wording about Destination URL in S2S RTs




> Improve documentation on S2S Reporting tasks
> 
>
> Key: NIFI-5889
> URL: https://issues.apache.org/jira/browse/NIFI-5889
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Documentation  Website, Extensions
>Reporter: Pierre Villard
>Assignee: Pierre Villard
>Priority: Major
>
> Improve the documentation on "Destination URL" property of the S2S reporting 
> tasks. Right now, users might think the destination URL represent the actual 
> node(s) where the data will be sent.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] nifi pull request #3215: NIFI-5889 - changed the wording about Destination U...

2018-12-11 Thread pvillard31
GitHub user pvillard31 opened a pull request:

https://github.com/apache/nifi/pull/3215

NIFI-5889 - changed the wording about Destination URL in S2S RTs

Thank you for submitting a contribution to Apache NiFi.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

### For all changes:
- [ ] Is there a JIRA ticket associated with this PR? Is it referenced 
 in the commit message?

- [ ] Does your PR title start with NIFI- where  is the JIRA number 
you are trying to resolve? Pay particular attention to the hyphen "-" character.

- [ ] Has your PR been rebased against the latest commit within the target 
branch (typically master)?

- [ ] Is your initial contribution a single, squashed commit?

### For code changes:
- [ ] Have you ensured that the full suite of tests is executed via mvn 
-Pcontrib-check clean install at the root nifi folder?
- [ ] Have you written or updated unit tests to verify your changes?
- [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)? 
- [ ] If applicable, have you updated the LICENSE file, including the main 
LICENSE file under nifi-assembly?
- [ ] If applicable, have you updated the NOTICE file, including the main 
NOTICE file found under nifi-assembly?
- [ ] If adding new Properties, have you added .displayName in addition to 
.name (programmatic access) for each of the new properties?

### For documentation related changes:
- [ ] Have you ensured that format looks appropriate for the output in 
which it is rendered?

### Note:
Please ensure that once the PR is submitted, you check travis-ci for build 
issues and submit an update to your PR as soon as possible.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/pvillard31/nifi NIFI-5889

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/nifi/pull/3215.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #3215


commit e9503171ede6b874648251ceefe85ef88e6388dd
Author: Pierre Villard 
Date:   2018-12-11T16:36:45Z

NIFI-5889 - changed the wording about Destination URL in S2S RTs




---


[jira] [Commented] (NIFI-5890) Add Timestamp -> Date conversion support to DataTypeUtils

2018-12-11 Thread Mike Thomsen (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717469#comment-16717469
 ] 

Mike Thomsen commented on NIFI-5890:


Looks like it's already fixed in 1.9.0-SNAPSHOT, so this is now just about 
adding a unit test that checks that going from Timestamp -> Date works.

> Add Timestamp -> Date conversion support to DataTypeUtils
> -
>
> Key: NIFI-5890
> URL: https://issues.apache.org/jira/browse/NIFI-5890
> Project: Apache NiFi
>  Issue Type: New Feature
>Affects Versions: 1.8.0
>Reporter: Mike Thomsen
>Assignee: Mike Thomsen
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (NIFI-5890) Add Timestamp -> Date conversion support to DataTypeUtils

2018-12-11 Thread Mike Thomsen (JIRA)


 [ 
https://issues.apache.org/jira/browse/NIFI-5890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Thomsen updated NIFI-5890:
---
Affects Version/s: 1.8.0

> Add Timestamp -> Date conversion support to DataTypeUtils
> -
>
> Key: NIFI-5890
> URL: https://issues.apache.org/jira/browse/NIFI-5890
> Project: Apache NiFi
>  Issue Type: New Feature
>Affects Versions: 1.8.0
>Reporter: Mike Thomsen
>Assignee: Mike Thomsen
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (NIFI-5890) Add Timestamp -> Date conversion support to DataTypeUtils

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717466#comment-16717466
 ] 

ASF GitHub Bot commented on NIFI-5890:
--

GitHub user MikeThomsen opened a pull request:

https://github.com/apache/nifi/pull/3214

NIFI-5890 Added a unit test that proves that 1.9 fixes a bug in the d…

…ate conversion behavior in 1.8.

Thank you for submitting a contribution to Apache NiFi.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

### For all changes:
- [ ] Is there a JIRA ticket associated with this PR? Is it referenced 
 in the commit message?

- [ ] Does your PR title start with NIFI- where  is the JIRA number 
you are trying to resolve? Pay particular attention to the hyphen "-" character.

- [ ] Has your PR been rebased against the latest commit within the target 
branch (typically master)?

- [ ] Is your initial contribution a single, squashed commit?

### For code changes:
- [ ] Have you ensured that the full suite of tests is executed via mvn 
-Pcontrib-check clean install at the root nifi folder?
- [ ] Have you written or updated unit tests to verify your changes?
- [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)? 
- [ ] If applicable, have you updated the LICENSE file, including the main 
LICENSE file under nifi-assembly?
- [ ] If applicable, have you updated the NOTICE file, including the main 
NOTICE file found under nifi-assembly?
- [ ] If adding new Properties, have you added .displayName in addition to 
.name (programmatic access) for each of the new properties?

### For documentation related changes:
- [ ] Have you ensured that format looks appropriate for the output in 
which it is rendered?

### Note:
Please ensure that once the PR is submitted, you check travis-ci for build 
issues and submit an update to your PR as soon as possible.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/MikeThomsen/nifi NIFI-5890

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/nifi/pull/3214.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #3214


commit ef8bac12ba38d6eaeae6ccb45238c2046126a8d4
Author: Mike Thomsen 
Date:   2018-12-11T16:18:52Z

NIFI-5890 Added a unit test that proves that 1.9 fixes a bug in the date 
conversion behavior in 1.8.




> Add Timestamp -> Date conversion support to DataTypeUtils
> -
>
> Key: NIFI-5890
> URL: https://issues.apache.org/jira/browse/NIFI-5890
> Project: Apache NiFi
>  Issue Type: New Feature
>Affects Versions: 1.8.0
>Reporter: Mike Thomsen
>Assignee: Mike Thomsen
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] nifi pull request #3214: NIFI-5890 Added a unit test that proves that 1.9 fi...

2018-12-11 Thread MikeThomsen
GitHub user MikeThomsen opened a pull request:

https://github.com/apache/nifi/pull/3214

NIFI-5890 Added a unit test that proves that 1.9 fixes a bug in the d…

…ate conversion behavior in 1.8.

Thank you for submitting a contribution to Apache NiFi.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

### For all changes:
- [ ] Is there a JIRA ticket associated with this PR? Is it referenced 
 in the commit message?

- [ ] Does your PR title start with NIFI- where  is the JIRA number 
you are trying to resolve? Pay particular attention to the hyphen "-" character.

- [ ] Has your PR been rebased against the latest commit within the target 
branch (typically master)?

- [ ] Is your initial contribution a single, squashed commit?

### For code changes:
- [ ] Have you ensured that the full suite of tests is executed via mvn 
-Pcontrib-check clean install at the root nifi folder?
- [ ] Have you written or updated unit tests to verify your changes?
- [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)? 
- [ ] If applicable, have you updated the LICENSE file, including the main 
LICENSE file under nifi-assembly?
- [ ] If applicable, have you updated the NOTICE file, including the main 
NOTICE file found under nifi-assembly?
- [ ] If adding new Properties, have you added .displayName in addition to 
.name (programmatic access) for each of the new properties?

### For documentation related changes:
- [ ] Have you ensured that format looks appropriate for the output in 
which it is rendered?

### Note:
Please ensure that once the PR is submitted, you check travis-ci for build 
issues and submit an update to your PR as soon as possible.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/MikeThomsen/nifi NIFI-5890

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/nifi/pull/3214.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #3214


commit ef8bac12ba38d6eaeae6ccb45238c2046126a8d4
Author: Mike Thomsen 
Date:   2018-12-11T16:18:52Z

NIFI-5890 Added a unit test that proves that 1.9 fixes a bug in the date 
conversion behavior in 1.8.




---


[jira] [Created] (NIFI-5890) Add Timestamp -> Date conversion support to DataTypeUtils

2018-12-11 Thread Mike Thomsen (JIRA)
Mike Thomsen created NIFI-5890:
--

 Summary: Add Timestamp -> Date conversion support to DataTypeUtils
 Key: NIFI-5890
 URL: https://issues.apache.org/jira/browse/NIFI-5890
 Project: Apache NiFi
  Issue Type: New Feature
Reporter: Mike Thomsen
Assignee: Mike Thomsen






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (NIFIREG-215) Extension Bundle Improvements

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFIREG-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717426#comment-16717426
 ] 

ASF GitHub Bot commented on NIFIREG-215:


GitHub user bbende opened a pull request:

https://github.com/apache/nifi-registry/pull/149

NIFIREG-215 Extension Bundle Improvements

I left the changes as separate commits in order to more easily review each 
change on it's own, but feel free to squash upon merging.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/bbende/nifi-registry NIFIREG-215

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/nifi-registry/pull/149.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #149


commit dee999b3224240af4292d1a81d2f1a9f2cfe59d7
Author: Bryan Bende 
Date:   2018-12-03T19:22:15Z

NIFIREG-215 Adding content size field extension bundle version

commit 8fced330880f90fe431a50332c9e0a3b378d29a1
Author: Bryan Bende 
Date:   2018-12-04T17:03:34Z

NIFIREG-215 Adding optional filters to the get all bundles end-point

commit f884a79ce0b5a369f0fd370d1a5858d50d569f9d
Author: Bryan Bende 
Date:   2018-12-04T17:13:07Z

NIFIREG-215 Bumping minor versions of spring boot and spring security

commit 45955c66416be86a352387d251d55b139399a4fb
Author: Bryan Bende 
Date:   2018-12-04T19:28:19Z

NIFIREG-215 Adding /bundles/versions with filter params

commit f3bed26efb6e06bd7c78bc20186a15be08a22d2d
Author: Bryan Bende 
Date:   2018-12-04T20:25:28Z

NIFIREG-215 Added new client method to return an optional checksum for a 
given group, artifact, and version

commit 52a84bfc99fe09b91e9eef824aa9536205d3784c
Author: Bryan Bende 
Date:   2018-12-10T21:51:38Z

NIFIREG-215 - Adding support for SNAPSHOT versions

commit 3bbb4890a2ee9e7b3c2421a56ca6f2c5106bc6b5
Author: Bryan Bende 
Date:   2018-12-11T15:41:08Z

NIFIREG-215 Adding flag on buckets to indicate if redeploying extension 
bundle versions is allowed




> Extension Bundle Improvements
> -
>
> Key: NIFIREG-215
> URL: https://issues.apache.org/jira/browse/NIFIREG-215
> Project: NiFi Registry
>  Issue Type: Improvement
>Reporter: Bryan Bende
>Assignee: Bryan Bende
>Priority: Minor
>  Labels: Extension_Registry
> Fix For: 0.4.0
>
>
> This ticket is to implement some additional improvements to the work done in 
> NIFIREG-211.
>  * Store file size of a bundle in the DB and make it available in retrieved 
> objects
>  * Provide a method to check if a bundle exists (true or false)
>  * Provide an option to allow uploading and overwriting an existing bundle
>  * Consider making snapshots a special version that can always be overridden



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] nifi-registry pull request #149: NIFIREG-215 Extension Bundle Improvements

2018-12-11 Thread bbende
GitHub user bbende opened a pull request:

https://github.com/apache/nifi-registry/pull/149

NIFIREG-215 Extension Bundle Improvements

I left the changes as separate commits in order to more easily review each 
change on it's own, but feel free to squash upon merging.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/bbende/nifi-registry NIFIREG-215

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/nifi-registry/pull/149.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #149


commit dee999b3224240af4292d1a81d2f1a9f2cfe59d7
Author: Bryan Bende 
Date:   2018-12-03T19:22:15Z

NIFIREG-215 Adding content size field extension bundle version

commit 8fced330880f90fe431a50332c9e0a3b378d29a1
Author: Bryan Bende 
Date:   2018-12-04T17:03:34Z

NIFIREG-215 Adding optional filters to the get all bundles end-point

commit f884a79ce0b5a369f0fd370d1a5858d50d569f9d
Author: Bryan Bende 
Date:   2018-12-04T17:13:07Z

NIFIREG-215 Bumping minor versions of spring boot and spring security

commit 45955c66416be86a352387d251d55b139399a4fb
Author: Bryan Bende 
Date:   2018-12-04T19:28:19Z

NIFIREG-215 Adding /bundles/versions with filter params

commit f3bed26efb6e06bd7c78bc20186a15be08a22d2d
Author: Bryan Bende 
Date:   2018-12-04T20:25:28Z

NIFIREG-215 Added new client method to return an optional checksum for a 
given group, artifact, and version

commit 52a84bfc99fe09b91e9eef824aa9536205d3784c
Author: Bryan Bende 
Date:   2018-12-10T21:51:38Z

NIFIREG-215 - Adding support for SNAPSHOT versions

commit 3bbb4890a2ee9e7b3c2421a56ca6f2c5106bc6b5
Author: Bryan Bende 
Date:   2018-12-11T15:41:08Z

NIFIREG-215 Adding flag on buckets to indicate if redeploying extension 
bundle versions is allowed




---


[jira] [Commented] (NIFI-5621) Create a Connection Pooling service implementation to be used in Cassandra processors

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717391#comment-16717391
 ] 

ASF GitHub Bot commented on NIFI-5621:
--

Github user MikeThomsen commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240660225
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-nar/src/main/resources/META-INF/NOTICE
 ---
@@ -0,0 +1,291 @@
+nifi-cassandra-services-nar
+Copyright 2016 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+**
+Apache Software License v2
+**
+
+The following binary components are provided under the Apache Software 
License v2
+
+  (ASLv2) DataStax Java Driver for Apache Cassandra - Core
+  The following NOTICE information applies:
+DataStax Java Driver for Apache Cassandra - Core
+Copyright (C) 2012-2017 DataStax Inc.
+
+  (ASLv2) Jackson JSON processor
+The following NOTICE information applies:
+  # Jackson JSON processor
+
+  Jackson is a high-performance, Free/Open Source JSON processing 
library.
+  It was originally written by Tatu Saloranta (tatu.salora...@iki.fi), 
and has
+  been in development since 2007.
+  It is currently developed by a community of developers, as well as 
supported
+  commercially by FasterXML.com.
+
+  ## Licensing
+
+  Jackson core and extension components may licensed under different 
licenses.
+  To find the details that apply to this artifact see the accompanying 
LICENSE file.
+  For more information, including possible other licensing options, 
contact
+  FasterXML.com (http://fasterxml.com).
+
+  ## Credits
+
+  A list of contributors may be found from CREDITS file, which is 
included
+  in some artifacts (usually source distributions); but is always 
available
+  from the source code management (SCM) system project uses.
+
+  (ASLv2) Apache Commons Codec
+The following NOTICE information applies:
+  Apache Commons Codec
+  Copyright 2002-2014 The Apache Software Foundation
+
+  src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
+  contains test data from http://aspell.net/test/orig/batch0.tab.
+  Copyright (C) 2002 Kevin Atkinson (kev...@gnu.org)
+
+  
===
+
+  The content of package org.apache.commons.codec.language.bm has been 
translated
+  from the original php source code available at 
http://stevemorse.org/phoneticinfo.htm
+  with permission from the original authors.
+  Original source copyright:
+  Copyright (c) 2008 Alexander Beider & Stephen P. Morse.
+
+  (ASLv2) Apache Commons Lang
+The following NOTICE information applies:
+  Apache Commons Lang
+  Copyright 2001-2017 The Apache Software Foundation
+
+  This product includes software from the Spring Framework,
+  under the Apache License 2.0 (see: StringUtils.containsWhitespace())
+
+  (ASLv2) Guava
+The following NOTICE information applies:
+  Guava
+  Copyright 2015 The Guava Authors
+
+  (ASLv2) JSON-SMART
+The following NOTICE information applies:
+Copyright 2011 JSON-SMART authors
+
+  (ASLv2) Dropwizard Metrics
+The following NOTICE information applies:
+   Copyright (c) 2010-2013 Coda Hale, Yammer.com
+
+  (ASLv2) The Netty Project
+  The following NOTICE information applies:
+   Copyright 2014 The Netty Project
+   
---
+   This product contains the extensions to Java Collections Framework 
which has
+   been derived from the works by JSR-166 EG, Doug Lea, and Jason T. 
Greene:
+
+ * LICENSE:
+   * license/LICENSE.jsr166y.txt (Public Domain)
+ * HOMEPAGE:
+   * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
+   * 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
+
+   This product contains a modified version of Robert Harder's Public 
Domain
+   Base64 Encoder and Decoder, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.base64.txt (Public Domain)
+ * HOMEPAGE:
+   * http://iharder.sourceforge.net/current/java/base64/
+
+   This product contains a modified portion of 'Webbit', an event based
+   WebSocket and HTTP server, which can be obtained at:
+
+ 

[jira] [Commented] (NIFI-5621) Create a Connection Pooling service implementation to be used in Cassandra processors

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717366#comment-16717366
 ] 

ASF GitHub Bot commented on NIFI-5621:
--

Github user zenfenan commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240654783
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-nar/src/main/resources/META-INF/LICENSE
 ---
@@ -0,0 +1,369 @@
+
+ Apache License
+   Version 2.0, January 2004
+http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+  "License" shall mean the terms and conditions for use, reproduction,
+  and distribution as defined by Sections 1 through 9 of this document.
+
+  "Licensor" shall mean the copyright owner or entity authorized by
+  the copyright owner that is granting the License.
+
+  "Legal Entity" shall mean the union of the acting entity and all
+  other entities that control, are controlled by, or are under common
+  control with that entity. For the purposes of this definition,
+  "control" means (i) the power, direct or indirect, to cause the
+  direction or management of such entity, whether by contract or
+  otherwise, or (ii) ownership of fifty percent (50%) or more of the
+  outstanding shares, or (iii) beneficial ownership of such entity.
+
+  "You" (or "Your") shall mean an individual or Legal Entity
+  exercising permissions granted by this License.
+
+  "Source" form shall mean the preferred form for making modifications,
+  including but not limited to software source code, documentation
+  source, and configuration files.
+
+  "Object" form shall mean any form resulting from mechanical
+  transformation or translation of a Source form, including but
+  not limited to compiled object code, generated documentation,
+  and conversions to other media types.
+
+  "Work" shall mean the work of authorship, whether in Source or
+  Object form, made available under the License, as indicated by a
+  copyright notice that is included in or attached to the work
+  (an example is provided in the Appendix below).
+
+  "Derivative Works" shall mean any work, whether in Source or Object
+  form, that is based on (or derived from) the Work and for which the
+  editorial revisions, annotations, elaborations, or other 
modifications
+  represent, as a whole, an original work of authorship. For the 
purposes
+  of this License, Derivative Works shall not include works that remain
+  separable from, or merely link (or bind by name) to the interfaces 
of,
+  the Work and Derivative Works thereof.
+
+  "Contribution" shall mean any work of authorship, including
+  the original version of the Work and any modifications or additions
+  to that Work or Derivative Works thereof, that is intentionally
+  submitted to Licensor for inclusion in the Work by the copyright 
owner
+  or by an individual or Legal Entity authorized to submit on behalf of
+  the copyright owner. For the purposes of this definition, "submitted"
+  means any form of electronic, verbal, or written communication sent
+  to the Licensor or its representatives, including but not limited to
+  communication on electronic mailing lists, source code control 
systems,
+  and issue tracking systems that are managed by, or on behalf of, the
+  Licensor for the purpose of discussing and improving the Work, but
+  excluding communication that is conspicuously marked or otherwise
+  designated in writing by the copyright owner as "Not a Contribution."
+
+  "Contributor" shall mean Licensor and any individual or Legal Entity
+  on behalf of whom a Contribution has been received by Licensor and
+  subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+  this License, each Contributor hereby grants to You a perpetual,
+  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+  copyright license to reproduce, prepare Derivative Works of,
+  publicly display, publicly perform, sublicense, and distribute the
+  Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+  this License, each Contributor hereby grants to You a perpetual,
+  worldwide, non-exclusive, 

[GitHub] nifi pull request #3105: NIFI-5621: Added Cassandra connection provider serv...

2018-12-11 Thread MikeThomsen
Github user MikeThomsen commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240660225
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-nar/src/main/resources/META-INF/NOTICE
 ---
@@ -0,0 +1,291 @@
+nifi-cassandra-services-nar
+Copyright 2016 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+**
+Apache Software License v2
+**
+
+The following binary components are provided under the Apache Software 
License v2
+
+  (ASLv2) DataStax Java Driver for Apache Cassandra - Core
+  The following NOTICE information applies:
+DataStax Java Driver for Apache Cassandra - Core
+Copyright (C) 2012-2017 DataStax Inc.
+
+  (ASLv2) Jackson JSON processor
+The following NOTICE information applies:
+  # Jackson JSON processor
+
+  Jackson is a high-performance, Free/Open Source JSON processing 
library.
+  It was originally written by Tatu Saloranta (tatu.salora...@iki.fi), 
and has
+  been in development since 2007.
+  It is currently developed by a community of developers, as well as 
supported
+  commercially by FasterXML.com.
+
+  ## Licensing
+
+  Jackson core and extension components may licensed under different 
licenses.
+  To find the details that apply to this artifact see the accompanying 
LICENSE file.
+  For more information, including possible other licensing options, 
contact
+  FasterXML.com (http://fasterxml.com).
+
+  ## Credits
+
+  A list of contributors may be found from CREDITS file, which is 
included
+  in some artifacts (usually source distributions); but is always 
available
+  from the source code management (SCM) system project uses.
+
+  (ASLv2) Apache Commons Codec
+The following NOTICE information applies:
+  Apache Commons Codec
+  Copyright 2002-2014 The Apache Software Foundation
+
+  src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
+  contains test data from http://aspell.net/test/orig/batch0.tab.
+  Copyright (C) 2002 Kevin Atkinson (kev...@gnu.org)
+
+  
===
+
+  The content of package org.apache.commons.codec.language.bm has been 
translated
+  from the original php source code available at 
http://stevemorse.org/phoneticinfo.htm
+  with permission from the original authors.
+  Original source copyright:
+  Copyright (c) 2008 Alexander Beider & Stephen P. Morse.
+
+  (ASLv2) Apache Commons Lang
+The following NOTICE information applies:
+  Apache Commons Lang
+  Copyright 2001-2017 The Apache Software Foundation
+
+  This product includes software from the Spring Framework,
+  under the Apache License 2.0 (see: StringUtils.containsWhitespace())
+
+  (ASLv2) Guava
+The following NOTICE information applies:
+  Guava
+  Copyright 2015 The Guava Authors
+
+  (ASLv2) JSON-SMART
+The following NOTICE information applies:
+Copyright 2011 JSON-SMART authors
+
+  (ASLv2) Dropwizard Metrics
+The following NOTICE information applies:
+   Copyright (c) 2010-2013 Coda Hale, Yammer.com
+
+  (ASLv2) The Netty Project
+  The following NOTICE information applies:
+   Copyright 2014 The Netty Project
+   
---
+   This product contains the extensions to Java Collections Framework 
which has
+   been derived from the works by JSR-166 EG, Doug Lea, and Jason T. 
Greene:
+
+ * LICENSE:
+   * license/LICENSE.jsr166y.txt (Public Domain)
+ * HOMEPAGE:
+   * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
+   * 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
+
+   This product contains a modified version of Robert Harder's Public 
Domain
+   Base64 Encoder and Decoder, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.base64.txt (Public Domain)
+ * HOMEPAGE:
+   * http://iharder.sourceforge.net/current/java/base64/
+
+   This product contains a modified portion of 'Webbit', an event based
+   WebSocket and HTTP server, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.webbit.txt (BSD License)
+ * HOMEPAGE:
+   * https://github.com/joewalnes/webbit
+
+   This product contains a modified portion of 'SLF4J', a simple logging
+   facade 

[jira] [Commented] (NIFI-5621) Create a Connection Pooling service implementation to be used in Cassandra processors

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717389#comment-16717389
 ] 

ASF GitHub Bot commented on NIFI-5621:
--

Github user MikeThomsen commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240659974
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-nar/src/main/resources/META-INF/LICENSE
 ---
@@ -0,0 +1,369 @@
+
+ Apache License
+   Version 2.0, January 2004
+http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+  "License" shall mean the terms and conditions for use, reproduction,
+  and distribution as defined by Sections 1 through 9 of this document.
+
+  "Licensor" shall mean the copyright owner or entity authorized by
+  the copyright owner that is granting the License.
+
+  "Legal Entity" shall mean the union of the acting entity and all
+  other entities that control, are controlled by, or are under common
+  control with that entity. For the purposes of this definition,
+  "control" means (i) the power, direct or indirect, to cause the
+  direction or management of such entity, whether by contract or
+  otherwise, or (ii) ownership of fifty percent (50%) or more of the
+  outstanding shares, or (iii) beneficial ownership of such entity.
+
+  "You" (or "Your") shall mean an individual or Legal Entity
+  exercising permissions granted by this License.
+
+  "Source" form shall mean the preferred form for making modifications,
+  including but not limited to software source code, documentation
+  source, and configuration files.
+
+  "Object" form shall mean any form resulting from mechanical
+  transformation or translation of a Source form, including but
+  not limited to compiled object code, generated documentation,
+  and conversions to other media types.
+
+  "Work" shall mean the work of authorship, whether in Source or
+  Object form, made available under the License, as indicated by a
+  copyright notice that is included in or attached to the work
+  (an example is provided in the Appendix below).
+
+  "Derivative Works" shall mean any work, whether in Source or Object
+  form, that is based on (or derived from) the Work and for which the
+  editorial revisions, annotations, elaborations, or other 
modifications
+  represent, as a whole, an original work of authorship. For the 
purposes
+  of this License, Derivative Works shall not include works that remain
+  separable from, or merely link (or bind by name) to the interfaces 
of,
+  the Work and Derivative Works thereof.
+
+  "Contribution" shall mean any work of authorship, including
+  the original version of the Work and any modifications or additions
+  to that Work or Derivative Works thereof, that is intentionally
+  submitted to Licensor for inclusion in the Work by the copyright 
owner
+  or by an individual or Legal Entity authorized to submit on behalf of
+  the copyright owner. For the purposes of this definition, "submitted"
+  means any form of electronic, verbal, or written communication sent
+  to the Licensor or its representatives, including but not limited to
+  communication on electronic mailing lists, source code control 
systems,
+  and issue tracking systems that are managed by, or on behalf of, the
+  Licensor for the purpose of discussing and improving the Work, but
+  excluding communication that is conspicuously marked or otherwise
+  designated in writing by the copyright owner as "Not a Contribution."
+
+  "Contributor" shall mean Licensor and any individual or Legal Entity
+  on behalf of whom a Contribution has been received by Licensor and
+  subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+  this License, each Contributor hereby grants to You a perpetual,
+  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+  copyright license to reproduce, prepare Derivative Works of,
+  publicly display, publicly perform, sublicense, and distribute the
+  Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+  this License, each Contributor hereby grants to You a perpetual,
+  worldwide, non-exclusive, 

[jira] [Commented] (NIFI-5621) Create a Connection Pooling service implementation to be used in Cassandra processors

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717367#comment-16717367
 ] 

ASF GitHub Bot commented on NIFI-5621:
--

Github user zenfenan commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240655171
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-nar/src/main/resources/META-INF/NOTICE
 ---
@@ -0,0 +1,291 @@
+nifi-cassandra-services-nar
+Copyright 2016 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+**
+Apache Software License v2
+**
+
+The following binary components are provided under the Apache Software 
License v2
+
+  (ASLv2) DataStax Java Driver for Apache Cassandra - Core
+  The following NOTICE information applies:
+DataStax Java Driver for Apache Cassandra - Core
+Copyright (C) 2012-2017 DataStax Inc.
+
+  (ASLv2) Jackson JSON processor
+The following NOTICE information applies:
+  # Jackson JSON processor
+
+  Jackson is a high-performance, Free/Open Source JSON processing 
library.
+  It was originally written by Tatu Saloranta (tatu.salora...@iki.fi), 
and has
+  been in development since 2007.
+  It is currently developed by a community of developers, as well as 
supported
+  commercially by FasterXML.com.
+
+  ## Licensing
+
+  Jackson core and extension components may licensed under different 
licenses.
+  To find the details that apply to this artifact see the accompanying 
LICENSE file.
+  For more information, including possible other licensing options, 
contact
+  FasterXML.com (http://fasterxml.com).
+
+  ## Credits
+
+  A list of contributors may be found from CREDITS file, which is 
included
+  in some artifacts (usually source distributions); but is always 
available
+  from the source code management (SCM) system project uses.
+
+  (ASLv2) Apache Commons Codec
+The following NOTICE information applies:
+  Apache Commons Codec
+  Copyright 2002-2014 The Apache Software Foundation
+
+  src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
+  contains test data from http://aspell.net/test/orig/batch0.tab.
+  Copyright (C) 2002 Kevin Atkinson (kev...@gnu.org)
+
+  
===
+
+  The content of package org.apache.commons.codec.language.bm has been 
translated
+  from the original php source code available at 
http://stevemorse.org/phoneticinfo.htm
+  with permission from the original authors.
+  Original source copyright:
+  Copyright (c) 2008 Alexander Beider & Stephen P. Morse.
+
+  (ASLv2) Apache Commons Lang
+The following NOTICE information applies:
+  Apache Commons Lang
+  Copyright 2001-2017 The Apache Software Foundation
+
+  This product includes software from the Spring Framework,
+  under the Apache License 2.0 (see: StringUtils.containsWhitespace())
+
+  (ASLv2) Guava
+The following NOTICE information applies:
+  Guava
+  Copyright 2015 The Guava Authors
+
+  (ASLv2) JSON-SMART
+The following NOTICE information applies:
+Copyright 2011 JSON-SMART authors
+
+  (ASLv2) Dropwizard Metrics
+The following NOTICE information applies:
+   Copyright (c) 2010-2013 Coda Hale, Yammer.com
+
+  (ASLv2) The Netty Project
+  The following NOTICE information applies:
+   Copyright 2014 The Netty Project
+   
---
+   This product contains the extensions to Java Collections Framework 
which has
+   been derived from the works by JSR-166 EG, Doug Lea, and Jason T. 
Greene:
+
+ * LICENSE:
+   * license/LICENSE.jsr166y.txt (Public Domain)
+ * HOMEPAGE:
+   * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
+   * 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
+
+   This product contains a modified version of Robert Harder's Public 
Domain
+   Base64 Encoder and Decoder, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.base64.txt (Public Domain)
+ * HOMEPAGE:
+   * http://iharder.sourceforge.net/current/java/base64/
+
+   This product contains a modified portion of 'Webbit', an event based
+   WebSocket and HTTP server, which can be obtained at:
+
+ * 

[GitHub] nifi pull request #3105: NIFI-5621: Added Cassandra connection provider serv...

2018-12-11 Thread MikeThomsen
Github user MikeThomsen commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240659974
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-nar/src/main/resources/META-INF/LICENSE
 ---
@@ -0,0 +1,369 @@
+
+ Apache License
+   Version 2.0, January 2004
+http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+  "License" shall mean the terms and conditions for use, reproduction,
+  and distribution as defined by Sections 1 through 9 of this document.
+
+  "Licensor" shall mean the copyright owner or entity authorized by
+  the copyright owner that is granting the License.
+
+  "Legal Entity" shall mean the union of the acting entity and all
+  other entities that control, are controlled by, or are under common
+  control with that entity. For the purposes of this definition,
+  "control" means (i) the power, direct or indirect, to cause the
+  direction or management of such entity, whether by contract or
+  otherwise, or (ii) ownership of fifty percent (50%) or more of the
+  outstanding shares, or (iii) beneficial ownership of such entity.
+
+  "You" (or "Your") shall mean an individual or Legal Entity
+  exercising permissions granted by this License.
+
+  "Source" form shall mean the preferred form for making modifications,
+  including but not limited to software source code, documentation
+  source, and configuration files.
+
+  "Object" form shall mean any form resulting from mechanical
+  transformation or translation of a Source form, including but
+  not limited to compiled object code, generated documentation,
+  and conversions to other media types.
+
+  "Work" shall mean the work of authorship, whether in Source or
+  Object form, made available under the License, as indicated by a
+  copyright notice that is included in or attached to the work
+  (an example is provided in the Appendix below).
+
+  "Derivative Works" shall mean any work, whether in Source or Object
+  form, that is based on (or derived from) the Work and for which the
+  editorial revisions, annotations, elaborations, or other 
modifications
+  represent, as a whole, an original work of authorship. For the 
purposes
+  of this License, Derivative Works shall not include works that remain
+  separable from, or merely link (or bind by name) to the interfaces 
of,
+  the Work and Derivative Works thereof.
+
+  "Contribution" shall mean any work of authorship, including
+  the original version of the Work and any modifications or additions
+  to that Work or Derivative Works thereof, that is intentionally
+  submitted to Licensor for inclusion in the Work by the copyright 
owner
+  or by an individual or Legal Entity authorized to submit on behalf of
+  the copyright owner. For the purposes of this definition, "submitted"
+  means any form of electronic, verbal, or written communication sent
+  to the Licensor or its representatives, including but not limited to
+  communication on electronic mailing lists, source code control 
systems,
+  and issue tracking systems that are managed by, or on behalf of, the
+  Licensor for the purpose of discussing and improving the Work, but
+  excluding communication that is conspicuously marked or otherwise
+  designated in writing by the copyright owner as "Not a Contribution."
+
+  "Contributor" shall mean Licensor and any individual or Legal Entity
+  on behalf of whom a Contribution has been received by Licensor and
+  subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+  this License, each Contributor hereby grants to You a perpetual,
+  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+  copyright license to reproduce, prepare Derivative Works of,
+  publicly display, publicly perform, sublicense, and distribute the
+  Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+  this License, each Contributor hereby grants to You a perpetual,
+  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+  (except as stated in this section) patent license to make, have made,
+  use, offer to sell, sell, import, and otherwise transfer the Work,
+  where such license applies only 

[GitHub] nifi pull request #3105: NIFI-5621: Added Cassandra connection provider serv...

2018-12-11 Thread zenfenan
Github user zenfenan commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240655171
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-nar/src/main/resources/META-INF/NOTICE
 ---
@@ -0,0 +1,291 @@
+nifi-cassandra-services-nar
+Copyright 2016 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+**
+Apache Software License v2
+**
+
+The following binary components are provided under the Apache Software 
License v2
+
+  (ASLv2) DataStax Java Driver for Apache Cassandra - Core
+  The following NOTICE information applies:
+DataStax Java Driver for Apache Cassandra - Core
+Copyright (C) 2012-2017 DataStax Inc.
+
+  (ASLv2) Jackson JSON processor
+The following NOTICE information applies:
+  # Jackson JSON processor
+
+  Jackson is a high-performance, Free/Open Source JSON processing 
library.
+  It was originally written by Tatu Saloranta (tatu.salora...@iki.fi), 
and has
+  been in development since 2007.
+  It is currently developed by a community of developers, as well as 
supported
+  commercially by FasterXML.com.
+
+  ## Licensing
+
+  Jackson core and extension components may licensed under different 
licenses.
+  To find the details that apply to this artifact see the accompanying 
LICENSE file.
+  For more information, including possible other licensing options, 
contact
+  FasterXML.com (http://fasterxml.com).
+
+  ## Credits
+
+  A list of contributors may be found from CREDITS file, which is 
included
+  in some artifacts (usually source distributions); but is always 
available
+  from the source code management (SCM) system project uses.
+
+  (ASLv2) Apache Commons Codec
+The following NOTICE information applies:
+  Apache Commons Codec
+  Copyright 2002-2014 The Apache Software Foundation
+
+  src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
+  contains test data from http://aspell.net/test/orig/batch0.tab.
+  Copyright (C) 2002 Kevin Atkinson (kev...@gnu.org)
+
+  
===
+
+  The content of package org.apache.commons.codec.language.bm has been 
translated
+  from the original php source code available at 
http://stevemorse.org/phoneticinfo.htm
+  with permission from the original authors.
+  Original source copyright:
+  Copyright (c) 2008 Alexander Beider & Stephen P. Morse.
+
+  (ASLv2) Apache Commons Lang
+The following NOTICE information applies:
+  Apache Commons Lang
+  Copyright 2001-2017 The Apache Software Foundation
+
+  This product includes software from the Spring Framework,
+  under the Apache License 2.0 (see: StringUtils.containsWhitespace())
+
+  (ASLv2) Guava
+The following NOTICE information applies:
+  Guava
+  Copyright 2015 The Guava Authors
+
+  (ASLv2) JSON-SMART
+The following NOTICE information applies:
+Copyright 2011 JSON-SMART authors
+
+  (ASLv2) Dropwizard Metrics
+The following NOTICE information applies:
+   Copyright (c) 2010-2013 Coda Hale, Yammer.com
+
+  (ASLv2) The Netty Project
+  The following NOTICE information applies:
+   Copyright 2014 The Netty Project
+   
---
+   This product contains the extensions to Java Collections Framework 
which has
+   been derived from the works by JSR-166 EG, Doug Lea, and Jason T. 
Greene:
+
+ * LICENSE:
+   * license/LICENSE.jsr166y.txt (Public Domain)
+ * HOMEPAGE:
+   * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
+   * 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
+
+   This product contains a modified version of Robert Harder's Public 
Domain
+   Base64 Encoder and Decoder, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.base64.txt (Public Domain)
+ * HOMEPAGE:
+   * http://iharder.sourceforge.net/current/java/base64/
+
+   This product contains a modified portion of 'Webbit', an event based
+   WebSocket and HTTP server, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.webbit.txt (BSD License)
+ * HOMEPAGE:
+   * https://github.com/joewalnes/webbit
+
+   This product contains a modified portion of 'SLF4J', a simple logging
+   facade 

[GitHub] nifi pull request #3105: NIFI-5621: Added Cassandra connection provider serv...

2018-12-11 Thread zenfenan
Github user zenfenan commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240654783
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-nar/src/main/resources/META-INF/LICENSE
 ---
@@ -0,0 +1,369 @@
+
+ Apache License
+   Version 2.0, January 2004
+http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+  "License" shall mean the terms and conditions for use, reproduction,
+  and distribution as defined by Sections 1 through 9 of this document.
+
+  "Licensor" shall mean the copyright owner or entity authorized by
+  the copyright owner that is granting the License.
+
+  "Legal Entity" shall mean the union of the acting entity and all
+  other entities that control, are controlled by, or are under common
+  control with that entity. For the purposes of this definition,
+  "control" means (i) the power, direct or indirect, to cause the
+  direction or management of such entity, whether by contract or
+  otherwise, or (ii) ownership of fifty percent (50%) or more of the
+  outstanding shares, or (iii) beneficial ownership of such entity.
+
+  "You" (or "Your") shall mean an individual or Legal Entity
+  exercising permissions granted by this License.
+
+  "Source" form shall mean the preferred form for making modifications,
+  including but not limited to software source code, documentation
+  source, and configuration files.
+
+  "Object" form shall mean any form resulting from mechanical
+  transformation or translation of a Source form, including but
+  not limited to compiled object code, generated documentation,
+  and conversions to other media types.
+
+  "Work" shall mean the work of authorship, whether in Source or
+  Object form, made available under the License, as indicated by a
+  copyright notice that is included in or attached to the work
+  (an example is provided in the Appendix below).
+
+  "Derivative Works" shall mean any work, whether in Source or Object
+  form, that is based on (or derived from) the Work and for which the
+  editorial revisions, annotations, elaborations, or other 
modifications
+  represent, as a whole, an original work of authorship. For the 
purposes
+  of this License, Derivative Works shall not include works that remain
+  separable from, or merely link (or bind by name) to the interfaces 
of,
+  the Work and Derivative Works thereof.
+
+  "Contribution" shall mean any work of authorship, including
+  the original version of the Work and any modifications or additions
+  to that Work or Derivative Works thereof, that is intentionally
+  submitted to Licensor for inclusion in the Work by the copyright 
owner
+  or by an individual or Legal Entity authorized to submit on behalf of
+  the copyright owner. For the purposes of this definition, "submitted"
+  means any form of electronic, verbal, or written communication sent
+  to the Licensor or its representatives, including but not limited to
+  communication on electronic mailing lists, source code control 
systems,
+  and issue tracking systems that are managed by, or on behalf of, the
+  Licensor for the purpose of discussing and improving the Work, but
+  excluding communication that is conspicuously marked or otherwise
+  designated in writing by the copyright owner as "Not a Contribution."
+
+  "Contributor" shall mean Licensor and any individual or Legal Entity
+  on behalf of whom a Contribution has been received by Licensor and
+  subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+  this License, each Contributor hereby grants to You a perpetual,
+  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+  copyright license to reproduce, prepare Derivative Works of,
+  publicly display, publicly perform, sublicense, and distribute the
+  Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+  this License, each Contributor hereby grants to You a perpetual,
+  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+  (except as stated in this section) patent license to make, have made,
+  use, offer to sell, sell, import, and otherwise transfer the Work,
+  where such license applies only to 

[jira] [Commented] (MINIFICPP-695) NanoFi Examples appear to be broken

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/MINIFICPP-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717342#comment-16717342
 ] 

ASF GitHub Bot commented on MINIFICPP-695:
--

Github user arpadboda commented on a diff in the pull request:

https://github.com/apache/nifi-minifi-cpp/pull/459#discussion_r240643845
  
--- Diff: nanofi/examples/CMakeLists.txt ---
@@ -50,11 +50,11 @@ if (WIN32)
 set(LINK_FLAGS "/WHOLEARCHIVE")
 set(LINK_END_FLAGS "")
 elseif (APPLE)
-set(LINK_FLAGS "-Wl,-all_load")
+set(LINK_FLAGS "")
--- End diff --

![alt 
text](http://thumbpress.com/wp-content/uploads/2013/05/I-Have-No-Idea-What-Im-Doing-2.jpg
 "What I am doing?")

Processor symbols are part of libminifi, which is not linked here directly. 
In case of indirect linkage (libminifi is linked via nanofi and/or 
libminifi-http-curl), it seems that all_load just make it worse. 

I used the following command to verify the symbols being present in the 
binaries:
```
find . -type f | perl -lne 'print if -B' | xargs nm -a --print-file-name | 
grep -i "generateflowfile" | cut -d ':' -f1 | sort -u | grep -vi "test"
```


> NanoFi Examples appear to be broken
> ---
>
> Key: MINIFICPP-695
> URL: https://issues.apache.org/jira/browse/MINIFICPP-695
> Project: NiFi MiNiFi C++
>  Issue Type: Bug
>Reporter: Mr TheSegfault
>Assignee: Arpad Boda
>Priority: Blocker
>  Labels: nanofi
>
> When testing recent changes the examples appear to not work due to a 
> mis-configuration of the client. Not sure when/what broke it specifically, 
> but we should ensure that examples function. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] nifi-minifi-cpp pull request #459: MINIFICPP-695 - NanoFi Examples appear to...

2018-12-11 Thread arpadboda
Github user arpadboda commented on a diff in the pull request:

https://github.com/apache/nifi-minifi-cpp/pull/459#discussion_r240643845
  
--- Diff: nanofi/examples/CMakeLists.txt ---
@@ -50,11 +50,11 @@ if (WIN32)
 set(LINK_FLAGS "/WHOLEARCHIVE")
 set(LINK_END_FLAGS "")
 elseif (APPLE)
-set(LINK_FLAGS "-Wl,-all_load")
+set(LINK_FLAGS "")
--- End diff --

![alt 
text](http://thumbpress.com/wp-content/uploads/2013/05/I-Have-No-Idea-What-Im-Doing-2.jpg
 "What I am doing?")

Processor symbols are part of libminifi, which is not linked here directly. 
In case of indirect linkage (libminifi is linked via nanofi and/or 
libminifi-http-curl), it seems that all_load just make it worse. 

I used the following command to verify the symbols being present in the 
binaries:
```
find . -type f | perl -lne 'print if -B' | xargs nm -a --print-file-name | 
grep -i "generateflowfile" | cut -d ':' -f1 | sort -u | grep -vi "test"
```


---


[jira] [Commented] (MINIFICPP-695) NanoFi Examples appear to be broken

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/MINIFICPP-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717314#comment-16717314
 ] 

ASF GitHub Bot commented on MINIFICPP-695:
--

GitHub user arpadboda opened a pull request:

https://github.com/apache/nifi-minifi-cpp/pull/459

MINIFICPP-695 - NanoFi Examples appear to be broken

Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

### For all changes:
- [ ] Is there a JIRA ticket associated with this PR? Is it referenced
 in the commit message?

- [ ] Does your PR title start with MINIFICPP- where  is the JIRA 
number you are trying to resolve? Pay particular attention to the hyphen "-" 
character.

- [ ] Has your PR been rebased against the latest commit within the target 
branch (typically master)?

- [ ] Is your initial contribution a single, squashed commit?

### For code changes:
- [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the LICENSE file?
- [ ] If applicable, have you updated the NOTICE file?

### For documentation related changes:
- [ ] Have you ensured that format looks appropriate for the output in 
which it is rendered?

### Note:
Please ensure that once the PR is submitted, you check travis-ci for build 
issues and submit an update to your PR as soon as possible.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/arpadboda/nifi-minifi-cpp MINIFICPP-695

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/nifi-minifi-cpp/pull/459.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #459


commit f8d01f20a77857fc4fae0ebfca0bada22cc20963
Author: Arpad Boda 
Date:   2018-12-11T14:54:31Z

MINIFICPP-695 - NanoFi Examples appear to be broken




> NanoFi Examples appear to be broken
> ---
>
> Key: MINIFICPP-695
> URL: https://issues.apache.org/jira/browse/MINIFICPP-695
> Project: NiFi MiNiFi C++
>  Issue Type: Bug
>Reporter: Mr TheSegfault
>Assignee: Arpad Boda
>Priority: Blocker
>  Labels: nanofi
>
> When testing recent changes the examples appear to not work due to a 
> mis-configuration of the client. Not sure when/what broke it specifically, 
> but we should ensure that examples function. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] nifi-minifi-cpp pull request #459: MINIFICPP-695 - NanoFi Examples appear to...

2018-12-11 Thread arpadboda
GitHub user arpadboda opened a pull request:

https://github.com/apache/nifi-minifi-cpp/pull/459

MINIFICPP-695 - NanoFi Examples appear to be broken

Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

### For all changes:
- [ ] Is there a JIRA ticket associated with this PR? Is it referenced
 in the commit message?

- [ ] Does your PR title start with MINIFICPP- where  is the JIRA 
number you are trying to resolve? Pay particular attention to the hyphen "-" 
character.

- [ ] Has your PR been rebased against the latest commit within the target 
branch (typically master)?

- [ ] Is your initial contribution a single, squashed commit?

### For code changes:
- [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the LICENSE file?
- [ ] If applicable, have you updated the NOTICE file?

### For documentation related changes:
- [ ] Have you ensured that format looks appropriate for the output in 
which it is rendered?

### Note:
Please ensure that once the PR is submitted, you check travis-ci for build 
issues and submit an update to your PR as soon as possible.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/arpadboda/nifi-minifi-cpp MINIFICPP-695

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/nifi-minifi-cpp/pull/459.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #459


commit f8d01f20a77857fc4fae0ebfca0bada22cc20963
Author: Arpad Boda 
Date:   2018-12-11T14:54:31Z

MINIFICPP-695 - NanoFi Examples appear to be broken




---


[jira] [Created] (NIFI-5889) Improve documentation on S2S Reporting tasks

2018-12-11 Thread Pierre Villard (JIRA)
Pierre Villard created NIFI-5889:


 Summary: Improve documentation on S2S Reporting tasks
 Key: NIFI-5889
 URL: https://issues.apache.org/jira/browse/NIFI-5889
 Project: Apache NiFi
  Issue Type: Improvement
  Components: Documentation  Website, Extensions
Reporter: Pierre Villard
Assignee: Pierre Villard


Improve the documentation on "Destination URL" property of the S2S reporting 
tasks. Right now, users might think the destination URL represent the actual 
node(s) where the data will be sent.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (NIFI-5621) Create a Connection Pooling service implementation to be used in Cassandra processors

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717028#comment-16717028
 ] 

ASF GitHub Bot commented on NIFI-5621:
--

Github user MikeThomsen commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240586483
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-api-nar/src/main/resources/META-INF/NOTICE
 ---
@@ -0,0 +1,226 @@
+nifi-cassandra-services-api-nar
+Copyright 2016 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+**
+Apache Software License v2
+**
+
+  (ASLv2) The Netty Project
--- End diff --

Netty looks good.


> Create a Connection Pooling service implementation to be used in Cassandra 
> processors
> -
>
> Key: NIFI-5621
> URL: https://issues.apache.org/jira/browse/NIFI-5621
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Sivaprasanna Sethuraman
>Assignee: Sivaprasanna Sethuraman
>Priority: Major
>
> Like how the Relational Database processors leverage 'DBCPConnectionPool' 
> controller service, there should be one that could be used by the processors 
> from Cassandra bundle.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (NIFI-5621) Create a Connection Pooling service implementation to be used in Cassandra processors

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717029#comment-16717029
 ] 

ASF GitHub Bot commented on NIFI-5621:
--

Github user MikeThomsen commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240587170
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-api-nar/src/main/resources/META-INF/NOTICE
 ---
@@ -0,0 +1,226 @@
+nifi-cassandra-services-api-nar
+Copyright 2016 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+**
+Apache Software License v2
+**
+
+  (ASLv2) The Netty Project
+The following NOTICE information applies:
+   Copyright 2014 The Netty Project
+   
---
+   This product contains the extensions to Java Collections 
Framework which has
+   been derived from the works by JSR-166 EG, Doug Lea, and Jason 
T. Greene:
+
+ * LICENSE:
+   * license/LICENSE.jsr166y.txt (Public Domain)
+ * HOMEPAGE:
+   * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
+   * 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
+
+   This product contains a modified version of Robert Harder's 
Public Domain
+   Base64 Encoder and Decoder, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.base64.txt (Public Domain)
+ * HOMEPAGE:
+   * http://iharder.sourceforge.net/current/java/base64/
+
+   This product contains a modified portion of 'Webbit', an event 
based
+   WebSocket and HTTP server, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.webbit.txt (BSD License)
+ * HOMEPAGE:
+   * https://github.com/joewalnes/webbit
+
+   This product contains a modified portion of 'SLF4J', a simple 
logging
+   facade for Java, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.slf4j.txt (MIT License)
+ * HOMEPAGE:
+   * http://www.slf4j.org/
+
+   This product contains a modified portion of 'Apache Harmony', 
an open source
+   Java SE, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.harmony.txt (Apache License 2.0)
+ * HOMEPAGE:
+   * http://archive.apache.org/dist/harmony/
+
+   This product contains a modified portion of 'jbzip2', a Java 
bzip2 compression
+   and decompression library written by Matthew J. Francis. It can 
be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jbzip2.txt (MIT License)
+ * HOMEPAGE:
+   * https://code.google.com/p/jbzip2/
+
+   This product contains a modified portion of 'libdivsufsort', a 
C API library to construct
+   the suffix array and the Burrows-Wheeler transformed string for 
any input string of
+   a constant-size alphabet written by Yuta Mori. It can be 
obtained at:
+
+ * LICENSE:
+   * license/LICENSE.libdivsufsort.txt (MIT License)
+ * HOMEPAGE:
+   * https://github.com/y-256/libdivsufsort
+
+   This product contains a modified portion of Nitsan Wakart's 
'JCTools', Java Concurrency Tools for the JVM,
+which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jctools.txt (ASL2 License)
+ * HOMEPAGE:
+   * https://github.com/JCTools/JCTools
+
+   This product optionally depends on 'JZlib', a re-implementation 
of zlib in
+   pure Java, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jzlib.txt (BSD style License)
+ * HOMEPAGE:
+   * http://www.jcraft.com/jzlib/
+
+   This product optionally depends on 'Compress-LZF', a Java 
library for encoding and
+   decoding data in LZF format, written by Tatu Saloranta. It can 
be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.compress-lzf.txt (Apache License 2.0)
+ * HOMEPAGE:
+   * https://github.com/ning/compress
+
+   This product optionally depends on 'lz4', a LZ4 Java compression
+   

[jira] [Commented] (NIFI-5621) Create a Connection Pooling service implementation to be used in Cassandra processors

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717027#comment-16717027
 ] 

ASF GitHub Bot commented on NIFI-5621:
--

Github user MikeThomsen commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240587144
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-api-nar/src/main/resources/META-INF/NOTICE
 ---
@@ -0,0 +1,226 @@
+nifi-cassandra-services-api-nar
+Copyright 2016 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+**
+Apache Software License v2
+**
+
+  (ASLv2) The Netty Project
+The following NOTICE information applies:
+   Copyright 2014 The Netty Project
+   
---
+   This product contains the extensions to Java Collections 
Framework which has
+   been derived from the works by JSR-166 EG, Doug Lea, and Jason 
T. Greene:
+
+ * LICENSE:
+   * license/LICENSE.jsr166y.txt (Public Domain)
+ * HOMEPAGE:
+   * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
+   * 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
+
+   This product contains a modified version of Robert Harder's 
Public Domain
+   Base64 Encoder and Decoder, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.base64.txt (Public Domain)
+ * HOMEPAGE:
+   * http://iharder.sourceforge.net/current/java/base64/
+
+   This product contains a modified portion of 'Webbit', an event 
based
+   WebSocket and HTTP server, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.webbit.txt (BSD License)
+ * HOMEPAGE:
+   * https://github.com/joewalnes/webbit
+
+   This product contains a modified portion of 'SLF4J', a simple 
logging
+   facade for Java, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.slf4j.txt (MIT License)
+ * HOMEPAGE:
+   * http://www.slf4j.org/
+
+   This product contains a modified portion of 'Apache Harmony', 
an open source
+   Java SE, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.harmony.txt (Apache License 2.0)
+ * HOMEPAGE:
+   * http://archive.apache.org/dist/harmony/
+
+   This product contains a modified portion of 'jbzip2', a Java 
bzip2 compression
+   and decompression library written by Matthew J. Francis. It can 
be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jbzip2.txt (MIT License)
+ * HOMEPAGE:
+   * https://code.google.com/p/jbzip2/
+
+   This product contains a modified portion of 'libdivsufsort', a 
C API library to construct
+   the suffix array and the Burrows-Wheeler transformed string for 
any input string of
+   a constant-size alphabet written by Yuta Mori. It can be 
obtained at:
+
+ * LICENSE:
+   * license/LICENSE.libdivsufsort.txt (MIT License)
+ * HOMEPAGE:
+   * https://github.com/y-256/libdivsufsort
+
+   This product contains a modified portion of Nitsan Wakart's 
'JCTools', Java Concurrency Tools for the JVM,
+which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jctools.txt (ASL2 License)
+ * HOMEPAGE:
+   * https://github.com/JCTools/JCTools
+
+   This product optionally depends on 'JZlib', a re-implementation 
of zlib in
+   pure Java, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jzlib.txt (BSD style License)
+ * HOMEPAGE:
+   * http://www.jcraft.com/jzlib/
+
+   This product optionally depends on 'Compress-LZF', a Java 
library for encoding and
+   decoding data in LZF format, written by Tatu Saloranta. It can 
be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.compress-lzf.txt (Apache License 2.0)
+ * HOMEPAGE:
+   * https://github.com/ning/compress
+
+   This product optionally depends on 'lz4', a LZ4 Java compression
+   

[GitHub] nifi pull request #3105: NIFI-5621: Added Cassandra connection provider serv...

2018-12-11 Thread MikeThomsen
Github user MikeThomsen commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240587144
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-api-nar/src/main/resources/META-INF/NOTICE
 ---
@@ -0,0 +1,226 @@
+nifi-cassandra-services-api-nar
+Copyright 2016 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+**
+Apache Software License v2
+**
+
+  (ASLv2) The Netty Project
+The following NOTICE information applies:
+   Copyright 2014 The Netty Project
+   
---
+   This product contains the extensions to Java Collections 
Framework which has
+   been derived from the works by JSR-166 EG, Doug Lea, and Jason 
T. Greene:
+
+ * LICENSE:
+   * license/LICENSE.jsr166y.txt (Public Domain)
+ * HOMEPAGE:
+   * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
+   * 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
+
+   This product contains a modified version of Robert Harder's 
Public Domain
+   Base64 Encoder and Decoder, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.base64.txt (Public Domain)
+ * HOMEPAGE:
+   * http://iharder.sourceforge.net/current/java/base64/
+
+   This product contains a modified portion of 'Webbit', an event 
based
+   WebSocket and HTTP server, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.webbit.txt (BSD License)
+ * HOMEPAGE:
+   * https://github.com/joewalnes/webbit
+
+   This product contains a modified portion of 'SLF4J', a simple 
logging
+   facade for Java, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.slf4j.txt (MIT License)
+ * HOMEPAGE:
+   * http://www.slf4j.org/
+
+   This product contains a modified portion of 'Apache Harmony', 
an open source
+   Java SE, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.harmony.txt (Apache License 2.0)
+ * HOMEPAGE:
+   * http://archive.apache.org/dist/harmony/
+
+   This product contains a modified portion of 'jbzip2', a Java 
bzip2 compression
+   and decompression library written by Matthew J. Francis. It can 
be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jbzip2.txt (MIT License)
+ * HOMEPAGE:
+   * https://code.google.com/p/jbzip2/
+
+   This product contains a modified portion of 'libdivsufsort', a 
C API library to construct
+   the suffix array and the Burrows-Wheeler transformed string for 
any input string of
+   a constant-size alphabet written by Yuta Mori. It can be 
obtained at:
+
+ * LICENSE:
+   * license/LICENSE.libdivsufsort.txt (MIT License)
+ * HOMEPAGE:
+   * https://github.com/y-256/libdivsufsort
+
+   This product contains a modified portion of Nitsan Wakart's 
'JCTools', Java Concurrency Tools for the JVM,
+which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jctools.txt (ASL2 License)
+ * HOMEPAGE:
+   * https://github.com/JCTools/JCTools
+
+   This product optionally depends on 'JZlib', a re-implementation 
of zlib in
+   pure Java, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jzlib.txt (BSD style License)
+ * HOMEPAGE:
+   * http://www.jcraft.com/jzlib/
+
+   This product optionally depends on 'Compress-LZF', a Java 
library for encoding and
+   decoding data in LZF format, written by Tatu Saloranta. It can 
be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.compress-lzf.txt (Apache License 2.0)
+ * HOMEPAGE:
+   * https://github.com/ning/compress
+
+   This product optionally depends on 'lz4', a LZ4 Java compression
+   and decompression library written by Adrien Grand. It can be 
obtained at:
+
+ * LICENSE:
+   * license/LICENSE.lz4.txt (Apache License 2.0)
+ * HOMEPAGE:
+   * 

[GitHub] nifi pull request #3105: NIFI-5621: Added Cassandra connection provider serv...

2018-12-11 Thread MikeThomsen
Github user MikeThomsen commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240587170
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-api-nar/src/main/resources/META-INF/NOTICE
 ---
@@ -0,0 +1,226 @@
+nifi-cassandra-services-api-nar
+Copyright 2016 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+**
+Apache Software License v2
+**
+
+  (ASLv2) The Netty Project
+The following NOTICE information applies:
+   Copyright 2014 The Netty Project
+   
---
+   This product contains the extensions to Java Collections 
Framework which has
+   been derived from the works by JSR-166 EG, Doug Lea, and Jason 
T. Greene:
+
+ * LICENSE:
+   * license/LICENSE.jsr166y.txt (Public Domain)
+ * HOMEPAGE:
+   * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
+   * 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
+
+   This product contains a modified version of Robert Harder's 
Public Domain
+   Base64 Encoder and Decoder, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.base64.txt (Public Domain)
+ * HOMEPAGE:
+   * http://iharder.sourceforge.net/current/java/base64/
+
+   This product contains a modified portion of 'Webbit', an event 
based
+   WebSocket and HTTP server, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.webbit.txt (BSD License)
+ * HOMEPAGE:
+   * https://github.com/joewalnes/webbit
+
+   This product contains a modified portion of 'SLF4J', a simple 
logging
+   facade for Java, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.slf4j.txt (MIT License)
+ * HOMEPAGE:
+   * http://www.slf4j.org/
+
+   This product contains a modified portion of 'Apache Harmony', 
an open source
+   Java SE, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.harmony.txt (Apache License 2.0)
+ * HOMEPAGE:
+   * http://archive.apache.org/dist/harmony/
+
+   This product contains a modified portion of 'jbzip2', a Java 
bzip2 compression
+   and decompression library written by Matthew J. Francis. It can 
be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jbzip2.txt (MIT License)
+ * HOMEPAGE:
+   * https://code.google.com/p/jbzip2/
+
+   This product contains a modified portion of 'libdivsufsort', a 
C API library to construct
+   the suffix array and the Burrows-Wheeler transformed string for 
any input string of
+   a constant-size alphabet written by Yuta Mori. It can be 
obtained at:
+
+ * LICENSE:
+   * license/LICENSE.libdivsufsort.txt (MIT License)
+ * HOMEPAGE:
+   * https://github.com/y-256/libdivsufsort
+
+   This product contains a modified portion of Nitsan Wakart's 
'JCTools', Java Concurrency Tools for the JVM,
+which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jctools.txt (ASL2 License)
+ * HOMEPAGE:
+   * https://github.com/JCTools/JCTools
+
+   This product optionally depends on 'JZlib', a re-implementation 
of zlib in
+   pure Java, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jzlib.txt (BSD style License)
+ * HOMEPAGE:
+   * http://www.jcraft.com/jzlib/
+
+   This product optionally depends on 'Compress-LZF', a Java 
library for encoding and
+   decoding data in LZF format, written by Tatu Saloranta. It can 
be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.compress-lzf.txt (Apache License 2.0)
+ * HOMEPAGE:
+   * https://github.com/ning/compress
+
+   This product optionally depends on 'lz4', a LZ4 Java compression
+   and decompression library written by Adrien Grand. It can be 
obtained at:
+
+ * LICENSE:
+   * license/LICENSE.lz4.txt (Apache License 2.0)
+ * HOMEPAGE:
+   * 

[jira] [Commented] (NIFI-5621) Create a Connection Pooling service implementation to be used in Cassandra processors

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717025#comment-16717025
 ] 

ASF GitHub Bot commented on NIFI-5621:
--

Github user MikeThomsen commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240584516
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-api-nar/src/main/resources/META-INF/LICENSE
 ---
@@ -0,0 +1,266 @@
+
--- End diff --

+1 LGTM


> Create a Connection Pooling service implementation to be used in Cassandra 
> processors
> -
>
> Key: NIFI-5621
> URL: https://issues.apache.org/jira/browse/NIFI-5621
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Sivaprasanna Sethuraman
>Assignee: Sivaprasanna Sethuraman
>Priority: Major
>
> Like how the Relational Database processors leverage 'DBCPConnectionPool' 
> controller service, there should be one that could be used by the processors 
> from Cassandra bundle.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] nifi pull request #3105: NIFI-5621: Added Cassandra connection provider serv...

2018-12-11 Thread MikeThomsen
Github user MikeThomsen commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240584516
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-api-nar/src/main/resources/META-INF/LICENSE
 ---
@@ -0,0 +1,266 @@
+
--- End diff --

+1 LGTM


---


[GitHub] nifi pull request #3105: NIFI-5621: Added Cassandra connection provider serv...

2018-12-11 Thread MikeThomsen
Github user MikeThomsen commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240587016
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-api-nar/src/main/resources/META-INF/NOTICE
 ---
@@ -0,0 +1,226 @@
+nifi-cassandra-services-api-nar
+Copyright 2016 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+**
+Apache Software License v2
+**
+
+  (ASLv2) The Netty Project
+The following NOTICE information applies:
+   Copyright 2014 The Netty Project
+   
---
+   This product contains the extensions to Java Collections 
Framework which has
+   been derived from the works by JSR-166 EG, Doug Lea, and Jason 
T. Greene:
+
+ * LICENSE:
+   * license/LICENSE.jsr166y.txt (Public Domain)
+ * HOMEPAGE:
+   * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
+   * 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
+
+   This product contains a modified version of Robert Harder's 
Public Domain
+   Base64 Encoder and Decoder, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.base64.txt (Public Domain)
+ * HOMEPAGE:
+   * http://iharder.sourceforge.net/current/java/base64/
+
+   This product contains a modified portion of 'Webbit', an event 
based
+   WebSocket and HTTP server, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.webbit.txt (BSD License)
+ * HOMEPAGE:
+   * https://github.com/joewalnes/webbit
+
+   This product contains a modified portion of 'SLF4J', a simple 
logging
+   facade for Java, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.slf4j.txt (MIT License)
+ * HOMEPAGE:
+   * http://www.slf4j.org/
+
+   This product contains a modified portion of 'Apache Harmony', 
an open source
+   Java SE, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.harmony.txt (Apache License 2.0)
+ * HOMEPAGE:
+   * http://archive.apache.org/dist/harmony/
+
+   This product contains a modified portion of 'jbzip2', a Java 
bzip2 compression
+   and decompression library written by Matthew J. Francis. It can 
be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jbzip2.txt (MIT License)
+ * HOMEPAGE:
+   * https://code.google.com/p/jbzip2/
+
+   This product contains a modified portion of 'libdivsufsort', a 
C API library to construct
+   the suffix array and the Burrows-Wheeler transformed string for 
any input string of
+   a constant-size alphabet written by Yuta Mori. It can be 
obtained at:
+
+ * LICENSE:
+   * license/LICENSE.libdivsufsort.txt (MIT License)
+ * HOMEPAGE:
+   * https://github.com/y-256/libdivsufsort
+
+   This product contains a modified portion of Nitsan Wakart's 
'JCTools', Java Concurrency Tools for the JVM,
+which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jctools.txt (ASL2 License)
+ * HOMEPAGE:
+   * https://github.com/JCTools/JCTools
+
+   This product optionally depends on 'JZlib', a re-implementation 
of zlib in
+   pure Java, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jzlib.txt (BSD style License)
+ * HOMEPAGE:
+   * http://www.jcraft.com/jzlib/
+
+   This product optionally depends on 'Compress-LZF', a Java 
library for encoding and
+   decoding data in LZF format, written by Tatu Saloranta. It can 
be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.compress-lzf.txt (Apache License 2.0)
+ * HOMEPAGE:
+   * https://github.com/ning/compress
+
+   This product optionally depends on 'lz4', a LZ4 Java compression
+   and decompression library written by Adrien Grand. It can be 
obtained at:
+
+ * LICENSE:
+   * license/LICENSE.lz4.txt (Apache License 2.0)
+ * HOMEPAGE:
+   * 

[GitHub] nifi pull request #3105: NIFI-5621: Added Cassandra connection provider serv...

2018-12-11 Thread MikeThomsen
Github user MikeThomsen commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240586483
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-api-nar/src/main/resources/META-INF/NOTICE
 ---
@@ -0,0 +1,226 @@
+nifi-cassandra-services-api-nar
+Copyright 2016 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+**
+Apache Software License v2
+**
+
+  (ASLv2) The Netty Project
--- End diff --

Netty looks good.


---


[jira] [Commented] (NIFI-5621) Create a Connection Pooling service implementation to be used in Cassandra processors

2018-12-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16717026#comment-16717026
 ] 

ASF GitHub Bot commented on NIFI-5621:
--

Github user MikeThomsen commented on a diff in the pull request:

https://github.com/apache/nifi/pull/3105#discussion_r240587016
  
--- Diff: 
nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-services-api-nar/src/main/resources/META-INF/NOTICE
 ---
@@ -0,0 +1,226 @@
+nifi-cassandra-services-api-nar
+Copyright 2016 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+**
+Apache Software License v2
+**
+
+  (ASLv2) The Netty Project
+The following NOTICE information applies:
+   Copyright 2014 The Netty Project
+   
---
+   This product contains the extensions to Java Collections 
Framework which has
+   been derived from the works by JSR-166 EG, Doug Lea, and Jason 
T. Greene:
+
+ * LICENSE:
+   * license/LICENSE.jsr166y.txt (Public Domain)
+ * HOMEPAGE:
+   * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
+   * 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
+
+   This product contains a modified version of Robert Harder's 
Public Domain
+   Base64 Encoder and Decoder, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.base64.txt (Public Domain)
+ * HOMEPAGE:
+   * http://iharder.sourceforge.net/current/java/base64/
+
+   This product contains a modified portion of 'Webbit', an event 
based
+   WebSocket and HTTP server, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.webbit.txt (BSD License)
+ * HOMEPAGE:
+   * https://github.com/joewalnes/webbit
+
+   This product contains a modified portion of 'SLF4J', a simple 
logging
+   facade for Java, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.slf4j.txt (MIT License)
+ * HOMEPAGE:
+   * http://www.slf4j.org/
+
+   This product contains a modified portion of 'Apache Harmony', 
an open source
+   Java SE, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.harmony.txt (Apache License 2.0)
+ * HOMEPAGE:
+   * http://archive.apache.org/dist/harmony/
+
+   This product contains a modified portion of 'jbzip2', a Java 
bzip2 compression
+   and decompression library written by Matthew J. Francis. It can 
be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jbzip2.txt (MIT License)
+ * HOMEPAGE:
+   * https://code.google.com/p/jbzip2/
+
+   This product contains a modified portion of 'libdivsufsort', a 
C API library to construct
+   the suffix array and the Burrows-Wheeler transformed string for 
any input string of
+   a constant-size alphabet written by Yuta Mori. It can be 
obtained at:
+
+ * LICENSE:
+   * license/LICENSE.libdivsufsort.txt (MIT License)
+ * HOMEPAGE:
+   * https://github.com/y-256/libdivsufsort
+
+   This product contains a modified portion of Nitsan Wakart's 
'JCTools', Java Concurrency Tools for the JVM,
+which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jctools.txt (ASL2 License)
+ * HOMEPAGE:
+   * https://github.com/JCTools/JCTools
+
+   This product optionally depends on 'JZlib', a re-implementation 
of zlib in
+   pure Java, which can be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.jzlib.txt (BSD style License)
+ * HOMEPAGE:
+   * http://www.jcraft.com/jzlib/
+
+   This product optionally depends on 'Compress-LZF', a Java 
library for encoding and
+   decoding data in LZF format, written by Tatu Saloranta. It can 
be obtained at:
+
+ * LICENSE:
+   * license/LICENSE.compress-lzf.txt (Apache License 2.0)
+ * HOMEPAGE:
+   * https://github.com/ning/compress
+
+   This product optionally depends on 'lz4', a LZ4 Java compression
+   

[jira] [Updated] (NIFI-5888) QueryRecord processor handling timestamp

2018-12-11 Thread Gideon Korir (JIRA)


 [ 
https://issues.apache.org/jira/browse/NIFI-5888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gideon Korir updated NIFI-5888:
---
Description: 
Add the test below to `org.apache.nifi.processors.standard.TestQueryRecord`

 
{code:java}
@Test public void testTimestampColumns() throws InitializationException { 
final MockRecordParser parser = new MockRecordParser(); 
parser.addSchemaField("name", RecordFieldType.STRING); 
parser.addSchemaField("date_added", RecordFieldType.TIMESTAMP); 
parser.addRecord("Tom", Timestamp.valueOf("2018-12-03 09:12:00")); 
parser.addRecord("Jerry", Timestamp.valueOf("2018-12-04 10:26:00")); 
parser.addRecord("Tom", Timestamp.valueOf("2017-01-03 11:22:00")); 
final List colNames = new ArrayList<>(); 
colNames.add("name"); 
colNames.add("day_added"); 
final ResultSetValidatingRecordWriter writer = new 
ResultSetValidatingRecordWriter(colNames); 
TestRunner runner = getRunner(); 
runner.addControllerService("parser", parser); 
runner.enableControllerService(parser); 
runner.addControllerService("writer", writer); 
runner.enableControllerService(writer); 
runner.setProperty(REL_NAME, "select name, {fn YEAR(date_added)} as day_added 
from FLOWFILE"); runner.setProperty(QueryRecord.RECORD_READER_FACTORY, 
"parser"); 
runner.setProperty(QueryRecord.RECORD_WRITER_FACTORY, "writer"); 
runner.enqueue(""); 
runner.run(); 
runner.assertTransferCount(REL_NAME, 1); 
}

{code}
 

*Expected*: Test will pass

*Actual*: fails with ClassCastException with message "java.sql.Timestamp cannot 
be cast to java.lang.Long".

//Also used sql: "select name, CAST(date_added, DATE) as day_added from 
FLOWFILE" and failed

 

I (think) I've traced the issue to the NiFi usage of Apache Calcite; according 
to Julian Hyde's comment on [this 
issue|https://issues.apache.org/jira/browse/CALCITE-1427].

Disclaimer: My knowledge on Calcite is zero to none so I could be completely 
wrong.

Currently, QueryRecord uses FlowFileTable which only implements QueryableTable 
and TranslateableTable and therefore can not work with java.sql.Timestamp (at 
least based on Hyde's comment on the issue). This will mean almost all 
RecordReader services (Avro, Csv) would not work with QueryRecord.

 

  was:
Add the test below to `org.apache.nifi.processors.standard.TestQueryRecord`

 
{code:java}
@Test public void testTimestampColumns() throws InitializationException { final 
MockRecordParser parser = new MockRecordParser(); parser.addSchemaField("name", 
RecordFieldType.STRING); parser.addSchemaField("date_added", 
RecordFieldType.TIMESTAMP); parser.addRecord("Tom", 
Timestamp.valueOf("2018-12-03 09:12:00")); parser.addRecord("Jerry", 
Timestamp.valueOf("2018-12-04 10:26:00")); parser.addRecord("Tom", 
Timestamp.valueOf("2017-01-03 11:22:00")); final List colNames = new 
ArrayList<>(); colNames.add("name"); colNames.add("day_added"); final 
ResultSetValidatingRecordWriter writer = new 
ResultSetValidatingRecordWriter(colNames); TestRunner runner = getRunner(); 
runner.addControllerService("parser", parser); 
runner.enableControllerService(parser); runner.addControllerService("writer", 
writer); runner.enableControllerService(writer); runner.setProperty(REL_NAME, 
"select name, {fn YEAR(date_added)} as day_added from FLOWFILE"); 
runner.setProperty(QueryRecord.RECORD_READER_FACTORY, "parser"); 
runner.setProperty(QueryRecord.RECORD_WRITER_FACTORY, "writer"); 
runner.enqueue(""); runner.run(); runner.assertTransferCount(REL_NAME, 1); 
}

{code}
 

*Expected*: Test will pass

*Actual*: fails with ClassCastException with message "java.sql.Timestamp cannot 
be cast to java.lang.Long".

//Also used sql: "select name, CAST(date_added, DATE) as day_added from 
FLOWFILE" and failed

 

I (think) I've traced the issue to the NiFi usage of Apache Calcite; according 
to Julian Hyde's comment on [this 
issue|https://issues.apache.org/jira/browse/CALCITE-1427].

Disclaimer: My knowledge on Calcite is zero to none so I could be completely 
wrong.

Currently, QueryRecord uses FlowFileTable which only implements QueryableTable 
and TranslateableTable and therefore can not work with java.sql.Timestamp (at 
least based on Hyde's comment on the issue). This will mean almost all 
RecordReader services (Avro, Csv) would not work with QueryRecord.

 


> QueryRecord processor handling timestamp
> 
>
> Key: NIFI-5888
> URL: https://issues.apache.org/jira/browse/NIFI-5888
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Extensions
>Affects Versions: 1.8.0
>Reporter: Gideon Korir
>Priority: Major
>
> Add the test below to `org.apache.nifi.processors.standard.TestQueryRecord`
>  
> {code:java}
> @Test public void testTimestampColumns() throws InitializationException { 
> final MockRecordParser parser = new MockRecordParser(); 
> 

[jira] [Created] (NIFI-5888) QueryRecord processor handling timestamp

2018-12-11 Thread Gideon Korir (JIRA)
Gideon Korir created NIFI-5888:
--

 Summary: QueryRecord processor handling timestamp
 Key: NIFI-5888
 URL: https://issues.apache.org/jira/browse/NIFI-5888
 Project: Apache NiFi
  Issue Type: Improvement
  Components: Extensions
Affects Versions: 1.8.0
Reporter: Gideon Korir


Add the test below to `org.apache.nifi.processors.standard.TestQueryRecord`

 
{code:java}
@Test public void testTimestampColumns() throws InitializationException { final 
MockRecordParser parser = new MockRecordParser(); parser.addSchemaField("name", 
RecordFieldType.STRING); parser.addSchemaField("date_added", 
RecordFieldType.TIMESTAMP); parser.addRecord("Tom", 
Timestamp.valueOf("2018-12-03 09:12:00")); parser.addRecord("Jerry", 
Timestamp.valueOf("2018-12-04 10:26:00")); parser.addRecord("Tom", 
Timestamp.valueOf("2017-01-03 11:22:00")); final List colNames = new 
ArrayList<>(); colNames.add("name"); colNames.add("day_added"); final 
ResultSetValidatingRecordWriter writer = new 
ResultSetValidatingRecordWriter(colNames); TestRunner runner = getRunner(); 
runner.addControllerService("parser", parser); 
runner.enableControllerService(parser); runner.addControllerService("writer", 
writer); runner.enableControllerService(writer); runner.setProperty(REL_NAME, 
"select name, {fn YEAR(date_added)} as day_added from FLOWFILE"); 
runner.setProperty(QueryRecord.RECORD_READER_FACTORY, "parser"); 
runner.setProperty(QueryRecord.RECORD_WRITER_FACTORY, "writer"); 
runner.enqueue(""); runner.run(); runner.assertTransferCount(REL_NAME, 1); 
}

{code}
 

*Expected*: Test will pass

*Actual*: fails with ClassCastException with message "java.sql.Timestamp cannot 
be cast to java.lang.Long".

//Also used sql: "select name, CAST(date_added, DATE) as day_added from 
FLOWFILE" and failed

 

I (think) I've traced the issue to the NiFi usage of Apache Calcite; according 
to Julian Hyde's comment on [this 
issue|https://issues.apache.org/jira/browse/CALCITE-1427].

Disclaimer: My knowledge on Calcite is zero to none so I could be completely 
wrong.

Currently, QueryRecord uses FlowFileTable which only implements QueryableTable 
and TranslateableTable and therefore can not work with java.sql.Timestamp (at 
least based on Hyde's comment on the issue). This will mean almost all 
RecordReader services (Avro, Csv) would not work with QueryRecord.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (NIFI-5887) unable to unmarshal json to an object

2018-12-11 Thread meh (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16716839#comment-16716839
 ] 

meh commented on NIFI-5887:
---

it's worked with escaping JSON:
 
{code:java}
{\"key\":\"value\"}{code}
 
but when insert in JSON that have stringed because of double quotation (" ")
 
{code:java}
{ "id": 123, "user": "foo", "interest": "{\"key\":\"value\"}" }{code}
 
any idea? 
 

> unable to unmarshal json to an object
> -
>
> Key: NIFI-5887
> URL: https://issues.apache.org/jira/browse/NIFI-5887
> Project: Apache NiFi
>  Issue Type: Bug
>Affects Versions: 1.7.0
>Reporter: meh
>Priority: Major
>  Labels: attribute, jolt, json
>
> i have a attribute (that produced by a REST service and catched by invokeHTTP 
> processor) in JSON format like this:
> {code:java}
> test => {"key":"value"}{code}
> and then i want to put it in flows JSON content using JOLT processor, my 
> content is something like this:
> {code:java}
> { "id": 123, "user": "foo" }{code}
> and my JOLT specification is this:
> {code:java}
> [{ "operation": "default", "spec": { "interest": "${test}" } }]{code}
> the problem is here that, in JOLT advanced window with test attribute nifi 
> cannot put json object and shown this error:
> {quote}*"Error occurred during transformation"*
> {quote}
> and when run processor this detailed error is become alerted:
> {quote}*"unable to unmarshal json to an object"*
> {quote}
> 
> my desired result is this:
> {code:java}
> { "id": 123, "user": "foo", "interest": {"key":"value"} }{code}
> is this a bug or am i wrong?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)