[ https://issues.apache.org/jira/browse/HADOOP-5580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689525#action_12689525 ]
Brian Bockelman commented on HADOOP-5580: ----------------------------------------- Here's the message I see on stdout: 09/03/26 10:44:13 WARN hdfs.DFSClient: DataStreamer Exception: org.apache.hadoop.hdfs.protocol.QuotaExceededException: org.apache.hadoop.hdfs.protocol.QuotaExceededException: The quota of /user/uscms01/brian/quota_gftp_test is exceeded: namespace quota=-1 file count=2, diskspace quota=164217728 diskspace=268435456 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:96) at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:58) at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.locateFollowingBlock(DFSClient.java:2817) at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.nextBlockOutputStream(DFSClient.java:2697) at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.access$2000(DFSClient.java:1997) at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2183) Caused by: org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.hdfs.protocol.QuotaExceededException: The quota of /user/uscms01/brian/quota_gftp_test is exceeded: namespace quota=-1 file count=2, diskspace quota=164217728 diskspace=268435456 at org.apache.hadoop.hdfs.server.namenode.INodeDirectoryWithQuota.verifyQuota(INodeDirectoryWithQuota.java:159) at org.apache.hadoop.hdfs.server.namenode.INodeDirectoryWithQuota.updateNumItemsInTree(INodeDirectoryWithQuota.java:132) at org.apache.hadoop.hdfs.server.namenode.FSDirectory.updateCount(FSDirectory.java:859) at org.apache.hadoop.hdfs.server.namenode.FSDirectory.addBlock(FSDirectory.java:265) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.allocateBlock(FSNamesystem.java:1444) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:1291) at org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:351) at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:452) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:892) at org.apache.hadoop.ipc.Client.call(Client.java:696) at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:216) at $Proxy0.addBlock(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:82) at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:59) at $Proxy0.addBlock(Unknown Source) at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.locateFollowingBlock(DFSClient.java:2815) ... 3 more 09/03/26 10:44:13 WARN hdfs.DFSClient: Error Recovery for block blk_-6233643742066491795_659954 bad datanode[0] nodes == null 09/03/26 10:44:13 WARN hdfs.DFSClient: Could not get block locations. Aborting... > QuotaExceededException does not get raised via libhdfs > ------------------------------------------------------ > > Key: HADOOP-5580 > URL: https://issues.apache.org/jira/browse/HADOOP-5580 > Project: Hadoop Core > Issue Type: Bug > Reporter: Brian Bockelman > > When using libhdfs, if a quota exception occurs, we don't get a > QuotaExceptionExceededException - the DFSClient appears to receive it, but > not give it to libhdfs. > I want to get this correctly raised so I can in turn give a better error > message to our users. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.