hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liuhongtong (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-13530) NameNode: Fix NullPointerException when getQuotaUsageInt() invoked
Date Mon, 07 May 2018 03:01:00 GMT
liuhongtong created HDFS-13530:
----------------------------------

             Summary: NameNode: Fix NullPointerException when getQuotaUsageInt() invoked
                 Key: HDFS-13530
                 URL: https://issues.apache.org/jira/browse/HDFS-13530
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: federation, namenode
            Reporter: liuhongtong


If the directory is nonexistent, getQuotaUsage rpc call will run into 

NullPointerException throwed by

FSDirStatAndListingOp.getQuotaUsageInt() .

I think FSDirStatAndListingOp.getQuotaUsageInt() should throw FileNotFoundException when
the directory is nonexistent.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message