hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-19331) Repl load config in "with" clause not pass to Context.getStagingDir
Date Fri, 27 Apr 2018 00:10:00 GMT

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

Thejas M Nair commented on HIVE-19331:
--------------------------------------

+1 pending tests


> Repl load config in "with" clause not pass to Context.getStagingDir
> -------------------------------------------------------------------
>
>                 Key: HIVE-19331
>                 URL: https://issues.apache.org/jira/browse/HIVE-19331
>             Project: Hive
>          Issue Type: Bug
>          Components: repl
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>            Priority: Major
>         Attachments: HIVE-19331.1.patch
>
>
> Another failure similar to HIVE-18626, causing exception when s3 credentials are in "REPL
LOAD" with clause.
> {code}
> Caused by: java.lang.IllegalStateException: Error getting FileSystem for s3a://nat-yc-r7-nmys-beacon-cloud-s3-2/hive_incremental_testing.db/hive_incremental_testing_new_tabl...:
org.apache.hadoop.fs.s3a.AWSClientIOException: doesBucketExist on nat-yc-r7-nmys-beacon-cloud-s3-2:
com.amazonaws.AmazonClientException: No AWS Credentials provided by BasicAWSCredentialsProvider
EnvironmentVariableCredentialsProvider SharedInstanceProfileCredentialsProvider : com.amazonaws.AmazonClientException:
Unable to load credentials from Amazon EC2 metadata service: No AWS Credentials provided by
BasicAWSCredentialsProvider EnvironmentVariableCredentialsProvider SharedInstanceProfileCredentialsProvider
: com.amazonaws.AmazonClientException: Unable to load credentials from Amazon EC2 metadata
service
>         at org.apache.hadoop.hive.ql.Context.getStagingDir(Context.java:359)
>         at org.apache.hadoop.hive.ql.Context.getExternalScratchDir(Context.java:487)
>         at org.apache.hadoop.hive.ql.Context.getExternalTmpPath(Context.java:565)
>         at org.apache.hadoop.hive.ql.parse.ImportSemanticAnalyzer.loadTable(ImportSemanticAnalyzer.java:370)
>         at org.apache.hadoop.hive.ql.parse.ImportSemanticAnalyzer.createReplImportTasks(ImportSemanticAnalyzer.java:926)
>         at org.apache.hadoop.hive.ql.parse.ImportSemanticAnalyzer.prepareImport(ImportSemanticAnalyzer.java:329)
>         at org.apache.hadoop.hive.ql.parse.repl.load.message.TableHandler.handle(TableHandler.java:43)
>         ... 24 more
> {code}



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

Mime
View raw message