[jira] [Updated] (HDDS-2148) Remove redundant code in CreateBucketHandler.java

2019-09-19 Thread Elek, Marton (Jira)


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

Elek, Marton updated HDDS-2148:
---
Fix Version/s: 0.5.0
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

> Remove redundant code in CreateBucketHandler.java
> -
>
> Key: HDDS-2148
> URL: https://issues.apache.org/jira/browse/HDDS-2148
> Project: Hadoop Distributed Data Store
>  Issue Type: Bug
>  Components: Ozone CLI
>Reporter: Dinesh Chitlangia
>Assignee: Dinesh Chitlangia
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 0.5.0
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> {code:java}
> if (isVerbose()) {
>   System.out.printf("Volume Name : %s%n", volumeName);
>   System.out.printf("Bucket Name : %s%n", bucketName);
>   if (bekName != null) {
> bb.setBucketEncryptionKey(bekName);
> System.out.printf("Bucket Encryption enabled with Key Name: %s%n",
> bekName);
>   }
> }
> {code}
> This jira aims to remove the redundant line 
> {{bb.setBucketEncryptionKey(bekName);}} as the same operation is performed in 
> the preceding code block. This code block is to print additional details if 
> verbose option was specified.



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

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDDS-2148) Remove redundant code in CreateBucketHandler.java

2019-09-18 Thread Dinesh Chitlangia (Jira)


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

Dinesh Chitlangia updated HDDS-2148:

Target Version/s: 0.5.0
 Description: 
{code:java}
if (isVerbose()) {
  System.out.printf("Volume Name : %s%n", volumeName);
  System.out.printf("Bucket Name : %s%n", bucketName);
  if (bekName != null) {
bb.setBucketEncryptionKey(bekName);
System.out.printf("Bucket Encryption enabled with Key Name: %s%n",
bekName);
  }
}
{code}

This jira aims to remove the redundant line 
{{bb.setBucketEncryptionKey(bekName);}} as the same operation is performed in 
the preceding code block. This code block is to print additional details if 
verbose option was specified.

  was:

{code:java}
if (isVerbose()) {
  System.out.printf("Volume Name : %s%n", volumeName);
  System.out.printf("Bucket Name : %s%n", bucketName);
  if (bekName != null) {
bb.setBucketEncryptionKey(bekName);
System.out.printf("Bucket Encryption enabled with Key Name: %s%n",
bekName);
  }
}
{code}

This jira aims to remove the redundant line 
{{bb.setBucketEncryptionKey(bekName);}} as the same operation is performed in 
the preceding code block. This code block is to print additional details if 
verbose option was specified.


> Remove redundant code in CreateBucketHandler.java
> -
>
> Key: HDDS-2148
> URL: https://issues.apache.org/jira/browse/HDDS-2148
> Project: Hadoop Distributed Data Store
>  Issue Type: Bug
>  Components: Ozone CLI
>Reporter: Dinesh Chitlangia
>Assignee: Dinesh Chitlangia
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code:java}
> if (isVerbose()) {
>   System.out.printf("Volume Name : %s%n", volumeName);
>   System.out.printf("Bucket Name : %s%n", bucketName);
>   if (bekName != null) {
> bb.setBucketEncryptionKey(bekName);
> System.out.printf("Bucket Encryption enabled with Key Name: %s%n",
> bekName);
>   }
> }
> {code}
> This jira aims to remove the redundant line 
> {{bb.setBucketEncryptionKey(bekName);}} as the same operation is performed in 
> the preceding code block. This code block is to print additional details if 
> verbose option was specified.



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

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDDS-2148) Remove redundant code in CreateBucketHandler.java

2019-09-18 Thread Dinesh Chitlangia (Jira)


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

Dinesh Chitlangia updated HDDS-2148:

Status: Patch Available  (was: Open)

> Remove redundant code in CreateBucketHandler.java
> -
>
> Key: HDDS-2148
> URL: https://issues.apache.org/jira/browse/HDDS-2148
> Project: Hadoop Distributed Data Store
>  Issue Type: Bug
>  Components: Ozone CLI
>Reporter: Dinesh Chitlangia
>Assignee: Dinesh Chitlangia
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {code:java}
> if (isVerbose()) {
>   System.out.printf("Volume Name : %s%n", volumeName);
>   System.out.printf("Bucket Name : %s%n", bucketName);
>   if (bekName != null) {
> bb.setBucketEncryptionKey(bekName);
> System.out.printf("Bucket Encryption enabled with Key Name: %s%n",
> bekName);
>   }
> }
> {code}
> This jira aims to remove the redundant line 
> {{bb.setBucketEncryptionKey(bekName);}} as the same operation is performed in 
> the preceding code block. This code block is to print additional details if 
> verbose option was specified.



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

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDDS-2148) Remove redundant code in CreateBucketHandler.java

2019-09-18 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated HDDS-2148:
-
Labels: pull-request-available  (was: )

> Remove redundant code in CreateBucketHandler.java
> -
>
> Key: HDDS-2148
> URL: https://issues.apache.org/jira/browse/HDDS-2148
> Project: Hadoop Distributed Data Store
>  Issue Type: Bug
>  Components: Ozone CLI
>Reporter: Dinesh Chitlangia
>Assignee: Dinesh Chitlangia
>Priority: Minor
>  Labels: pull-request-available
>
> {code:java}
> if (isVerbose()) {
>   System.out.printf("Volume Name : %s%n", volumeName);
>   System.out.printf("Bucket Name : %s%n", bucketName);
>   if (bekName != null) {
> bb.setBucketEncryptionKey(bekName);
> System.out.printf("Bucket Encryption enabled with Key Name: %s%n",
> bekName);
>   }
> }
> {code}
> This jira aims to remove the redundant line 
> {{bb.setBucketEncryptionKey(bekName);}} as the same operation is performed in 
> the preceding code block. This code block is to print additional details if 
> verbose option was specified.



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

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org