Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6EB13200CD1 for ; Wed, 26 Jul 2017 16:11:35 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6D4A1168E3E; Wed, 26 Jul 2017 14:11:35 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B3A54168E3C for ; Wed, 26 Jul 2017 16:11:34 +0200 (CEST) Received: (qmail 57752 invoked by uid 500); 26 Jul 2017 14:11:32 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Delivered-To: moderator for dev@hive.apache.org Received: (qmail 45325 invoked by uid 99); 26 Jul 2017 06:38:48 -0000 X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=6TD8rQ2WsK72HMqx0kkZOnL4vG2PPyrn/8SsCLJ0B+s=; b=NSCB5AnwUM6j20xRVW8rt1SiaRV8sjGIIyNyA0JW6JgfVBOtaf3XAI1qWG3dG/szoG YQjBUOqPJrtcVoqPMo5C5/N0ZL0Zik77CZ2QEVU2mAHhstz5KV3JdsKUYeVrTZB5FOBZ Rtb4d77Yrr9zrrZG6NYg+sO/fBIu1KFLTP/VeEx8eutxzzMcf2jJGRfgh/LbZm64oEuB qzQHVrfP1gINacIAgZMz5mg1prm8tNl6DW5R2uppjyvd4LYmSpDNKqeSxcbMMtYYCkSp 8nJhfJz/beynMELto8lW02lJo8Ks/NsXLHiL65WdYpX/XyPej4WEnQN1LignZ29bOFor pDOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6TD8rQ2WsK72HMqx0kkZOnL4vG2PPyrn/8SsCLJ0B+s=; b=I9bU6NKVBcRIxF7blNkav8Y368mXP1MAiuBn+rheZKBJtIW9h3f55sloIvQjjjAT2P A/AHJ4f2LayJpsBKT8jCpdoEtO1A/DvGxGfWJU7AMbX7CrZPzvMinNUNwhlQi5fUAyjG cKYU8MmiXghX2viVY5/NvYICutGAHJ3qjDSSQAF+Rck2wVKT5l6cXqWyIh6rbXo+CEsS je7Lgt5k7Q9lSrSJjrSAN+TnQ23r/zFHVRDHr4lD4Bbfn1s7/h/fEOBlbZ0VHryVad6I WTA12MidGDBydbAs0flUExTVobimckBL1ohiFzcyNnbrSko7lJw1E652YzDNJ0hNVJh8 +9PA== X-Gm-Message-State: AIVw112v2CjwukbpvjrFcKAbJLKLR0Ymjy7q/xjNcZNzmuP9VIk2WR1g KNsFOHLimlLxv8T87fHkGtfyXQfJCB8l X-Received: by 10.31.5.10 with SMTP id 10mr10601599vkf.200.1501051125617; Tue, 25 Jul 2017 23:38:45 -0700 (PDT) MIME-Version: 1.0 From: leela prasad Gorrepati Date: Wed, 26 Jul 2017 12:08:45 +0530 Message-ID: Subject: Issue while creating Hive External table on S3 location To: dev@hive.apache.org Content-Type: multipart/alternative; boundary="001a1143dd0c21dbb1055532b31c" archived-at: Wed, 26 Jul 2017 14:11:35 -0000 --001a1143dd0c21dbb1055532b31c Content-Type: text/plain; charset="UTF-8" Hi All, I am unable to create Hive external table on s3 location. I have followed the steps mentioned in " https://cwiki.apache.org/confluence/display/Hive/HiveAws+HivingS3nRemotely" My Hive commands and received error is, hive> set hadoop.socks.server=localhost:2600; hive> set hadoop.rpc.socket.factory.class.default=org.apache.hadoop.net.SocksSocketFactory; hive> set hadoop.job.ugi=root,root; hive> set mapred.map.tasks=40; hive> set mapred.reduce.tasks=-1; hive> set fs.s3.awsSecretAccessKey=zvpZS8KxMBLK0w73w8yhzWaW0Ove10Pk+fHeit/I; hive> set fs.s3.awsAccessKeyId=AKIAINIHCWDZMRWJEI3A; hive> create external table empl (id int, name string, location string) location 's3://leela-2507-test/employee'; FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:java.lang.IllegalArgumentException: AWS Access Key ID and Secret Access Key must be specified by setting the fs.s3.awsAccessKeyId and fs.s3.awsSecretAccessKey properties (respectively).) Any one can try with the above valid access key, I have created for trail purpose and test data is in s3://leela-2507-test/employee Configuring in hive-site.xml also results in same error. Any suggestions are appreciated. Thanks in Advance. Regards, Leela Prasad --001a1143dd0c21dbb1055532b31c--