Skip to content

r7raul1984/transform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

CREATE EXTERNAL TABLE tandem.hbaselogparsed(

host string,

action string,

scope string,

request string,

status string,

user string,

timestamp string,

client string

)

STORED AS TEXTFILE

LOCATION '/data/camus/topics/xxxxx';

add jar /xxx/xx/xxx/transform.jar;

insert overwrite table tandem.hbaselogparsed SELECT TRANSFORM(log) USING "java -cp transform.jar com.yhd.LogMapper" AS host,action,scope,request,status,user,timestamp,client from tandem.hbase_log;

Releases

No releases published

Packages

No packages published

Languages