Hi, Did you configured fs.s3n.awsAccessKeyId or fs.s3n.awsSecretAccessKey properties in your core-site.xml file?
Regards Jitendra On Thu, Sep 5, 2013 at 3:52 PM, <shouvanik.hal...@accenture.com> wrote: > Hi,**** > > ** ** > > I am executing the example, but got initial roadblock while trying out > “Setting up tables (DDL Statements)” section.**** > > ** ** > > When I executed the command “hive> create external table kv (key int, > values string) location 's3n://data.s3ndemo.hive/kv';”**** > > ** ** > > I got the error**** > > ** ** > > FAILED: Error in metadata: > MetaException(message:java.lang.IllegalArgumentException: AWS Access Key ID > and Secret Access Key must be specified as the username or password > (respectively) of a s3n URL, or by setting the fs.s3n.awsAccessKeyId or > fs.s3n.awsSecretAccessKey properties (respectively).)**** > > FAILED: Execution Error, return code 1 from > org.apache.hadoop.hive.ql.exec.DDLTask**** > > hive>**** > > ** ** > > Please help.**** > > ** ** > > ** ** > > Thanks,**** > > Shouvanik**** > > ------------------------------ > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise confidential information. If you have > received it in error, please notify the sender immediately and delete the > original. Any other use of the e-mail by you is prohibited. > > Where allowed by local law, electronic communications with Accenture and > its affiliates, including e-mail and instant messaging (including content), > may be scanned by our systems for the purposes of information security and > assessment of internal compliance with Accenture policy. > > > ______________________________________________________________________________________ > > www.accenture.com >