毕业论文开发语言企业开发JAVA技术.NET技术WEB开发Linux/Unix数据库技术Windows平台移动平台嵌入式论文范文英语论文
您现在的位置: 毕业论文 >> 数据库 >> 正文

hive --service hiveserver之后一直显示starting hive thrift server

更新时间:2014-11-20:  来源:毕业论文
sp; hive.server2.transport.mode – 默认值为binary(TCP),可选值HTTP。 
    hive.server2.thrift.http.port– HTTP的监听端口,默认值为10001。 

    hive.server2.thrift.http.path – 服务的端点名称,默认为 cliservice。 
    hive.server2.thrift.http.min.worker.threads– 服务池中的最小工作线程,默认为5。 
    hive.server2.thrift.http.max.worker.threads– 服务池中的最小工作线程,默认为500。 

      启动Hiveserver2有两种方式,一种是上面已经介绍过的hive --service hiveserver2,另一种更为简洁,为hiveserver2。使用hive--service hiveserver2 –H或hive--service hiveserver2 –help查看帮助信息:

    Starting HiveServer2 
    Unrecognizedoption: -h 
    usage:hiveserver2 
     -H,--help                        Print help information 
        --hiveconf <property=value>   Use value for given property 

      默认情况下,HiveServer2以提交查询的用户执行查询(true),如果hive.server2.enable.doAs设置为false,查询将以运行hiveserver2进程的用户运行。为了防止非加密模式下的内存泄露,可以通过设置下面的参数为true禁用文件系统的缓存:

     
    fs.hdfs.impl.disable.cache – 禁用HDFS文件系统缓存,默认值为false。 
    fs.file.impl.disable.cache – 禁用本地文件系统缓存,默认值为false。 

上一页  [1] [2] 

设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©youerw.com 优尔论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。