Category Archives: Hive

Ruby: create hive job flow and add step with condition.

 

How to add jar file in hive on AWS server?

1. Create file class Add extends UDF

  • Download library : hive-exec-0.11.0

  • Export file demo.jar .

2.   Connect hive server on AWS.

Use WinSCP to connect hive job of AWS and open command line and input “hive”.

Continue reading How to add jar file in hive on AWS server?

Hive tutorial.

Some demo about hive.

  • Load data without partition.

  • Use explode to hash array by delimeter.

  • Set automatic partitioning.

  • Create table with partition.

  • Load data with partition.

Continue reading Hive tutorial.

How to setup Hive on linux ?

1. Download Hive

  • Set variable environment linux

2. Config set hive into  variable environment linux.

  • Edit .bash_profile in folder root