hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mapred Learn <mapred.le...@gmail.com>
Subject Re: Map Red SequenceFi​le output to Hive table
Date Thu, 26 Jan 2012 23:49:13 GMT
Can u share your create table command ?

Sent from my iPhone

On Jan 26, 2012, at 2:21 PM, rk vishu <talk2hadoop@gmail.com> wrote:

> I did specify the first column in the table creation.
> 
> On Thu, Jan 26, 2012 at 2:15 PM, Mapred Learn <mapred.learn@gmail.com>wrote:
> 
>> In your external table creation, do you specify the first column ?
>> 
>> Sent from my iPhone
>> 
>> On Jan 26, 2012, at 2:09 PM, rk vishu <talk2hadoop@gmail.com> wrote:
>> 
>>> Hello All,
>>> 
>>> I have a mapred job that does transfermation and outputs to a compresses
>>> SequenceFile (by using org.apache.hadoop.mapred.SequenceFileOutputFormat)
>>> 
>>> I am able to attach the output to a external hive table (stored as
>>> sequncefile). When i query it ignores the first column value from the
>> file.
>>> Is there a way to generate the MAP Red out put as expected by HIVE?
>>> 
>>> Any tips on this are highly appriciated.
>>> 
>>> 
>>> -R
>> 

Mime
View raw message