livy-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vanzin <...@git.apache.org>
Subject [GitHub] incubator-livy pull request #117: [LIVY-502] Remove dependency on hive-exec
Date Thu, 29 Nov 2018 00:57:16 GMT
Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/incubator-livy/pull/117#discussion_r237313919
  
    --- Diff: thriftserver/server/src/main/scala/org/apache/livy/thriftserver/LivyCLIService.scala
---
    @@ -22,60 +22,57 @@ import java.util
     import java.util.concurrent.{CancellationException, ExecutionException, TimeoutException,
TimeUnit}
     import javax.security.auth.login.LoginException
     
    -import scala.collection.JavaConverters._
    -
    -import org.apache.hadoop.hive.common.log.ProgressMonitor
    -import org.apache.hadoop.hive.conf.HiveConf
    -import org.apache.hadoop.hive.conf.HiveConf.ConfVars
    -import org.apache.hadoop.hive.ql.parse.ParseUtils
    -import org.apache.hadoop.hive.shims.Utils
    -import org.apache.hadoop.security.UserGroupInformation
    -import org.apache.hive.service.{CompositeService, ServiceException}
    -import org.apache.hive.service.auth.HiveAuthFactory
    -import org.apache.hive.service.cli._
    -import org.apache.hive.service.cli.operation.Operation
    +import org.apache.hadoop.security.{SecurityUtil, UserGroupInformation}
    +import org.apache.hive.service.ServiceException
    +import org.apache.hive.service.cli.{FetchOrientation, FetchType, GetInfoType, GetInfoValue,
HiveSQLException, OperationHandle, SessionHandle}
    --- End diff --
    
    Just use a wildcard for long import lists...


---

Mime
View raw message