You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Babulal (JIRA)" <ji...@apache.org> on 2018/08/08 17:10:00 UTC

[jira] [Created] (CARBONDATA-2843) S3 Load is not working when load initiated on starup of JDBCServer.

Babulal created CARBONDATA-2843:
-----------------------------------

             Summary: S3 Load is not working when load initiated  on starup of JDBCServer.
                 Key: CARBONDATA-2843
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2843
             Project: CarbonData
          Issue Type: Bug
            Reporter: Babulal


Configure AK/SK and endpoint in spark-default.conf

create table in S3 and then restart thrift server 

once JDBCserver is up start data loading 

 

0: jdbc:hive2://ha-cluster/default> load data inpath 's3a://carbon/req/data/1' into table c2 options('fileheader'='rownumber,name,m1');
Error: java.io.InterruptedIOException: doesBucketExist on carbon: com.amazonaws.AmazonClientException: No AWS Credentials provided by BasicAWSCredentialsProvider EnvironmentVariableCredentialsProvider SharedInstanceProfileCredentialsProvider : com.amazonaws.AmazonClientException: Unable to load credentials from Amazon EC2 metadata service (state=,code=0)
0: jdbc:hive2://ha-cluster/default>
0: jdbc:hive2://ha-cluster/default> !q



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)