You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2023/05/18 20:17:00 UTC

[jira] [Commented] (HADOOP-18744) ITestS3ABlockOutputArray failure with IO File name too long

    [ https://issues.apache.org/jira/browse/HADOOP-18744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17724016#comment-17724016 ] 

Steve Loughran commented on HADOOP-18744:
-----------------------------------------

raised on the original JIRA. If we can get a fix in fast then I can avoid reverting the original patch

> ITestS3ABlockOutputArray failure with IO File name too long
> -----------------------------------------------------------
>
>                 Key: HADOOP-18744
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18744
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>            Reporter: Ahmar Suhail
>            Priority: Major
>
> On an EC2 instance, the following tests are failing:
>  
> {{{}ITestS3ABlockOutputArray.testDiskBlockCreate{}}}{{{}ITestS3ABlockOutputByteBuffer>ITestS3ABlockOutputArray.testDiskBlockCreate{}}}{{{}ITestS3ABlockOutputDisk>ITestS3ABlockOutputArray.testDiskBlockCreate{}}}
>  
> with the error IO File name too long. 
>  
> The tests create a file with a 1024 char file name and rely on File.createTempFile() to truncate the file name to < OS limit. 
>  
> Stack trace:
> {{Java.io.IOException: File name too long}}
> {{    at java.io.UnixFileSystem.createFileExclusively(Native Method)}}
> {{    at java.io.File.createTempFile(File.java:2063)}}
> {{    at org.apache.hadoop.fs.s3a.S3AFileSystem.createTmpFileForWrite(S3AFileSystem.java:1377)}}
> {{    at org.apache.hadoop.fs.s3a.S3ADataBlocks$DiskBlockFactory.create(S3ADataBlocks.java:829)}}
> {{    at org.apache.hadoop.fs.s3a.ITestS3ABlockOutputArray.testDiskBlockCreate(ITestS3ABlockOutputArray.java:114)}}
> {{    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)}}
> {{    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)}}
> {{    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org