hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13934) S3Guard: DynamoDBMetaStore::move could be throwing exception due to BatchWriteItem limits
Date Tue, 03 Jan 2017 17:02:58 GMT

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

Steve Loughran commented on HADOOP-13934:
-----------------------------------------

LGTM

# that debug statement on line 349 needs looking at
# I'd like that limit variable to be made a constant, even if just in the class

> S3Guard: DynamoDBMetaStore::move could be throwing exception due to BatchWriteItem limits
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-13934
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13934
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: HADOOP-13345
>            Reporter: Rajesh Balamohan
>            Assignee: Mingliang Liu
>            Priority: Minor
>         Attachments: HADOOP-13934-HADOOP-13345.000.patch, HADOOP-13934-HADOOP-13345.001.patch,
HADOOP-13934-HADOOP-13345.002.patch
>
>
> When using {{DynamoDBMetadataStore}} with a insert heavy hive app , it started throwing
exceptions in {{DynamoDBMetadataStore::move}}. But just with the following exception, it is
relatively hard to debug on the real issue in DynamoDB side. 
> {noformat}
> Caused by: com.amazonaws.services.dynamodbv2.model.AmazonDynamoDBException: 1 validation
error detected: Value '{ddb-table-name-334=[com.amazonaws.dynamodb.v20120810.WriteRequest@ca1da583,
com.amazonaws.dynamodb.v20120810.WriteRequest@ca1fc7cd, com.amazonaws.dynamodb.v20120810.WriteRequest@ca4244e6,
com.amazonaws.dynamodb.v20120810.WriteRequest@ca2f58a9, com.amazonaws.dynamodb.v20120810.WriteRequest@ca3525f8,
> ...
> ...
>         at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1529)
>         at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1167)
>         at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:948)
>         at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:661)
>         at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:635)
>         at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:618)
>         at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$300(AmazonHttpClient.java:586)
>         at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:573)
>         at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:445)
>         at com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient.doInvoke(AmazonDynamoDBClient.java:1722)
>         at com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient.invoke(AmazonDynamoDBClient.java:1698)
>         at com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient.batchWriteItem(AmazonDynamoDBClient.java:668)
>         at com.amazonaws.services.dynamodbv2.document.internal.BatchWriteItemImpl.doBatchWriteItem(BatchWriteItemImpl.java:111)
>         at com.amazonaws.services.dynamodbv2.document.internal.BatchWriteItemImpl.batchWriteItem(BatchWriteItemImpl.java:52)
>         at com.amazonaws.services.dynamodbv2.document.DynamoDB.batchWriteItem(DynamoDB.java:178)
>         at org.apache.hadoop.fs.s3a.s3guard.DynamoDBMetadataStore.move(DynamoDBMetadataStore.java:351)
>         ... 28 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message