hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (HDFS-8231) StackTrace displayed at client while QuotaByStorageType exceeds
Date Fri, 24 Apr 2015 06:05:38 GMT

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

Vinayakumar B updated HDFS-8231:
--------------------------------
    Comment: was deleted

(was: Doiii in ur comment
{{QuotaByStorageTypeExceededException#toString()}}
Iam not able to find this.. 
You mean below code in should remove and return by default the  "Quota by storage type : "
message?



@Override
  public String getMessage() {
    String msg = super.getMessage();
    if (msg == null) {
      return "Quota by storage type : " + type.toString() +
          " on path : " + (pathName==null ? "": pathName) +
          " is exceeded. quota = "  + long2String(quota, "B", 2) +
          " but space consumed = " + long2String(count, "B", 2);
    } else {
      return msg;
    }
  }




Carrier Software & Core Networks
Huawei Technologies India Pvt. Ltd.
Level 3,4 &5 Leela Galleria, The Leela Palce 
23, Airport Road, Bangalore - 560008
Mobile: +91 9945028374
Extn:7537

www.huawei.com
-------------------------------------------------------------------------------------------------------------------------------------
This e-mail and its attachments contain confidential information from HUAWEI, which 
is intended only for the person or entity whose address is listed above. Any use of the 
information contained herein in any way (including, but not limited to, total or partial 
disclosure, reproduction, or dissemination) by persons other than the intended 
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
by 
phone or email immediately and delete it!


)

> StackTrace displayed at client while QuotaByStorageType exceeds
> ---------------------------------------------------------------
>
>                 Key: HDFS-8231
>                 URL: https://issues.apache.org/jira/browse/HDFS-8231
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs-client
>            Reporter: J.Andreina
>            Assignee: J.Andreina
>            Priority: Minor
>         Attachments: HDFS-8231.00.patch, HDFS-8231.1.patch
>
>
> StackTrace displayed at client while QuotaByStorageType exceeds.
> With reference to HDFS-2360, feel better to fix this issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message