phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Yates <jesse.k.ya...@gmail.com>
Subject Re: Any possibility to drop SYSTEM.TRACING_STATS table?
Date Thu, 04 Sep 2014 17:26:31 GMT
You can specify your own table via the HBase configuration key
"phoenix.trace.statsTableName" everywhere the sink is used (client and
server). Then the stats table should switch over to using your table and
you can drop at will.

Currently, there is no way to drop the stats table through phoenix as its a
system table (though you could edit the metadata yourself in HBase and
remove those rows).

I just added PHOENIX-1240
<https://issues.apache.org/jira/browse/PHOENIX-1240> to help with not
having too much data in the tracing table by setting a TTL, which I think
is what you really have a concern with?

-------------------
Jesse Yates
@jesse_yates
jyates.github.com


On Thu, Sep 4, 2014 at 1:34 AM, sunfl@certusnet.com.cn <
sunfl@certusnet.com.cn> wrote:

> I know that disable tracing would require to remove phoenix metrics2
> configuration
> and bouncing the region servers. But if I want to recreate the
> SYSTEM.TRACING_STATS table,
> what should I do? Noting that disable table from hbase shell would led
> phoniex table metadata
> into a bad state. Any suggesions?
> Thanks and Best Regards,
> Sun.
>
> ------------------------------
> ------------------------------
>
> CertusNet
>
>
>

Mime
View raw message