Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6356

printStackTrace in FSUtils

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.95.2
    • None
    • Client, master, regionserver
    • None

    Description

      This is bad...

          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;
          }
        }
      

      Attachments

        1. HBASE-6356.patch
          0.7 kB
          Gustavo Anatoly

        Issue Links

          Activity

            People

              gustavoanatoly Gustavo Anatoly
              nkeywal Nicolas Liochon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: