Integration of pentaho with cassandra - pentaho

Could you please share the steps to integrate penatho with cassandra.
I have tried using'data-integration' plugin.But when i was trying to preview the data i am getting the below error 'Sorry,during preview there weren't any rows to display for this step'. and 'unable to save the repository element'.
thanks in advance

You can use the Cassandra Input step in Pentaho DI for connecting and reading the data from Cassandra. Similarly you can also use Cassandra Ouptut step. You can read more about these in the pentaho wiki:
http://wiki.pentaho.com/display/EAI/Cassandra+Input
http://wiki.pentaho.com/display/BAD/How+To+Read+Data+From+Cassandra
The possible reason for those two errors are connection issues. I assume the step is not able to properly connect to the cassandra server. check your cassandra db configurations.
Hope it helps :)

Related

Why am I getting this error from azure sql? Error Code [70527]

I am encountering this error in azure SQL [70527] any suggestions on how to fix this? This is the first time I have encountered this error.
I would appreciate any advice at all, I'm at a loss how to fix this issue, I am not well versed with azure SQL at all
I am assuming you are migrating a database from on premise sql serve to Azure. I suggest you use the migration agent which will highlight all these issues with possible resolution in some cases.
The error code 70527 is related to user login which is highlighted in the following post as well
SQL70527 error in database project
You may have to create the user as per suggestion in the post above using the script method rather than the backup restore.
You can download the migration agent from below link
https://www.microsoft.com/en-us/download/details.aspx?id=53595

How to make multitenancy with pentaho

I'm using pentaho EE 6.1, and I'd like to setup an data source specific for an user, I'v seen in this link https://help.pentaho.com/Documentation/6.1/0R0/070/Multi-Tenancy
but I don't undersand how to make it.
Some help please.
Question is not clear.
But i had this same issue sometime back and i am sharing my research and understanding.
In Data integration we have option called parameterised connection and in this way you can achieve multitenancy but due to pentaho architecture of bi server we can't achieve the same in bi server.
you can achieve this in bi server through stored procedure this is one of the way.

Unable to deploy database to Azure

I created ms sql database in SSMS 2012. Connected successfully to Azure and trying to deploy db to the cloud.
Encountering following errors:
Please see screen shot
Numerous Usupported property errors — not supported when used as part of a data package
You're likely using a feature not supported in Azure SQL Database. Please refer to this non supported features list to help you pinpoint the problem:
http://msdn.microsoft.com/en-us/library/azure/ff394115.aspx
This happened with me too. In my case ,i changed the schema of a table after creating once for the first time. After deleting that table database deployed correctly. Usually this error occurs when validating schema fails.
Regards
MAnoj Bojja

Deploy a mondrian schema in pentaho 5.1 without schema workbench

I have a question, in pentaho 5.1, how can I deploy a cube without using the schema workbench? I'm kind of newbie in Pentaho.
Is there a cmd line? Java code? Or something like...
Thanks a lot!
You can do that in the User Console.
There is a menu Manage Data source... There you can upload your xml and refer to a database connection for it.
First, I suppose you have installed BA Server and have made at least fact table.
In case you don't know what the fact table is, or someone else is reading this answer, you can find brief explanation here.
Of course, it's better to have full Star Schema. You cannot create Snow Flake inside Pentaho User Console. You can create it with Pentaho Schema Workbench or by manually edit mondarian.xml.
Make sure that your JDBC driver is inside BA Server driver directory. Look! Open Pentaho User Console. It's by default at localhost:8080/pentaho or yourdomain.name:8080/pentaho and login as administrator
File -> New -> Data Source
Choose Data source
Type Choose fact table and define connections to dimensions (if exists)
Choose to modify cube on the end of data source wizard
.

Add tables to the database on cloudbees or run .sql file for database in cloudbees

I have an AppFuse struts 2 app. I am trying to deploy it on cloudbees. I have created a database and bound it with the DB but I am not sure how to add tables to the database on cloudbees. Is there a way I can run .sql script on database created in cloudbees?
Also when I try to run the app using link it gives error Requested resource not available. I am guessing its because of lack of DB . Can anyone help me on adding tables and data to DB? and also execute the app smoothly on cloudbees?
Thanks a ton for your help.
You can add the tables and populate the data using different ways. You have here an article which explains you how to do it.
From your application, using Spring, you can use something like this. You need to figure it out for other frameworks.
<!-- Database initializer. If any of the script fails, the initialization stops. -->
<jdbc:initialize-database data-source="dataSource">
<jdbc:script location="${jdbc.initLocation}"/>
<jdbc:script location="${jdbc.dataLocation}"/>
</jdbc:initialize-database>
If you plan to use a MySQL client, then you should take a look at this, which explains it step by step.
Regarding how to deploy and to bind a Tomcat 7 app with your database, you can take a look at this blog post.
You can find info about all the containers we support here.