Mapping Hive to Secure vehicleTable: Oracle Wallet

If an Oracle Wallet is used for password storage, then you can create an external Hive table that maps to the vehicleTable by executing the following Hive command:

CREATE EXTERNAL TABLE IF NOT EXISTS vehicleTableWallet
    (type STRING, make STRING, model STRING, class STRING, color STRING, 
        price DOUBLE, count INT, dealerid DECIMAL, delivered TIMESTAMP)
    STORED BY 'oracle.kv.hadoop.hive.table.TableStorageHandler'
    TBLPROPERTIES ("oracle.kv.kvstore" = "example-store", 
        "oracle.kv.hosts"= "kv-host-1:5000,kv-host-2:5000,kv-host-3:5000", 
        "oracle.kv.tableName" = "vehicleTable", 
        "oracle.kv.hadoop.hosts" = "dn-host-1,dn-host-2,dn-host-3",
        "oracle.kv.security" = "/tmp/hive-nosql.login",
        "oracle.kv.ssl.truststore" = "/tmp/client.trust",
        "oracle.kv.auth.username" = "example-user",
        "oracle.kv.auth.wallet.dir" = "/tmp/example-user-wallet.dir");