Hi Gayan, In BAM, hive scripts are tenant specific so scripts created by one tenant will not be shared for others. Refer [1] for more info,
[1]http://docs.wso2.org/wiki/display/BAM230/Multi+Tenancy+Configuration Thanks, Malith On Mon, Jul 15, 2013 at 12:02 PM, Gayan Dhanushka <[email protected]> wrote: > > Hi all, > > Is there a way we can do $subject? > > In the example given in the documentation I can see that cassandra > keyspace credentials have been hard coded. For each tenant the credentials > would be different. So how can we provide it during runtime? > > *CREATE EXTERNAL TABLE IF NOT EXISTS PhoneSalesTable > (orderID STRING, brandName STRING, userName STRING, quantity INT, > version STRING) STORED BY > 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler' > WITH SERDEPROPERTIES ( > "cassandra.host" = "127.0.0.1" ,"cassandra.port" = "9160" , > "cassandra.ks.name" = "EVENT_KS" ,"cassandra.ks.username" = > "[email protected]" , > "cassandra.ks.password" = "sinthuadmin" , > "cassandra.cf.name" = "org_wso2_bam_phone_retail_store_kpi" , > "cassandra.columns.mapping" = > ":key,payload_brand, payload_user, payload_quantity, Version" );* > > > Thanks > > Gayan > > -- > > Gayan Dhanushka > Software Engineer > WSO2 Inc. > http://wso2.com > > Mobile : 0716662327 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Malith Dhanushka Engineer - Data Technologies *WSO2, Inc. : wso2.com* *Mobile* : +94 716 506 693
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
