hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nkeywal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-6356) printStackTrace in FSUtils
Date Mon, 09 Jul 2012 14:38:34 GMT
nkeywal created HBASE-6356:
------------------------------

             Summary: printStackTrace in FSUtils
                 Key: HBASE-6356
                 URL: https://issues.apache.org/jira/browse/HBASE-6356
             Project: HBase
          Issue Type: Bug
          Components: client, master, regionserver
    Affects Versions: 0.96.0
            Reporter: nkeywal
            Priority: Trivial


This is bad...
{format}
    public boolean accept(Path p) {
      boolean isValid = false;
      try {
        if (HConstants.HBASE_NON_USER_TABLE_DIRS.contains(p.toString())) {
          isValid = false;
        } else {
            isValid = this.fs.getFileStatus(p).isDir();
        }
      } catch (IOException e) {
        e.printStackTrace();          <================ 
      }
      return isValid;
    }
  }
{format}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message