• hive-0.10.0-cdh4.3.0安装


    1.我使用的Hadoop2.0-cdh4.3.0,相应hive配套版本号hive-0.10.0-cdh4.3.0。
      
    2.改动hive/conf下hive-site.xml文件,无则创建hive-site.xml,在底部加入�例如以下内容: 
    [html] view plaincopy在CODE上查看代码片派生到我的代码片
    1. <?xml version="1.0" encoding="UTF-8"?>  
    2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>  
    3. <configuration>  
    4. <property>     
    5.   <name>hive.querylog.location</name>     
    6.   <value>/hadoop/hive/logs</value>     
    7. </property>     
    8.     
    9. <property>    
    10.   <name>hive.aux.jars.path</name>     
    11.   <value>file:///usr/hadoop/hive-0.10.0-cdh4.3.0/lib/hive-hbase-handler-0.10.0-cdh4.3.0.jar,file:///usr/hadoop/hive-0.10.0-cdh4.3.0/lib/hbase-0.94.6-cdh4.3.0.jar,file:///usr/hadoop/hive-0.10.0-cdh4.3.0/lib/zookeeper-3.4.3-cdh4.3.0.jar</value>  
    12. </property>    
    13.   
    14. </configuration>  

    3.启动hive集群正常情况结果例如以下:

    [html] view plaincopy在CODE上查看代码片派生到我的代码片
    1. [root@master bin]# hive -hiveconf hbase.zookeeper.quorum=slave1  
    2. Logging initialized using configuration in jar:file:/usr/hadoop/hive-0.10.0-cdh4.3.0/lib/hive-common-0.10.0-cdh4.3.0.jar!/hive-log4j.properties  
    3. Hive history file=/hadoop/hive/logs/hive_job_log_5cb84500-a21f-43c8-adb7-05ed6031ad25_1332797293.txt  
    4. hive>   
  • 相关阅读:
    百度百科目录导航树小插件
    Docker for windows部署mysql挂载数据卷
    ASP.NET CORE 2.0 不小心踩得坑
    获取MVC中Controller下的Action参数异常
    DataTableToList
    svn禁止提交的文件
    plush
    解决端口号被占用的问题
    vue-router
    vue-layer
  • 原文地址:https://www.cnblogs.com/hrhguanli/p/3800707.html
Copyright © 2020-2023  润新知