Hive配置項(xiàng)的含義詳解(7)
hive配置的最終章
fs.har.impl:訪問(wèn)Hadoop Archives的實(shí)現(xiàn)類(lèi),低于hadoop 0.20版本的都不兼容,默認(rèn)是org.apache.hadoop.hive.shims.HiveHarFileSystem;
hive.archive.enabled:是否允許歸檔操作,默認(rèn)是false;
hive.archive.har.parentdir.settable:在創(chuàng)建HAR文件時(shí)必須要有父目錄,需要手動(dòng)設(shè)置,在新的hadoop版本會(huì)支持,默認(rèn)是false;
hive.support.concurrency:hive是否支持并發(fā),默認(rèn)是false,支持讀寫(xiě)鎖的話(huà),必須要起zookeeper;
hive.lock.mapred.only.operation:控制是否在查詢(xún)時(shí)加鎖,默認(rèn)是false;
hive.lock.numretries:獲取鎖時(shí)嘗試的重試次數(shù),默認(rèn)是100;
hive.lock.sleep.between.retries:在重試間隔的睡眠時(shí)間,默認(rèn)60秒;
hive.zookeeper.quorum:zk地址列表,默認(rèn)是空;
hive.zookeeper.client.port:zk服務(wù)器的連接端口,默認(rèn)是2181;
hive.zookeeper.session.timeout:zk客戶(hù)端的session超時(shí)時(shí)間,默認(rèn)是600000;
hive.zookeeper.namespace:在所有zk節(jié)點(diǎn)創(chuàng)建后的父節(jié)點(diǎn),默認(rèn)是hive_zookeeper_namespace;
hive.zookeeper.clean.extra.nodes:在session結(jié)束時(shí)清除所有額外node;
hive.cluster.delegation.token.store.class:代理token的存儲(chǔ)實(shí)現(xiàn)類(lèi),默認(rèn)是org.apache.hadoop.hive.thrift.MemoryTokenStore,可以設(shè)置為org.apache.hadoop.hive.thrift.ZooKeeperTokenStore來(lái)做負(fù)載均衡集群;
hive.cluster.delegation.token.store.zookeeper.connectString:zk的token存儲(chǔ)連接串,默認(rèn)是localhost:2181;
hive.cluster.delegation.token.store.zookeeper.znode:token存儲(chǔ)的節(jié)點(diǎn)跟路徑,默認(rèn)是/hive/cluster/delegation;
hive.cluster.delegation.token.store.zookeeper.acl:token存儲(chǔ)的ACL,默認(rèn)是sasl:hive/host1@example.com:cdrwa,sasl:hive/host2@example.com:cdrwa;
hive.use.input.primary.region:從一張input表創(chuàng)建表時(shí),創(chuàng)建這個(gè)表到input表的主region,默認(rèn)是true;
hive.default.region.name:默認(rèn)region的名字,默認(rèn)是default;
hive.region.properties:region的默認(rèn)的文件系統(tǒng)和jobtracker,默認(rèn)是空;
hive.cli.print.header:查詢(xún)輸出時(shí)是否打印名字和列,默認(rèn)是false;
hive.cli.print.current.db:hive的提示里是否包含當(dāng)前的db,默認(rèn)是false;
hive.hbase.wal.enabled:寫(xiě)入hbase時(shí)是否強(qiáng)制寫(xiě)wal日志,默認(rèn)是true;
hive.hwi.war.file:hive在web接口是的war文件的路徑,默認(rèn)是lib/hive-hwi-xxxx(version).war;
hive.hwi.listen.host:hwi監(jiān)聽(tīng)的host地址,默認(rèn)是0.0.0.0;
hive.hwi.listen.port:hwi監(jiān)聽(tīng)的端口,默認(rèn)是9999;
hive.test.mode:hive是否運(yùn)行在測(cè)試模式,默認(rèn)是false;
hive.test.mode.prefix:在測(cè)試模式運(yùn)行時(shí),表的前綴字符串,默認(rèn)是test_;
hive.test.mode.samplefreq:如果hive在測(cè)試模式運(yùn)行,并且表未分桶,抽樣頻率是多少,默認(rèn)是32;
hive.test.mode.nosamplelist:在測(cè)試模式運(yùn)行時(shí)不進(jìn)行抽樣的表列表,默認(rèn)是空;
posted on 2013-11-13 14:41 changedi 閱讀(7527) 評(píng)論(0) 編輯 收藏 所屬分類(lèi): 數(shù)據(jù)