Vinay created HUDI-2083:
---------------------------

             Summary: Hudi CLI does not with S3
                 Key: HUDI-2083
                 URL: https://issues.apache.org/jira/browse/HUDI-2083
             Project: Apache Hudi
          Issue Type: Task
          Components: CLI
            Reporter: Vinay
            Assignee: Vinay


Hudi CLI gives exception when trying to connect to s3 path
{code:java}
create --path s3://some-bucket/tmp/hudi/test_mor --tableName test_mor_s3 
--tableType MERGE_ON_READ

Failed to get instance of org.apache.hadoop.fs.FileSystem
org.apache.hudi.exception.HoodieIOException: Failed to get instance of 
org.apache.hadoop.fs.FileSystem
    at org.apache.hudi.common.fs.FSUtils.getFs(FSUtils.java:98)

=========

create --path s3a://some-bucket/tmp/hudi/test_mor --tableName test_mor_s3 
--tableType MERGE_ON_READ

Command failed java.lang.RuntimeException: java.lang.ClassNotFoundException: 
Class org.apache.hadoop.fs.s3a.S3AFileSystem not found
java.lang.ClassNotFoundException: Class org.apache.hadoop.fs.s3a.S3AFileSystem 
not found
java.lang.RuntimeException: java.lang.ClassNotFoundException: Class 
org.apache.hadoop.fs.s3a.S3AFileSystem not found
    at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2195)
    at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2654)

{code}
This could be because target/lib folder does not contain hadoop-aws or was-s3 
dependency.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to