You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "mingchao zhao (Jira)" <ji...@apache.org> on 2020/03/09 15:23:00 UTC
[jira] [Commented] (HDDS-3147) User factor passed in
get(uri,conf,user) API doesn't take effect
[ https://issues.apache.org/jira/browse/HDDS-3147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17055077#comment-17055077 ]
mingchao zhao commented on HDDS-3147:
-------------------------------------
Hi [~ljain] Do you have any Suggestions here? Is that a bug?
> User factor passed in get(uri,conf,user) API doesn't take effect
> ----------------------------------------------------------------
>
> Key: HDDS-3147
> URL: https://issues.apache.org/jira/browse/HDDS-3147
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Components: Ozone Filesystem
> Reporter: mingchao zhao
> Priority: Major
> Attachments: image-2020-03-09-22-51-51-759.png, image-2020-03-09-22-52-40-434.png, image-2020-03-09-22-52-49-386.png
>
>
> When I created the file using the following API, I found that the user setting did not take effect.
>
> {code:java}
> //
> FileSystem fs = FileSystem.get(URI.create("o3fs://bucket.hadoop/test1.log"), conf,"zmc");
> FSDataOutputStream fsOut = fs.create(new Path(dst), true);
> fsOut.writeBytes("hello word!");
> {code}
> I also find out who the current system user is and who the owner of the file is:
> !image-2020-03-09-22-52-49-386.png|width=782,height=125!
> !image-2020-03-09-22-51-51-759.png|width=786,height=136!
> It doesn't feel right.
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org