[ 
https://issues.apache.org/jira/browse/HDFS-9152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weiwei Yang updated HDFS-9152:
------------------------------
    Description: 
We have around *800 3-5K* files on local file system, we have nfs gateway 
mounted on */hdfs/*, when we tried to copy these files to HDFS by 

*cp ~/userdata/* /hdfs/user/cqdemo/demo3.data/*

most of files are failed because of 

cp: writing `/hdfs/user/cqdemo/demo3.data/TRAFF_201408011220.csv': Input/output 
error
cp: writing `/hdfs/user/cqdemo/demo3.data/TRAFF_201408011221.csv': Input/output 
error
cp: writing `/hdfs/user/cqdemo/demo3.data/TRAFF_201408011222.csv': Input/output 
error

for same set of files, I tried to use hadoop dfs -put command to do the copy, 
it works fine.

  was:
We have around 800 3-5K files on local file system, we have nfs gateway mounted 
on */hdfs/*, when we tried to copy these files to HDFS by 

*cp ~/userdata/* /hdfs/user/cqdemo/demo3.data/*

most of files are failed because of 

cp: writing `/hdfs/user/cqdemo/demo3.data/TRAFF_201408011220.csv': Input/output 
error
cp: writing `/hdfs/user/cqdemo/demo3.data/TRAFF_201408011221.csv': Input/output 
error
cp: writing `/hdfs/user/cqdemo/demo3.data/TRAFF_201408011222.csv': Input/output 
error

for same set of files, I tried to use hadoop dfs -put command to do the copy, 
it works fine.


> Get input/output error while copying 800 small files to NFS Gateway mount 
> point 
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-9152
>                 URL: https://issues.apache.org/jira/browse/HDFS-9152
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: nfs
>    Affects Versions: 2.7.1
>            Reporter: Weiwei Yang
>         Attachments: DNErrors.log, NNErrors.log
>
>
> We have around *800 3-5K* files on local file system, we have nfs gateway 
> mounted on */hdfs/*, when we tried to copy these files to HDFS by 
> *cp ~/userdata/* /hdfs/user/cqdemo/demo3.data/*
> most of files are failed because of 
> cp: writing `/hdfs/user/cqdemo/demo3.data/TRAFF_201408011220.csv': 
> Input/output error
> cp: writing `/hdfs/user/cqdemo/demo3.data/TRAFF_201408011221.csv': 
> Input/output error
> cp: writing `/hdfs/user/cqdemo/demo3.data/TRAFF_201408011222.csv': 
> Input/output error
> for same set of files, I tried to use hadoop dfs -put command to do the copy, 
> it works fine.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to