我在 Amazon Elastic MapReduce EC2 实例上运行以下 Hive 查询:
CREATE EXTERNAL TABLE myExport (access_key string, active bigint,
api_id string, secret_key string)
STORED BY 'org.apache.hadoop.hive.dynamodb.DynamoDBStorageHandler'
TBLPROPERTIES ("dynamodb.table.name" = "Authentication",
"dynamodb.column.mapping" = "access_key:access_key, active:active, api_id:api_id, secret_key:secret_key");
我正在尝试获取Authentication
DynamoDB 表的内容,但我看到了以下错误:
FAILED: Error in metadata: MetaException(message:Could not find column mapping for column: active)
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask