[
https://issues.apache.org/jira/browse/HDFS-8685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14605802#comment-14605802
]
Allen Wittenauer commented on HDFS-8685:
----------------------------------------
-1
* hdfs dfs is meant to be specifically for HDFS.
* Adding tools to hadoop fs (which is what one should be using when talking to
s3) is going to significantly slow it down for every single command.
* I don't think adding every single 3rd party file system to the default
command path is a good precedent.
* Users who want permanent support of a 3rd party file system should be using
shellprofile.d to enable such behavior.
> S3:Hadoop tools jars should be added in "dfs" class path.
> ---------------------------------------------------------
>
> Key: HDFS-8685
> URL: https://issues.apache.org/jira/browse/HDFS-8685
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs-client
> Affects Versions: 2.7.0
> Reporter: Surendra Singh Lilhore
> Assignee: Surendra Singh Lilhore
> Attachments: HDFS-8685.patch
>
>
> {code}
> ./hdfs dfs -ls s3a://xyz:xyz/
> -ls: Fatal internal error
> java.lang.RuntimeException: java.lang.ClassNotFoundException: Class
> org.apache.hadoop.fs.s3a.S3AFileSystem not found
> at
> org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2224)
> at
> org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2638)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)