Bug 765092 (GLUSTER-3360)

Summary: can not 'mv' a file to a directory using hadoop shell
Product: [Community] GlusterFS Reporter: M S Vishwanath Bhat <vbhat>
Component: HDFSAssignee: Venky Shankar <vshankar>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: pre-releaseCC: gluster-bugs, mzywusko
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description M S Vishwanath Bhat 2011-08-08 12:11:57 UTC
With the glusterfs I can't 'mv' won't except a directory as destination. It always expects the destination to be a file. This command succeeds in hadoop shell with HDFS.

Comment 1 Venky Shankar 2011-08-10 05:52:45 UTC
fixed in my glusterfs github fork. git pull it to test

Comment 2 M S Vishwanath Bhat 2011-08-23 07:04:02 UTC
This is fixed now. Now I can mv the file/directory into another directory.

root@ubuntu1:/home/hadoop/hadoop-0.20.2# ./bin/hadoop fs -lsr
Initializing GlusterFS
drwxrwxrwx   -          0 2011-08-23 02:59 /mnt/glusterfs/input
-rwxrwxrwx   0     544778 2011-08-23 02:59 /mnt/glusterfs/input/mytextfile
drwxrwxrwx   -          0 2011-08-23 02:52 /mnt/glusterfs/tmp
drwxrwxrwx   -          0 2011-08-23 02:52 /mnt/glusterfs/tmp/hadoop-root
drwxrwxrwx   -          0 2011-08-23 02:52 /mnt/glusterfs/tmp/hadoop-root/mapred
drwxrwxrwx   -          0 2011-08-23 02:52 /mnt/glusterfs/tmp/hadoop-root/mapred/system
-rwxrwxrwx   0          4 2011-08-23 02:52 /mnt/glusterfs/tmp/hadoop-root/mapred/system/jobtracker.info
root@ubuntu1:/home/hadoop/hadoop-0.20.2# ./bin/hadoop fs -mkdir in
Initializing GlusterFS
root@ubuntu1:/home/hadoop/hadoop-0.20.2# ./bin/hadoop fs -mv input in
Initializing GlusterFS
root@ubuntu1:/home/hadoop/hadoop-0.20.2# ./bin/hadoop fs -lsr
Initializing GlusterFS
drwxrwxrwx   -          0 2011-08-23 02:52 /mnt/glusterfs/tmp
drwxrwxrwx   -          0 2011-08-23 02:52 /mnt/glusterfs/tmp/hadoop-root
drwxrwxrwx   -          0 2011-08-23 02:52 /mnt/glusterfs/tmp/hadoop-root/mapred
drwxrwxrwx   -          0 2011-08-23 02:52 /mnt/glusterfs/tmp/hadoop-root/mapred/system
-rwxrwxrwx   0          4 2011-08-23 02:52 /mnt/glusterfs/tmp/hadoop-root/mapred/system/jobtracker.info
drwxrwxrwx   -          0 2011-08-23 03:02 /mnt/glusterfs/in
drwxrwxrwx   -          0 2011-08-23 02:59 /mnt/glusterfs/in/input
-rwxrwxrwx   0     544778 2011-08-23 02:59 /mnt/glusterfs/in/input/mytextfile