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

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

Commit 47f75651bb49d7868f63b02668300f702cbde3ea in nifi's branch 
refs/heads/main from Peter Turcsanyi
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=47f75651bb ]

NIFI-9911: Fixed checking HDFS URI in ListHDFS' Directory property

Signed-off-by: Matthew Burgess <[email protected]>

This closes #5957


> ListHDFS fails when HDFS URI in Directory property does not contain the 
> host:port part
> --------------------------------------------------------------------------------------
>
>                 Key: NIFI-9911
>                 URL: https://issues.apache.org/jira/browse/NIFI-9911
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.14.0, 1.15.0, 1.16.0, 1.15.1, 1.15.2, 1.15.3
>            Reporter: Peter Turcsanyi
>            Assignee: Peter Turcsanyi
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The scheme and authority (host:port) part of the HDFS URI comes from the 
> core-site.xml but it is also possible to specify a full HDFS URI (e.g. 
> hdfs://myhost:9000/path/to/dir) in the Directory property in ListHDFS 
> (instead of simply /path/to/dir).
> NIFI-8737 introduced a warning message when the HDFS URI specified in the 
> Directory property does not match the URI in core-site.xml. However, this 
> validation logic does not handle URIs having a scheme but no authority part 
> properly and results in NPE.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to