hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Fabbri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13877) S3Guard: fix TestDynamoDBMetadataStore when fs.s3a.s3guard.ddb.table is set
Date Fri, 06 Jan 2017 03:34:58 GMT

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

Aaron Fabbri commented on HADOOP-13877:
---------------------------------------

Here are the two failures I see when I set {{fs.s3a.s3guard.ddb.table}} and run {{TestDynamoDBMetadataStore}}:

{quote}
Running org.apache.hadoop.fs.s3a.s3guard.TestDynamoDBMetadataStore
Tests run: 22, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 11.799 sec <<< FAILURE!
- in org.apache.hadoop.fs.s3a.s3guard.TestDynamoDBMetadataStore
testCreateExistingTable(org.apache.hadoop.fs.s3a.s3guard.TestDynamoDBMetadataStore)  Time
elapsed: 0.158 sec  <<< ERROR!
com.amazonaws.services.dynamodbv2.model.ResourceNotFoundException: Cannot do operations on
a non-existent table (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: ResourceNotFoundException;
Request ID: d28c8411-8831-4eac-a332-fc0e0653753a)
        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.describeTable(AmazonDynamoDBClient.java:1096)
        at com.amazonaws.services.dynamodbv2.document.Table.describe(Table.java:130)
        at org.apache.hadoop.fs.s3a.s3guard.TestDynamoDBMetadataStore.verifyTableInitialized(TestDynamoDBMetadataStore.java:377)
        at org.apache.hadoop.fs.s3a.s3guard.TestDynamoDBMetadataStore.testCreateExistingTable(TestDynamoDBMetadataStore.java:298)

testProvisionTable(org.apache.hadoop.fs.s3a.s3guard.TestDynamoDBMetadataStore)  Time elapsed:
0.095 sec  <<< ERROR!
com.amazonaws.services.dynamodbv2.model.ResourceNotFoundException: Cannot do operations on
a non-existent table (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: ResourceNotFoundException;
Request ID: 1ec70c29-1993-428c-9e22-0bccb3f603e4)
        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.describeTable(AmazonDynamoDBClient.java:1096)
        at com.amazonaws.services.dynamodbv2.document.Table.describe(Table.java:130)
        at org.apache.hadoop.fs.s3a.s3guard.TestDynamoDBMetadataStore.testProvisionTable(TestDynamoDBMetadataStore.java:330)


Results :

Tests in error:
  TestDynamoDBMetadataStore.testCreateExistingTable:298->verifyTableInitialized:377 »
ResourceNotFound
  TestDynamoDBMetadataStore.testProvisionTable:330 » ResourceNotFound Cannot do ...
{quote}

> S3Guard: fix TestDynamoDBMetadataStore when fs.s3a.s3guard.ddb.table is set
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-13877
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13877
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: HADOOP-13345
>            Reporter: Aaron Fabbri
>            Assignee: Aaron Fabbri
>
> I see a couple of failures in the DynamoDB MetadataStore unit test when I set {{fs.s3a.s3guard.ddb.table}}
in my test/resources/core-site.xml.
> I have a fix already, so I'll take this JIRA.



--
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