Hi Manoj,

You can use the metadata tool to drop the broken cube.

1) take a backup: bin/metastore.sh backup
2) drop the cube directly:
bin/metastore.sh remove /cube/<cube_name>.json
bin/metastore.sh remove /cube_desc/<cube_name>.json

An alternative way is, after backup the metadata to local, you can directly
modify the metadata, the reset the remote meta and restore from local. The
steps are described in the document:
https://kylin.apache.org/docs23/howto/howto_backup_metadata.html


2018-04-16 18:21 GMT+08:00 Kumar, Manoj H <[email protected]>:

> Pls. advise how can I forcefully drop the Cube of status “DescBroken”.
> Somehow Cube build in other project impacting this. Pls. advise.
>
>
>
>
>
>
>
> java.lang.IllegalArgumentException: The value of property
> statistics.enabled must not be null
>
>         at com.google.common.base.Preconditions.checkArgument(
> Preconditions.java:92)
>
>         at org.apache.hadoop.conf.Configuration.set(
> Configuration.java:1135)
>
>         at org.apache.hadoop.conf.Configuration.set(
> Configuration.java:1116)
>
>         at org.apache.kylin.engine.mr.steps.FactDistinctColumnsJob.
> run(FactDistinctColumnsJob.java:102)
>
>         at org.apache.kylin.engine.mr.MRUtil.runMRJob(MRUtil.java:92)
>
>         at org.apache.kylin.engine.mr.common.MapReduceExecutable.
> doWork(MapReduceExecutable.java:122)
>
>         at org.apache.kylin.job.execution.AbstractExecutable.
> execute(AbstractExecutable.java:125)
>
>         at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(
> DefaultChainedExecutable.java:65)
>
>         at org.apache.kylin.job.execution.AbstractExecutable.
> execute(AbstractExecutable.java:125)
>
>         at org.apache.kylin.job.impl.threadpool.DefaultScheduler$
> JobRunner.run(DefaultScheduler.java:141)
>
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1145)
>
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:615)
>
>         at java.lang.Thread.run(Thread.java:745)
>
>
>
> result code:2
>
>
>
> Regards,
>
> Manoj
>
>
>
>
>
>
>
> This message is confidential and subject to terms at: http://
> www.jpmorgan.com/emaildisclaimer including on confidentiality, legal
> privilege, viruses and monitoring of electronic messages. If you are not
> the intended recipient, please delete this message and notify the sender
> immediately. Any unauthorized use is strictly prohibited.
>



-- 
Best regards,

Shaofeng Shi 史少锋

Reply via email to