[
https://issues.apache.org/jira/browse/HDDS-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16598491#comment-16598491
]
Mukul Kumar Singh commented on HDDS-289:
----------------------------------------
Thanks for working on this [~candychencan]. The patch looks really good to me.
Some minor comments.
1) Can we also add this check for volume ?
2) Also if a small test can be added to test this behavior.
3) InfoBucketHandler.java -> "info Bucket" -> "infoBucket", lets remove the
space between the words.
4) Also if "Too many name delimit in" can be changed to "Path:<path> too long
in <operation name>"
> While creating bucket everything after '/' is ignored without any warning
> -------------------------------------------------------------------------
>
> Key: HDDS-289
> URL: https://issues.apache.org/jira/browse/HDDS-289
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: Ozone Client
> Affects Versions: 0.2.1
> Reporter: Namit Maheshwari
> Assignee: chencan
> Priority: Major
> Labels: newbie
> Fix For: 0.2.1
>
> Attachments: HDDS-289.001.patch
>
>
> Please see below example. Here the user issues command to create bucket like
> below. Where /namit is the volume.
> {code}
> hadoop@288c0999be17:~$ ozone oz -createBucket /namit/hjk/fgh
> 2018-07-24 00:30:52 WARN NativeCodeLoader:60 - Unable to load native-hadoop
> library for your platform... using builtin-java classes where applicable
> 2018-07-24 00:30:52 INFO RpcClient:337 - Creating Bucket: namit/hjk, with
> Versioning false and Storage Type set to DISK
> {code}
> As seen above it just ignored '/fgh'
> There should be a Warning / Error message instead of just ignoring everything
> after a '/'
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]