You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lens.apache.org by Srinivasan Hariharan02 <Sr...@infosys.com> on 2015/05/28 13:59:34 UTC
Apache Lens usage with different sources
HI All,
We are trying to use apache lens for OLAP cubes on top of dimension's present in the hive table ,HDFS file and oracle tables. We have went through the examples provided in the apache lens page as well as inmobi blog Lens Demystified<http://technology.inmobi.com/blog/apache-lens-demystified>. We couldn't find the exact syntaxes/examples of creating cubes and dimension with different data sources. Could anyone point us to the tutorial or help documentation.
Example Schema:
Product Transaction(Hive Table)
TranId
ProductId
customerId
Qty
price
TransTimeStamp
Customer(HDFS file)
CustomerId
FirstName
MiddleName
LastName
DateOfBirth
Gender
Product(Oracle Table)
ProdId
ProdName
ProdDesc
ProdCategoryId
Regards,
Srinivasan Hariharan
Mob +91-9940395830
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Re: Apache Lens usage with different sources
Posted by Sharad Agarwal <sh...@apache.org>.
You can find the command line shell document here:
http://lens.incubator.apache.org/user/cli.html#OLAP_Data_cube_metadata_management
Here you can find the sample cube definitions
https://github.com/apache/incubator-lens/tree/master/lens-examples/src/main/resources
On Thu, May 28, 2015 at 5:29 PM, Srinivasan Hariharan02 <
Srinivasan_H02@infosys.com> wrote:
> HI All,
>
>
>
> We are trying to use apache lens for OLAP cubes on top of dimension’s
> present in the hive table ,HDFS file and oracle tables. We have went
> through the examples provided in the apache lens page as well as inmobi
> blog Lens Demystified
> <http://technology.inmobi.com/blog/apache-lens-demystified>. We couldn’t
> find the exact syntaxes/examples of creating cubes and dimension with
> different data sources. Could anyone point us to the tutorial or help
> documentation.
>
>
>
> Example Schema:
>
>
>
> *Product Transaction(Hive Table)*
>
> TranId
>
> ProductId
>
> customerId
>
> Qty
>
> price
>
> TransTimeStamp
>
>
>
> *Customer(HDFS file)*
>
> CustomerId
>
> FirstName
>
> MiddleName
>
> LastName
>
> DateOfBirth
>
> Gender
>
>
>
> *Product(Oracle Table)*
>
> ProdId
>
> ProdName
>
> ProdDesc
>
> ProdCategoryId
>
>
>
> *Regards,*
>
> *Srinivasan Hariharan*
>
> *Mob +91-9940395830*
>
>
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
> for the use of the addressee(s). If you are not the intended recipient, please
> notify the sender by e-mail and delete the original message. Further, you are not
> to copy, disclose, or distribute this e-mail or its contents to any other person and
> any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
> every reasonable precaution to minimize this risk, but is not liable for any damage
> you may sustain as a result of any virus in this e-mail. You should carry out your
> own virus checks before opening the e-mail or attachment. Infosys reserves the
> right to monitor and review the content of all messages sent to or from this e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>
>