hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yu Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18017) Reduce frequency of setStoragePolicy failure warnings
Date Tue, 09 May 2017 05:52:04 GMT

    [ https://issues.apache.org/jira/browse/HBASE-18017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16002089#comment-16002089
] 

Yu Li commented on HBASE-18017:
-------------------------------

overall LGTM, +1.

One minor question, that I noticed log level of {{Set storagePolicy=xxx for path=xxx}} has
been reduced from INFO to TRACE, but why not DEBUG? Is it too frequent in your observation?
This message might be useful to confirm storage policy when debugging (although we could also
get policy type through hdfs command, but for some already deleted hfile/wal we might have
no chance). Thanks.

> Reduce frequency of setStoragePolicy failure warnings
> -----------------------------------------------------
>
>                 Key: HBASE-18017
>                 URL: https://issues.apache.org/jira/browse/HBASE-18017
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>         Attachments: HBASE-18017.patch
>
>
> When running with storage policy specification support if the underlying HDFS doesn't
support it or if it has been disabled in site configuration the resulting logging is excessive.
Log at WARN level once per FileSystem instance. Otherwise, log messages at DEBUG level. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message