-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62063/
-----------------------------------------------------------

(Updated Sept. 4, 2017, 7:05 p.m.)


Review request for lens.


Bugs: LENS-1472
    https://issues.apache.org/jira/browse/LENS-1472


Repository: lens


Description
-------

{noformat}
Error Message: Internal Server Error.: 
MetaException(message:file:/usr/local/lens/client/examples/data/sales_aggr_fact2_local4
 is not a directory or unable to create one)
        at 
org.apache.lens.client.LensMetadataClient.translate(LensMetadataClient.java:73)
        at 
org.apache.lens.client.LensMetadataClient.addPartitionsToFactTable(LensMetadataClient.java:875)
        at 
org.apache.lens.examples.PopulateSampleMetastore.createFactPartitions(PopulateSampleMetastore.java:172)
        at 
org.apache.lens.examples.PopulateSampleMetastore.populateFactTables(PopulateSampleMetastore.java:196)
        at 
org.apache.lens.examples.PopulateSampleMetastore.populateAll(PopulateSampleMetastore.java:84)
        at 
org.apache.lens.examples.PopulateSampleMetastore.main(PopulateSampleMetastore.java:71)
{noformat}


Diffs
-----

  lens-dist/src/main/assembly/bin-dist.xml 
c3f8f17d71e52249af4859b656ec3bed07cf5fc2 
  
lens-examples/src/main/java/org/apache/lens/examples/PopulateSampleMetastore.java
 4fc15a62bcea0e2e87e4b5e47adb3962aa695982 
  lens-examples/src/main/java/org/apache/lens/examples/SampleMetastore.java 
e5a397b6476cea48b5646c8f376940986cb23c81 
  lens-examples/src/main/resources/sales-aggr-fact2-local4.data PRE-CREATION 


Diff: https://reviews.apache.org/r/62063/diff/2/


Testing (updated)
-------

rajat.khandelwal@IM1258-X1 client :) $bin/run-examples.sh
Error: Unknown or unspecified command ''

Usage: bin/run-examples.sh sample-metastore [-db dbname] --conf <confdir>
       bin/run-examples.sh populate-metastore [-db dbname] --conf <confdir>
       bin/run-examples.sh runqueries [-db dbname] --conf <confdir>
rajat.khandelwal@IM1258-X1 client :( $bin/run-examples.sh sample-metastore -db 
blah
Created DB storages
Created sample metastore!
Database:blah
Storages:[cluster1, local, mydb]
Cubes:[sales, cube11, sample_cube, cube22, cube33]
Dimensions:[sample_dim2, city, product, sample_db_dim, interests, sample_dim, 
customer, customer_interests]
Fact tables:[sales_aggr_continuous_fact, fact2, fact1, sales_raw_fact, 
sales_aggr_fact2, sales_aggr_fact1, rawfact]
Dimension tables:[city_table, customer_interests_table, dim_table, dim_table2, 
dim_table4, dim_table3, customer_table, city_subset, product_table, 
interests_table, product_db_table]
Segmentations:[seg1]
rajat.khandelwal@IM1258-X1 client :) $bin/run-examples.sh populate-metastore 
-db blah
Added partition from:dim1-local-part.xml
Added partition from:dim2-local-part.xml
Added partition from:dim4-local-part.xml
Added partitions from:product-local-parts.xml
Added partition from:city-local-part.xml
Added partition from:customer-local-part.xml
Added partition from:customer-interests-local-part.xml
Added partition from:interests-local-part.xml
Added partition from:fact1-local-part1.xml
Added partition from:fact1-local-part2.xml
Added partition from:fact1-local-part3.xml
Added partition from:fact2-local-part1.xml
Added partition from:fact2-local-part2.xml
Added partition from:fact2-local-part3.xml
Added partition from:raw-local-part1.xml
Added partition from:raw-local-part2.xml
Added partition from:raw-local-part3.xml
Added partition from:raw-local-part4.xml
Added partition from:raw-local-part5.xml
Added partition from:raw-local-part6.xml
Added partitions from:sales-raw-local-parts.xml
Added partitions from:sales-aggr-fact1-local-parts.xml
Added partitions from:sales-aggr-fact2-local-parts.xml
Added partitions from:sales-aggr-fact1-mydb-parts.xml
Added partitions from:sales-aggr-fact2-mydb-parts.xml


Thanks,

Rajat Khandelwal

Reply via email to