hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-13387) users always get told off for using S3 —even when not using it.
Date Tue, 19 Jul 2016 16:46:21 GMT

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

Steve Loughran updated HADOOP-13387:
------------------------------------
    Attachment: HADOOP-13887-branch-2-001.patch

code, no tests.

Evidence it works from the output of one of the tests
{code}
2016-07-19 17:39:07,033 [Thread-0] WARN  fs.FileSystem (S3FileSystem.java:warnDeprecation(84))
- S3FileSystem is deprecated and will be removed in future releases. Use NativeS3FileSystem
or S3AFileSystem instead.
2016-07-19 17:39:07,105 [Thread-0] INFO  contract.AbstractFSContractTestBase (AbstractFSContractTestBase.java:setup(172))
- Test filesystem = s3://hwdev-steve-new implemented by org.apache.hadoop.fs.s3.S3FileSystem@79791d72
2016-07-19 17:39:12,207 [Thread-0] INFO  contract.AbstractFSContractTestBase (AbstractFSContractTestBase.java:describe(240))
- readFully zero bytes from an offset past EOF
2016-07-19 17:39:12,371 [Thread-0] INFO  contract.AbstractContractSeekTest (AbstractContractSeekTest.java:testReadFullyZeroBytebufferPastEOF(504))
- Filesystem short-circuits 0-byte reads
{code}

The message is printed once only.

> users always get told off for using S3 —even when not using it.
> ---------------------------------------------------------------
>
>                 Key: HADOOP-13387
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13387
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/s3
>    Affects Versions: 2.8.0
>            Reporter: Steve Loughran
>         Attachments: HADOOP-13887-branch-2-001.patch
>
>
> The warning telling people not to use s3 appears during filesystem initialization -even
if you aren't using the FS. This is because it is printed during static initialization, and
when the FS code loads all available filesystems, that static code is inited.
> It needs to be moved into the init() code of an instance



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

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


Mime
View raw message