[ 
https://issues.apache.org/jira/browse/PHOENIX-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14103160#comment-14103160
 ] 

James Taylor commented on PHOENIX-1187:
---------------------------------------

Thanks, [~jesse_yates]. +1. One small addition request (the one I mentioned 
before to turn tracing off for tracing upserts). Can you create a new 
properties and set the tracing to NEVER here:

{code}
+    private void lazyInitialize() {
+        synchronized (this) {
+            if (this.conn != null) {
+                return;
+            }
+            try {
+                // create the phoenix connection
+                Configuration conf = HBaseConfiguration.create();
Properties props = new Properties();
props.setProperty(QueryServices.TRACING_FREQ_ATTRIB, 
Tracing.Frequency.NEVER.getKey());
+                Connection conn = QueryUtil.getConnection(conf, props);
+                // enable bulk loading when we have enough data
+                conn.setAutoCommit(true);
{code}


> Enable tracing on server
> ------------------------
>
>                 Key: PHOENIX-1187
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1187
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 5.0.0, 4.1
>            Reporter: Jesse Yates
>            Assignee: Jesse Yates
>             Fix For: 5.0.0, 4.1
>
>         Attachments: phoenix-1187-4.0-v0.patch
>
>
> Request tracing isn't being enabled on the RegionServers.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to