You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sumit Gupta (JIRA)" <ji...@apache.org> on 2017/01/09 19:55:58 UTC

[jira] [Commented] (KNOX-829) HDFS commands for client: append,checksum,concat,homedir,chown,chmod,touch,symlink,truncate

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

Sumit Gupta commented on KNOX-829:
----------------------------------

[~treydone], I am incurring a bit of a struggle testing this patch. Some operations do not work for me. 

For example, for checksum I get 400 bad request
"{"RemoteException":{"exception":"IllegalArgumentException","javaClassName":"java.lang.IllegalArgumentException","message":"Invalid value for webhdfs parameter \"op\": No enum constant org.apache.hadoop.hdfs.web.resources.PostOpParam.Op.GETFILECHECKSUM"}}[\r][\n]"

I think that needs to be a GET and not a POST.

Also for symlink I get,

{"RemoteException":{"exception":"UnsupportedOperationException","javaClassName":"java.lang.UnsupportedOperationException","message":"Symlinks not supported”}}

Do I need a special setting for this in hdfs?

Append and touch don't seem to do anything for me either. Homedir works great.

Can you help out by providing settings and samples so that I can verify I am testing this correctly?


> HDFS commands for client: append,checksum,concat,homedir,chown,chmod,touch,symlink,truncate
> -------------------------------------------------------------------------------------------
>
>                 Key: KNOX-829
>                 URL: https://issues.apache.org/jira/browse/KNOX-829
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: ClientDSL
>            Reporter: Vincent Devillers
>            Assignee: Vincent Devillers
>            Priority: Minor
>              Labels: KIP-4
>             Fix For: 0.12.0
>
>         Attachments: KNOX-829.patch
>
>




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