Skip to content

Instantly share code, notes, and snippets.

View pchalasani's full-sized avatar

Prasad Chalasani pchalasani

View GitHub Profile
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.yahoo.floura</groupId>
<artifactId>floura</artifactId>
<version>2.0.0</version>
<packaging>jar</packaging>
<name>floura</name>
<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.yahoo.floura</groupId>
<artifactId>floura</artifactId>
<version>2.0.0</version>
<packaging>jar</packaging>
<name>floura</name>
<properties>
<maven.compiler.source>1.7</maven.compiler.source>
@pchalasani
pchalasani / gist:58f008dc32205701f5d3
Created May 13, 2015 13:59
spark-sql hive read time out
This file has been truncated, but you can view the full file.
Logged in as: prasadch
Logs for container_1428474791204_251895_01_000001
ResourceManager
RM Home
NodeManager
Tools
@pchalasani
pchalasani / HyperLogLog
Created December 19, 2012 16:17
Cascalog Example
;; Create a map without quoting: (an interesting defmacro exercise!)
;; (qmap city nyc population 14000000)
;; => {"city" "nyc", "population" "14000000"}
;; (some special chars still need to be quoted though!)
(defmacro qmap [& args]
`(apply hash-map (map name (map str '~args))))
;; conf settings: