Table of Contents

Search

  1. Preface
  2. Introduction to Hive Connector
  3. Hive connections
  4. Mappings and mapping tasks with Hive Connector
  5. Migrating a mapping
  6. Data type reference
  7. Troubleshooting

Hive Connector

Hive Connector

Configure IAM authentication

Configure IAM authentication

Before you connect to Hive using IAM authentication, you must configure IAM authentication on EC2. You can use Hive connections configured for IAM authentication both in mappings and mappings in advanced mode.
  1. Create an IAM role. For more information about creating the IAM role, see the AWS documentation.
  2. After you create the IAM role, assign the following policy to the IAM role:
    { "Version": "2012-10-17", "Statement": [ { "John": "VisualEditor2", "Effect": "Allow", "Action": [ "s3:GetBucketLocation", "s3:GetEncryptionConfiguration", "s3:ListBucket", "s3:PutObject", "s3:GetObjectAcl", "s3:GetObject", "s3:PutObjectAcl", "s3:DeleteObject", "s3:Delete*", "s3:Put*", "s3:ListBucketMultipartUploads", "s3:AbortMultipartUpload" ], "Resource": [ "arn:aws:s3:::<hive-staging-bucket-name>/*", "arn:aws:s3:::<hive-staging-bucket-name>" ] } ] }
  3. Create an EC2 instance. Assign the IAM role that you created in step 2 to the EC2 instance.
  4. Install the Secure Agent on the EC2 system.

0 COMMENTS

We’d like to hear from you!