Skip to content

Instantly share code, notes, and snippets.

View Condla's full-sized avatar
🎯
Focusing

Stefan List Condla

🎯
Focusing
View GitHub Profile
@Condla
Condla / hadoop-workshop-nodes.md
Last active December 12, 2017 07:02
List the nodes of all Participants

Nodes

1

hdp-utility 1 52.215.53.220

hdp-worker 1 34.242.81.246

hdp-worker 1

Keybase proof

I hereby claim:

  • I am condla on github.
  • I am condla (https://keybase.io/condla) on keybase.
  • I have a public key ASBd4hdolDFQWih1NIKLAX4JuTy5Xv9YYgSuMkdQjuqqXQo

To claim this, I am signing this object:

@Condla
Condla / 00_Pig_Examples.md
Last active March 30, 2018 11:11
An Apache Pig script that shows how to read data from Apache HBase, sort it by some value and store it as CSV.

Pig Examples

You can run the pig examples below with the following commands. Note: You need to have Pig, Tez, HDFS, YARN setup, HBase and Hive tables must exist with the name used in the scripts.

hive_to_hbase.pig

Run:

pig -Dtez.queue.name=myQueue -x tez -useHCatalog -param "my_datetime=2018-03-30_13:05:21" -f hive_to_hbase.pig