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.

  • 相关阅读:
    JSON就是名值对 name/value pair
    AjaxXMLHttpRequest
    英语单词分类记
    委托和事件的理解
    用float设置主页的左右两边菜单
    OCS通讯路径
    测试用Word写Blog
    第一课 C#入门
    nginx虚拟目录设置 alias 和 root
    vsftp 出错,无法创建文件的解决方法
  • 原文地址:https://www.cnblogs.com/zsfishman/p/12416329.html
Copyright © 2011-2022 走看看