carbondata
carbondata copied to clipboard
[CARBONDATA-4176] Fail to achive AK/SK when create table on S3/OBS
Why is this PR needed?
Due to the failure to obtain aksk, create table operation failed.
What changes were proposed in this PR?
Change "session.sparkContext.hadoopConfiguration" to "session.sessionState.newHadoopConf()"
Does this PR introduce any user interface change?
- No
Is any new testcase added?
- No
Build Success with Spark 2.4.5, Please check CI http://121.244.95.60:12602/job/ApacheCarbon_PR_Builder_2.4.5/3538/
Build Success with Spark 2.3.4, Please check CI http://121.244.95.60:12602/job/ApacheCarbonPRBuilder2.3/5283/
@marchpure : changes looks ok, but can you describe more about the issue? many users are already creating table in S3/OBS successfully but we didn't faced this problem. How AK SK is working for them ?