I see; currently, there is no support for this. But it should be easy. Just look at `bin/metastore.sh`, you can extend the function there: e.g, add the project as an optional parameter (when specified, only export that project's metadata). After the cube be imported in new environment, you can call the API to purge it (clear segments), and then rebuild it from source.
2017-10-23 19:02 GMT+08:00 Roberto Tardío <[email protected]>: > Hi ShaoFeng Shi, > > Sorry, I forgot to give more details. I would kike to export a Project > metadata including the following: > > - Data sources (Hive Tables) > - Data Model definition > - Cube definition > > That is to say, I need the metadata necesary to build the same cube from a > similar data source in a new cluster and HBase storage. However I do not > need data about HBase table. E.g. I add a new dimension on Pre Production > cube and I would like to update this cube definition on Production > environment. > > Best Regards, > > El 23/10/2017 a las 9:52, ShaoFeng Shi escribió: > > Hi Roberto, > > What kind of metadata are you going to export from pre-production to > production? Is it a single cube or whole metadata set? Need more about your > scenario to understand the requirement. > > 2017-10-22 0:53 GMT+08:00 Roberto Tardío <[email protected]>: > >> Hi, >> >> I have to two Kylin servers, one for Pre-Production and another one for >> Production. What is the best way to export project metadata between the >> two? I could think if use metatada backup tools the metadata will be >> related to Hbase tables in Pre-Production. >> >> Is metadata backup the best way or what do you recomend to copy metadata >> between pre and production servers? >> >> Thanks in advance, >> >> Roberto >> -- >> >> *Roberto Tardío Olmos* >> *Senior Big Data & Business Intelligence Consultant* >> Avenida de Brasil, 17 >> <https://maps.google.com/?q=Avenida+de+Brasil,+17&entry=gmail&source=g>, >> Planta 16.28020 Madrid >> Fijo: 91.788.34.10 >> > > > > -- > Best regards, > > Shaofeng Shi 史少锋 > > > -- > > *Roberto Tardío Olmos* > *Senior Big Data & Business Intelligence Consultant* > Avenida de Brasil, 17 > <https://maps.google.com/?q=Avenida+de+Brasil,+17&entry=gmail&source=g>, > Planta 16.28020 Madrid > Fijo: 91.788.34.10 > -- Best regards, Shaofeng Shi 史少锋
