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

Oliver Meyn commented on NIFI-1924:
-----------------------------------

Not sure if anyone is still working on this, but I'm using NiFi to try and 
write to WebHDFS via Knox (which is just proxying to WebHDFS). I only really 
need to write, but the two-phase write is proving painful with InvokeHTTP 
(can't pull the Location header from the redirect response). If there's still 
work going in to this I'd appreciate your keeping the Knox use case in mind.

> Create set of WebHDFS processors
> --------------------------------
>
>                 Key: NIFI-1924
>                 URL: https://issues.apache.org/jira/browse/NIFI-1924
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Andre
>
> Create processors to handle, 
> Supported commands for WebHDFS V1
> * GET -> GetWebHDFS
>    * OPEN
>    * GETFILESTATUS
>    * LISTSTATUS
>    * GETCONTENTSUMMARy
>    * GETFILECHECKSUM
>    * GETHOMEDIRECTORY
>    * GETDELEGATIONTOKEN
>    * GETDELEGATIONTOKENS
>    * GETXATTRS
>    * LISTXATTRS
>    * CHECKACCESS
> * PUT -> PutWebHDFS
>    * CREATE
>    * MKDIRS
>    * CREATESYMLINK
>    * RENAME
>    * SETREPLICATION
>    * SETOWNER
>    * SETPERMISSION
>    * SETTIMES
>    * RENEWDELEGATIONTOKEN
>    * CANCELDELEGATIONTOKEN
>    * CREATESNAPSHOT
>    * RENAMESNAPSHOT
>    * SETXATTR
>    * REMOVEXATTR
> * POST -> PostWebHDFS
>    * APPEND
>    * CONCAT
>    * TRUNCATE
> * DELETE -> DeleteWebHDFS
>    * DELETE
>    * DELETESNAPSHOT
> operations against WebHDFS as discussed here:
> http://mail-archives.apache.org/mod_mbox/nifi-users/201604.mbox/%3CCABtjSZk2KLJJVk%2Byk-ySioPxVUV5SLHcN%2BaWMZs1ARpkfy%2B0Ow%40mail.gmail.com%3E
> Required Processor Properties:
> * Namenode Host
> * WebHDFS port
> * WebHDFS API version. Default to v1. Dropdown list of available options. 
> Currently there is only v1 but would be good to have that in place to show 
> our intentions.
> * Hadoop configuration files. core-site.xml and hdfs-site.xml. These 
> configurations files should not be required to keep things lite. However they 
> would be required to access a kerberized Hadoop cluster. If these 
> configuration files are present they should take precedence over the 
> properties set in NameNode host and WebHDFS port.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to