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

Surendra Singh Lilhore commented on HDFS-8685:
----------------------------------------------

Hi [~aw]

        One suggestion from my side, if you agree. I think we can add one 
environment variable to give option to user for adding third party jars in 
command class path.

*For example*:  HADOOP_THIRD_PARTY_JARS
{code}
   dfs)
     CLASS=org.apache.hadoop.fs.FsShell
+    hadoop_debug "Adding third party jar in CLASSPATH"
+    hadoop_add_classpath "${HADOOP_THIRD_PARTY_JARS}"
{code}


> 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)

Reply via email to