You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Bharat Viswanadham (Jira)" <ji...@apache.org> on 2020/02/14 20:20:00 UTC

[jira] [Updated] (HDDS-3021) Ozone S3 CLI path command not working on HA cluster

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

Bharat Viswanadham updated HDDS-3021:
-------------------------------------
    Description: 
ozone s3 path <<bucketname>>

ozone s3 path are not working on OM HA cluster

 

Because these commands do not take URI as a parameter. And for shell in HA, passing URI is mandatory. 

 

Below is the output when running on OM HA cluster:

 
{code:java}
$ozone s3 path
Service ID or host name must not be omitted when ozone.om.service.ids is defined.
{code}
 

HDDS-2279 fixed only getsecret, and this is missed because parameter added om-service-id is applicable only getsecret command.

 

This Jira suggests to do, move parameter to common class named S3Handler, and make all S3 commands inherit this, so in future any new commands, this parameter will be applicable. 

  was:
ozone s3 getSecret

ozone s3 path are not working on OM HA cluster

 

Because these commands do not take URI as a parameter. And for shell in HA, passing URI is mandatory. 

 

Below is the output when running on OM HA cluster:

 
{code:java}
$ozone s3 getsecret
Service ID or host name must not be omitted when ozone.om.service.ids is defined.
{code}
 


>  Ozone S3 CLI path command not working on HA cluster
> ----------------------------------------------------
>
>                 Key: HDDS-3021
>                 URL: https://issues.apache.org/jira/browse/HDDS-3021
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.5.0
>
>
> ozone s3 path <<bucketname>>
> ozone s3 path are not working on OM HA cluster
>  
> Because these commands do not take URI as a parameter. And for shell in HA, passing URI is mandatory. 
>  
> Below is the output when running on OM HA cluster:
>  
> {code:java}
> $ozone s3 path
> Service ID or host name must not be omitted when ozone.om.service.ids is defined.
> {code}
>  
> HDDS-2279 fixed only getsecret, and this is missed because parameter added om-service-id is applicable only getsecret command.
>  
> This Jira suggests to do, move parameter to common class named S3Handler, and make all S3 commands inherit this, so in future any new commands, this parameter will be applicable. 



--
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