Skip to content

Instantly share code, notes, and snippets.

@arjones
Created January 24, 2014 21:07
Show Gist options
  • Save arjones/8606453 to your computer and use it in GitHub Desktop.
Save arjones/8606453 to your computer and use it in GitHub Desktop.
.hiverc file
-- Load JSON Serde
add jar /home/haddop/lib/hive-serdes-1.1-SNAPSHOT.jar;
-- Print column names when stdout
set hive.cli.print.header=true;
-- Print current db at prompt hive (etl)>
set hive.cli.print.current.db=true;
-- Allow Hive to swith to Local Mode (without hadoop)
set hive.exec.mode.local.auto=true;
set hive.auto.convert.join=true;
set hive.mapjoin.smalltable.filesize=30000000;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment