About 151 results
  1. hadoop - PIG HBASE FAILED ; store CSV

    up vote 0 down vote favorite I'm beginning with the environment Hadoop, HBase, Pig; I would storer a database on a Hbase table; here are my requeste: hbase-> cr
  2. csv - Apache pig group by function is not giving expected output

    up vote 0 down vote favorite 1 I have data in csv format as shown below. The data has the below format "first_name","last_name","company_name","address","city",
  3. apache pig - Pig script grouping not possible

    up vote 0 down vote favorite for a web-server log-file example I have a problem with grouping. Afters splitting the log-file and doing a projection using: grunt
  4. hadoop - apache pig unable to perform grouping and counting

    up vote 0 down vote favorite I am kind of newbie for Pig scripting . Please help me out with this issue. I have no clue as to where I am going wrong. My data (c
  5. hadoop - DEFINE statement in Apache Pig

    up vote 0 down vote favorite I parsed json input --Load Json loadJson = LOAD '$inputJson' USING com.twitter.elephantbird.pig.load.JsonLoader('-nestedLoad=true
  6. hadoop - How do I avoid multiple Map Reduce jobs when using grunt for Pig, while debugging scripts that involve different operations over the same table?

    up vote 0 down vote favorite I'm working in the grunt shell while working on Pig. I have table A with colA. I want to group table A by colA and store this in fi
  7. hadoop - How to replace '$' from string in pig?

    up vote -2 down vote favorite We know to replace word we can use REPLACE keyword like below... RELATION = FOREACH data GENERATE REPLACE(string,'a','b'); above
  8. hadoop - Calculate average between two columns using Pig

    up vote 0 down vote favorite I've a file with three columns representing a date and a min/max temperature value. 01012010 4.5 15.9 I need to calculate, f
  9. hadoop - How to generate tuple in ? operator of pig

    up vote 1 down vote favorite My code is as follows temp = foreach requiredData generate (recordType == 3 ? controllingCalledNum : callingPtyNum)as ServiceNumber
  10. hadoop - Reading compressed (.xz) file in Apache pig

    up vote 1 down vote favorite I am trying to read .xz file compressed using hadoop-xz codec using pig script. The sample code i tried is, REGISTER hadoop-xz-1.4.