hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruey-Lung Hsiao (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-320) bin/hadoop dfs -mv does not mv source's checksum file if source is a file
Date Fri, 01 Sep 2006 22:15:51 GMT
    [ http://issues.apache.org/jira/browse/HADOOP-320?page=comments#action_12432249 ] 
            
Ruey-Lung Hsiao commented on HADOOP-320:
----------------------------------------

Here is an example demonstrating this problem.

rlhsiao@csdev1001:~sites>hadoop dfs -ls a
06/09/01 14:49:37 INFO conf.Configuration: parsing jar:file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/tools/hadoop/kryptonite/hadoop-0.5.0.jar!/hadoop-default.xml
06/09/01 14:49:37 INFO conf.Configuration: parsing file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/tools/hadoop/kryptonite/conf/kryptonite2/hadoop-site.xml
06/09/01 14:49:37 INFO ipc.Client: Client connection to 72.30.117.134:8020: starting
Found 1 items
/user/rlhsiao/a/test.txt        <r 3>   1326

rlhsiao@csdev1001:~sites>hadoop dfs -mv adobe/adobe.txt a
...

rlhsiao@csdev1001:~/sites> hadoop dfs -cat a/adobe.txt |more
06/09/01 14:44:11 INFO conf.Configuration: parsing jar:file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/tools/hadoop/kryptonite/hadoop-0.5.0.jar!/hadoop-default.xml
06/09/01 14:44:11 INFO conf.Configuration: parsing file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/tools/hadoop/kryptonite/conf/kryptonite2/hadoop-site.xml
06/09/01 14:44:11 INFO ipc.Client: Client connection to 72.30.117.134:8020: starting
06/09/01 14:44:11 WARN fs.DataInputStream: Problem opening checksum file: a/adobe.txt.  Ignoring
exception: org.apache.hadoop.ipc.RemoteException: java.io.IOException: Cannot open filename
/user/rlhsiao/a/.adobe.txt.crc
        at org.apache.hadoop.dfs.NameNode.open(NameNode.java:178)
        at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:332)
        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:468)

        at org.apache.hadoop.ipc.Client$Connection.run(Client.java:159)

[content of the file..] ...

> bin/hadoop dfs -mv does not mv  source's checksum file if source is a file
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-320
>                 URL: http://issues.apache.org/jira/browse/HADOOP-320
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.3.2
>            Reporter: Hairong Kuang
>         Assigned To: Hairong Kuang
>             Fix For: 0.6.0
>
>         Attachments: rename.patch
>
>
> None of the rename operation of DistributedSystem or DFSClient checks if the source is
a file or not. Need also to rename the checksum file accordingly if the source is a file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message