Bug 1101186 - "hadoop fs -appendToFile" with quota without error message
Summary: "hadoop fs -appendToFile" with quota without error message
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhs-hadoop
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Bradley Childs
QA Contact: BigData QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-26 11:31 UTC by Martin Kudlej
Modified: 2023-10-03 07:58 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-05 01:36:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Martin Kudlej 2014-05-26 11:31:11 UTC
Description of problem:
If I tried to append to file which size is equal to quota on parent directory, it hasn't visible failed or it hasn't raised any exception/error message.

Version-Release number of selected component (if applicable):
glusterfs-3.4.0.44rhs-1.el6rhs.x86_64
glusterfs-fuse-3.4.0.44rhs-1.el6rhs.x86_64
glusterfs-geo-replication-3.4.0.44rhs-1.el6rhs.x86_64
glusterfs-libs-3.4.0.44rhs-1.el6rhs.x86_64
glusterfs-server-3.4.0.44rhs-1.el6rhs.x86_64
hadoop-2.2.0.2.0.6.0-101.el6.x86_64
hadoop-client-2.2.0.2.0.6.0-101.el6.x86_64
hadoop-hdfs-2.2.0.2.0.6.0-101.el6.x86_64
hadoop-libhdfs-2.2.0.2.0.6.0-101.el6.x86_64
hadoop-lzo-0.5.0-1.x86_64
hadoop-lzo-native-0.5.0-1.x86_64
hadoop-mapreduce-2.2.0.2.0.6.0-101.el6.x86_64
hadoop-mapreduce-historyserver-2.2.0.2.0.6.0-101.el6.x86_64
hadoop-yarn-2.2.0.2.0.6.0-101.el6.x86_64
hadoop-yarn-nodemanager-2.2.0.2.0.6.0-101.el6.x86_64
hadoop-yarn-resourcemanager-2.2.0.2.0.6.0-101.el6.x86_64
python-rhsm-1.8.17-1.el6_4.x86_64
redhat-storage-logos-60.0.17-1.el6rhs.noarch
rhs-hadoop-2.3.0-6.noarch
rhs-hadoop-install-1_10-1.el6rhs.noarch

How reproducible:
100%

Steps to Reproduce:
0. enable quota on gluster volume
1. set up quota on directory
2. hadoop fs -touchz _file_in_that_directory_
3. create file which has size equal to quota: _local_file_
4. hadoop fs -appendToFile _file_in_that_directory_ _local_file_
5. create file with size == 1B
6. hadoop fs -appendToFile _file_in_that_directory_ _1B_file_
There is not error message about unsuccessful append operation. Return code of this command equals 0.
If I try:
$ cat _1B_file_ >> /mnt/glusterfs/_directory_with_quota_/_file_in_that_directory_
It fails which is correct behavior.


Actual results:
It doesn't return error return code and error message.

Expected results:
It will return error return code + it writes proper error message to stderr.

Comment 2 RHEL Program Management 2015-03-06 11:55:53 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Comment 6 Lourdes Yang 2023-10-03 07:58:23 UTC Comment hidden (spam)

Note You need to log in before you can comment on or make changes to this bug.