Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2522#discussion_r203954234
  
    --- Diff: 
zeppelin/src/main/java/org/apache/carbondata/zeppelin/CarbonInterpreter.java ---
    @@ -0,0 +1,184 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one or more
    + * contributor license agreements.  See the NOTICE file distributed with
    + * this work for additional information regarding copyright ownership.
    + * The ASF licenses this file to You under the Apache License, Version 2.0
    + * (the "License"); you may not use this file except in compliance with
    + * the License.  You may obtain a copy of the License at
    + *
    + *    http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +
    +package org.apache.carbondata.zeppelin;
    +
    +import java.io.IOException;
    +import java.io.InputStream;
    +import java.util.Arrays;
    +import java.util.Objects;
    +import java.util.Optional;
    +import java.util.Properties;
    +import java.util.function.BiFunction;
    +import java.util.function.Function;
    +import java.util.stream.Collectors;
    +
    +import org.apache.carbondata.zeppelin.response.CarbonResponse;
    +
    +import org.apache.commons.lang.StringUtils;
    +import org.apache.http.HttpResponse;
    +import org.apache.http.client.HttpClient;
    +import org.apache.http.client.methods.HttpPost;
    +import org.apache.http.entity.StringEntity;
    +import org.apache.http.impl.client.HttpClientBuilder;
    +import org.apache.zeppelin.interpreter.Interpreter;
    +import org.apache.zeppelin.interpreter.InterpreterContext;
    +import org.apache.zeppelin.interpreter.InterpreterException;
    +import org.apache.zeppelin.interpreter.InterpreterResult;
    +
    +import org.slf4j.Logger;
    +import org.slf4j.LoggerFactory;
    +
    +/**
    + * Carbon based interpreter for zeppelin
    + */
    +public class CarbonInterpreter extends Interpreter {
    +
    +  public static final Logger logger = 
LoggerFactory.getLogger(CarbonInterpreter.class);
    --- End diff --
    
    Please use Carbon's LogService 


---

Reply via email to