hive查看当前环境配置命令
set -v 可得到所有环境变量。如果没有-v参数,只显示与hadoop不同的配置。
hive> set -v;
silent=offfs.s3n.impl=org.apache.hadoop.fs.s3native.NativeS3FileSystemdatanucleus.validateColumns=falsemapred.task.cache.levels=2hadoop.tmp.dir=/home/hexianghui/datahadoophadoop.native.lib=truemap.sort.class=org.apache.hadoop.util.QuickSortipc.client.idlethreshold=4000mapred.system.dir=${hadoop.tmp.dir}/mapred/systemhive.script.serde=org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDemapred.job.tracker.persist.jobstatus.hours=0io.skip.checksum.errors=falsefs.default.name=hdfs://192.168.0.4:9000mapred.child.tmp=./tmpdatanucleus.cache.level2=falsemapred.skip.reduce.max.skip.groups=0mapred.jobtracker.instrumentation=org.apache.hadoop.mapred.JobTrackerMetricsInstmapred.tasktracker.dns.nameserver=defaultio.sort.factor=10hive.metastore.rawstore.impl=org.apache.hadoop.hive.metastore.ObjectStorehive.metastore.local=truemapred.task.timeout=600000mapred.max.tracker.failures=4hadoop.rpc.socket.factory.class.default=org.apache.hadoop.net.StandardSocketFactoryfs.hdfs.impl=org.apache.hadoop.hdfs.DistributedFileSystemmapred.queue.default.acl-administer-jobs=*mapred.queue.default.acl-submit-job=*mapred.skip.map.auto.incr.proc.count=trueio.mapfile.bloom.size=1048576tasktracker.http.threads=40mapred.job.shuffle.merge.percent=0.66fs.ftp.impl=org.apache.hadoop.fs.ftp.FTPFileSystemio.bytes.per.checksum=512mapred.output.compress=falsehive.test.mode.prefix=test_hive.test.mode=falsehive.exec.compress.intermediate=falsetopology.node.switch.mapping.impl=org.apache.hadoop.net.ScriptBasedMappingdatanucleus.cache.level2.type=SOFTmapred.reduce.slowstart.completed.maps=0.05mapred.reduce.max.attempts=4fs.ramfs.impl=org.apache.hadoop.fs.InMemoryFileSystemjavax.jdo.option.ConnectionUserName=APPmapred.skip.map.max.skip.records=0hive.merge.mapfiles=truehive.merge.size.smallfiles.avgsize=16000000hive.test.mode.samplefreq=32hive.optimize.skewjoin=falsemapred.job.tracker.persist.jobstatus.dir=/jobtracker/jobsInfofs.s3.buffer.dir=${hadoop.tmp.dir}/s3hive.map.aggr.hash.min.reduction=0.5job.end.retry.attempts=0fs.file.impl=org.apache.hadoop.fs.LocalFileSystemmapred.local.dir.minspacestart=0hive.exec.compress.output=falsemapred.output.compression.type=RECORDhive.script.recordreader=org.apache.hadoop.hive.ql.exec.TextRecordReadertopology.script.number.args=100io.mapfile.bloom.error.rate=0.005hive.exec.parallel.thread.number=8mapred.max.tracker.blacklists=4mapred.task.profile.maps=0-2mapred.userlog.retain.hours=24datanucleus.storeManagerType=rdbmsmapred.job.tracker.persist.jobstatus.active=falsehive.script.operator.id.env.var=HIVE_SCRIPT_OPERATOR_IDhadoop.security.authorization=falselocal.cache.size=10737418240mapred.min.split.size=0mapred.map.tasks=2mapred.child.java.opts=-Xmx200mhive.skewjoin.mapjoin.min.split=33554432hive.metastore.warehouse.dir=/user/hive/warehousemapred.job.queue.name=defaulthive.mapjoin.bucket.cache.size=100datanucleus.transactionIsolation=read-committedipc.server.listen.queue.size=128mapred.inmem.merge.threshold=1000job.end.retry.interval=30000mapred.skip.attempts.to.start.skipping=2fs.checkpoint.dir=${hadoop.tmp.dir}/dfs/namesecondarymapred.reduce.tasks=-1mapred.merge.recordsBeforeProgress=10000mapred.userlog.limit.kb=0hive.skewjoin.key=100000javax.jdo.option.ConnectionDriverName=org.apache.derby.jdbc.EmbeddedDriverwebinterface.private.actions=falsemapred.job.shuffle.input.buffer.percent=0.70io.sort.spill.percent=0.80hive.udtf.auto.progress=falsehive.session.id=hexianghui_201002232043mapred.map.tasks.speculative.execution=truehadoop.util.hash.type=murmurhive.exec.script.maxerrsize=100000hive.optimize.groupby=truemapred.map.max.attempts=4hive.default.fileformat=TextFilehive.exec.scratchdir=/tmp/hive-${user.name}mapred.job.tracker.handler.count=10hive.script.recordwriter=org.apache.hadoop.hive.ql.exec.TextRecordWriterhive.join.emit.interval=1000datanucleus.validateConstraints=falsemapred.tasktracker.expiry.interval=600000mapred.jobtracker.maxtasks.per.job=-1mapred.jobtracker.job.history.block.size=3145728keep.failed.task.files=falseipc.client.tcpnodelay=falsemapred.task.profile.reduces=0-2mapred.output.compression.codec=org.apache.hadoop.io.compress.DefaultCodecio.map.index.skip=0ipc.server.tcpnodelay=falsehive.join.cache.size=25000datanucleus.autoStartMechanismMode=checkedhive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormathadoop.logfile.size=10000000mapred.reduce.tasks.speculative.execution=truehive.skewjoin.mapjoin.map.tasks=10000hive.hwi.listen.port=9999fs.checkpoint.period=3600mapred.job.reuse.jvm.num.tasks=1mapred.jobtracker.completeuserjobs.maximum=100hive.groupby.mapaggr.checkinterval=100000fs.s3.maxRetries=4javax.jdo.option.ConnectionURL=jdbc:derby:;databaseName=metastore_db;create=truehive.mapred.mode=nonstricthive.groupby.skewindata=falsehive.exec.parallel=falsemapred.local.dir=${hadoop.tmp.dir}/mapred/localfs.hftp.impl=org.apache.hadoop.hdfs.HftpFileSystemfs.s3.sleepTimeSeconds=10fs.trash.interval=0mapred.submit.replication=10hive.merge.size.per.task=256000000fs.har.impl=org.apache.hadoop.fs.HarFileSystemmapred.map.output.compression.codec=org.apache.hadoop.io.compress.DefaultCodechive.exec.reducers.max=999mapred.tasktracker.dns.interface=defaultmapred.job.tracker=192.168.0.4:9001io.seqfile.sorter.recordlimit=1000000hive.optimize.ppd=truemapred.line.input.format.linespermap=1mapred.jobtracker.taskScheduler=org.apache.hadoop.mapred.JobQueueTaskSchedulermapred.tasktracker.instrumentation=org.apache.hadoop.mapred.TaskTrackerMetricsInsthive.mapjoin.cache.numrows=25000hive.merge.mapredfiles=falsehive.metastore.connect.retries=5hive.fileformat.check=truemapred.tasktracker.procfsbasedprocesstree.sleeptime-before-sigkill=5000javax.jdo.option.DetachAllOnCommit=truemapred.local.dir.minspacekill=0hive.optimize.pruner=truejavax.jdo.option.ConnectionPassword=minehive.hwi.listen.host=0.0.0.0io.sort.record.percent=0.05hive.map.aggr.hash.percentmemory=0.5fs.kfs.impl=org.apache.hadoop.fs.kfs.KosmosFileSystemmapred.temp.dir=${hadoop.tmp.dir}/mapred/tempmapred.tasktracker.reduce.tasks.maximum=2javax.jdo.PersistenceManagerFactoryClass=org.datanucleus.jdo.JDOPersistenceManagerFactoryhive.mapred.local.mem=0fs.checkpoint.edits.dir=${fs.checkpoint.dir}mapred.job.reduce.input.buffer.percent=0.0datanucleus.validateTables=falsemapred.tasktracker.indexcache.mb=10hadoop.logfile.count=10mapred.skip.reduce.auto.incr.proc.count=truehive.script.auto.progress=falseio.seqfile.compress.blocksize=1000000fs.s3.block.size=67108864mapred.tasktracker.taskmemorymanager.monitoring-interval=5000datanucleus.autoCreateSchema=truemapred.acls.enabled=falsemapred.queue.names=defaultfs.hsftp.impl=org.apache.hadoop.hdfs.HsftpFileSystemhive.map.aggr=truehive.enforce.bucketing=falsemapred.task.tracker.http.address=0.0.0.0:50060mapred.reduce.parallel.copies=5io.seqfile.lazydecompress=truehive.exec.script.allow.partial.consumption=falseio.sort.mb=100ipc.client.connection.maxidletime=10000mapred.task.tracker.report.address=127.0.0.1:0mapred.compress.map.output=falsehive.mapred.reduce.tasks.speculative.execution=trueipc.client.kill.max=10ipc.client.connect.max.retries=10hive.heartbeat.interval=1000fs.s3.impl=org.apache.hadoop.fs.s3.S3FileSystemhive.mapjoin.maxsize=100000mapred.job.tracker.http.address=0.0.0.0:50030io.file.buffer.size=4096mapred.jobtracker.restart.recover=falseio.serializations=org.apache.hadoop.io.serializer.WritableSerializationhive.optimize.cp=truejavax.jdo.option.NonTransactionalRead=truehive.exec.reducers.bytes.per.reducer=1000000000mapred.reduce.copy.backoff=300mapred.task.profile=falsejobclient.output.filter=FAILEDmapred.tasktracker.map.tasks.maximum=2io.compression.codecs=org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.BZip2Codecfs.checkpoint.size=67108864