zoukankan      html  css  js  c++  java
  • 使得hivecli访问hive

    [root@node1 ~]# sudo -u hdfs hdfs dfs -ls /
    Found 3 items
    drwxr-xr-x - hbase hbase 0 2020-03-01 13:27 /hbase
    drwxrwxrwt - hdfs supergroup 0 2020-02-29 19:18 /tmp
    drwxr-xr-x - hdfs supergroup 0 2020-02-29 19:17 /user

    #  sudo -u hdfs hdfs dfs -ls /user/hive/warehouse/stu

    # sudo -u hdfs hive
    WARNING: Use "yarn jar" to launch YARN applications.
    SLF4J: Class path contains multiple SLF4J bindings.
    SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-6.2.0-1.cdh6.2.0.p0.967373/jars/log4j-slf4j-impl-2.8.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-6.2.0-1.cdh6.2.0.p0.967373/jars/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
    SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]

    Logging initialized using configuration in jar:file:/opt/cloudera/parcels/CDH-6.2.0-1.cdh6.2.0.p0.967373/jars/hive-common-2.1.1-cdh6.2.0.jar!/hive-log4j2.properties Async: false

    WARNING: Hive CLI is deprecated and migration to Beeline is recommended.

  • 相关阅读:
    事件冒泡
    Tomcat 不能正常启动
    mybatis(非常详细的哦~~~~)
    javadoc 工具生成开发API文档
    Java 泛型
    Tomcat 服务器详解
    J2EE 工作中注意事项
    Java 枚举
    Break,Continue,Return
    位运算符
  • 原文地址:https://www.cnblogs.com/zsfishman/p/12416329.html
Copyright © 2011-2022 走看看