You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "zhengchenyu (Jira)" <ji...@apache.org> on 2021/03/23 10:10:00 UTC

[jira] [Updated] (HDDS-5019) Fix BucketName inconformity problem when use tmp volume and kerberos is enable!

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

zhengchenyu updated HDDS-5019:
------------------------------
    Summary: Fix BucketName inconformity problem when use tmp volume and kerberos is enable!  (was: BucketName are not same for different host's ozone client,  when use tmp volume and kerberos is enable!)

> Fix BucketName inconformity problem when use tmp volume and kerberos is enable!
> -------------------------------------------------------------------------------
>
>                 Key: HDDS-5019
>                 URL: https://issues.apache.org/jira/browse/HDDS-5019
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: zhengchenyu
>            Assignee: zhengchenyu
>            Priority: Critical
>
> I setup yarn cluster on ozone, and kerberos is enable. NodeManager can't download resource package in ContainerLocalizer stage, show error like this
> {code}
> 2021-03-22 19:56:42,004 WARN org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService: \{ ofs://test1/tmp/hadoop-yarn/staging/$user/.staging/job_1616412423610_0008/job.splitmetainfo, 1616414199202, FILE, null } failed: hadoop-yarn/staging/$user/.staging/job_1616412423610_0008/job.splitmetainfo: No such file or directory!
> java.io.FileNotFoundException: hadoop-yarn/staging/$user/.staging/job_1616412423610_0008/job.splitmetainfo: No such file or directory!
> {code} 
> The reason is that this wrong way to get user. For kerberos principal in different machine are not same, so UserGroupInformation.getCurrentUser().getUserName are not same.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org