hive - How to run HiveSQL with DynamoDB local -


as title, have installed dynamodb local , hivesql on ubuntu successfully. when run hive query in command line create table as

create external table hive_productcatalog  (id string,title string)  stored 'org.apache.hadoop.hive.dynamodb.dynamodbstoragehandler'  tblproperties (  "dynamodb.table.name" = "productcatalog",  "dynamodb.column.mapping" = "id:id,title:title");

then got error

failed exception org.apache.hadoop.hive.ql.metadata.hiveexception: error in loading storage handler.org.apache.hadoop.hive.dynamodb.dynamodbstoragehandler failed: execution error, return code 1 org.apache.hadoop.hive.ql.exec.ddltask

i took on google did not find library dynamodbstoragehandler class put lib folder of hive.

the dynamodbstoragehandler made available customers running hive queries on ami provisioned emr jobs. instead, may consider setting dynamodb.endpoint host have dynamodb local running on. way may able use dynamodb local backend hive queries.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -